Flask SocketIO with Google App Engine flex

I am trying to deploy my Flask server that uses flask_socketio for websockets.

I am using Google App Engine in a flex environment.

From the logs, the build finishes but times out during network provision. I am able to manually split traffic to instance of the new version but when I try to access the server I get a worker timeout error.

app.yamlapp.yamlmain.pymain.py__init__.py__init__.py

1 1 79
1 REPLY 1

Hi @makeiteasier,

Welcome to Google Cloud Community!

You are getting the worker timeout error due to the static data limit being maximized. All languages except for Golang cannot be larger than 32MB. Limit for Golang is 64MB.

I would suggest using Google Cloud Run so that you can use containers such as Artifact Registry so that you won't need to download your data file. 

Hope this helps.