-
Notifications
You must be signed in to change notification settings - Fork 332
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Docker crash #164
Comments
It looks like you're trying to use
Based on the error you have, it's most likely that you have code somewhere that is running unpatched modules blocking gevent from switching threads. This can happen if a module imports a module that needs to be patched before the patching actually occurs, for example, if you import another module before You can also browse other gevent-related issues in this repo to find others with similar problems and workarounds. Some common solutions that may fix your problem include:
Without more information about your code, dockerfile, etc., it's difficult to provide any further guidance. |
I tried looking in all other relevant issues and still did not find my answer. Generally, I import monkey from gevent and patch it. This is the first thing to be imported in my project. I later import grequest in another module (it's the first import in that module). Generally I use flask server. Can it cause problems with grequests? I see other people use both of them without problems. |
I get the following error when I run my grequest based code in a docker container:
The text was updated successfully, but these errors were encountered: