-
Notifications
You must be signed in to change notification settings - Fork 328
boto3 and eventlet don't work together #313
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
Comments
Thanks for reporting this. |
Tested against different python version: 3.4.4, 3.3.6 on kernel 4.5.1-1-ARCH - bug reproduced. Will test against different kernel versions later. |
Tested with python 3.4.4 on ubuntu trusty (14.04.4 LTS) with kernel 3.13.0-86-generic. Same result :( |
Update: error is something about 100-Expect header for S3 service near custom implementation in botocore: https://github.com/boto/botocore/blob/develop/botocore/awsrequest.py#L162 |
Please check the fix I have placed in #315 . Your issue appears to be similar to the one I encountered (SSL sessions through the You could try this immediately after your
|
@vanadium23 is it possible to test without SSL? Some kind of reliable naked-to-ssl proxy between eventlet and target API. I could add ssl support to my meetup proxy gist if it would help. |
@temoto I've tested without SSL and it worked. So the problem is in SSL hanging. |
@acaos's fix no longer works it seems
|
I know this issue has been closed for a while, but this problem is still affecting me (as of eventlet 0.25.1). Does anyone know if there is a workaround? |
has there been any progress fixing this issue? it is a blocker for a current project i am working on |
I've some problem to make eventlet and boto3 work together. Purpose is to upload file to Amazon S3.
Here is a code example for debug purpose:
On python 2.7.11 and eventlet 0.19.0 it works fine, but after switching to python 3.5.1 it become stuck on epoll_wait operation.
Here is strace for python 2.7.11:
And for python 3.5.1:
Currently I ran out of ideas what has break, but as far as I can see there is problem, that socket wait on empty events.
The text was updated successfully, but these errors were encountered: