Miserlou / Zappa

Serverless Python
https://blog.zappa.io/
MIT License
11.89k stars 1.2k forks source link

Timeout without a "Zappa event" #1843

Open nihaals opened 5 years ago

nihaals commented 5 years ago

Context

When I send a request to my Zappa page I get an Internal server error, but my logs simply say:

[1553875874136] Instancing..
[1553875879150] 2019-03-29T16:11:19.138Z b3b3a6b7-6ee5-4ea6-a5f3-f811264d1ddd Task timed out after 5.00 seconds

Your Environment

This used to work fine but for the last day, I have been having this issue and have tried to redeploy it but still having issues.

jneves commented 5 years ago

I would try removing the exclude and profile_name and try again. Also double-check that the permission role the function is using can access the database (lack of permissions will cause the timeouts when trying to access the database).

nihaals commented 5 years ago

Still failed with those changes and I haven't touched my permissions. If it's the database then that wouldn't really make sense since right now it's a public URL.

nihaals commented 5 years ago

I just undeployed and deployed, still getting Internal Server Error and no Zappa Event showing in the logs