You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The app runs fine locally but times out in Lambda. It is setup in a private subnet and can access the database as I was able to successfully run migrations through manage command on Zappa. I am even able to create a superuser through Zappa cli.
Expected Behavior
When trying to access the admin page ...amazonaws.com/staging/admin it should load the admin page. If I try to access ...amazonaws.com/staging/ it successfully loads then debug page because of invalid url path.
Actual Behavior
When trying to access the admin page ...amazonaws.com/staging/admin it throws {"message": "Endpoint request timed out"}
Possible Fix
Remove all local apps from INSTALLED_APPS change database connection on RDS to Postgres only and remove Django GIS functionality. Remove GIS related library path in settings.py (GEOS and GDAL).
These attempts to fix didn't work.
Next things: TRIM EVERYTHING (REDIS, CELERY, ETC). If this fails then try with a new project to see if there is an issue with DB Connection or VPC or Security Groups. Any sample projects I can try to deploy in my VPC?
Steps to Reproduce
Sorry unable to provide right now. Will try to start a new project and see if I face the same issue.
Your Environment
Zappa version used: 0.45.1
Operating System and Python version: OSX 10.13.2Python 3.6.1
Related to Django Storages, it seems it couldn't access S3. Must be something to do with VPC or Security Group that needs access to the S3 bucket to list static objects.
Context
The app runs fine locally but times out in Lambda. It is setup in a private subnet and can access the database as I was able to successfully run migrations through manage command on Zappa. I am even able to create a superuser through Zappa cli.
Expected Behavior
When trying to access the admin page
...amazonaws.com/staging/admin
it should load the admin page. If I try to access...amazonaws.com/staging/
it successfully loads then debug page because of invalid url path.Actual Behavior
When trying to access the admin page
...amazonaws.com/staging/admin
it throws{"message": "Endpoint request timed out"}
Possible Fix
Remove all local apps from INSTALLED_APPS change database connection on RDS to Postgres only and remove Django GIS functionality. Remove GIS related library path in settings.py (GEOS and GDAL).
These attempts to fix didn't work.
Next things: TRIM EVERYTHING (REDIS, CELERY, ETC). If this fails then try with a new project to see if there is an issue with DB Connection or VPC or Security Groups. Any sample projects I can try to deploy in my VPC?
Steps to Reproduce
Sorry unable to provide right now. Will try to start a new project and see if I face the same issue.
Your Environment
0.45.1
OSX 10.13.2
Python 3.6.1
zappa_settings.py
:The text was updated successfully, but these errors were encountered: