Skip to content
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

SSLError #27

Closed
krychu opened this issue Jun 26, 2013 · 4 comments
Closed

SSLError #27

krychu opened this issue Jun 26, 2013 · 4 comments

Comments

@krychu
Copy link

krychu commented Jun 26, 2013

Hi,

I've been using meinheld as a backend with chaussette to run my webapp. I've run into a problem that while trying to make a post request with the requests library I get the following exception:

SSLError: [Errno 2] _ssl.c:504: The operation did not complete (read)

But when I change the backend to waitress (for example) the problem is gone. So I thought it had something to do with meinheld.

Thanks

@rubik
Copy link

rubik commented Aug 14, 2013

Ow, exactly my error. When trying to authenticate through Github I get this error. I opened an issue at requests (the one linked above) but it's probably a patching thing.

@methane
Copy link
Collaborator

methane commented Dec 24, 2014

@krychu Do you use msocket?

@eoghanmurray
Copy link

Getting this too when trying to send a mail with chaussette on TG2. I see that there used to be 'patch_ssl' but it was removed in 68e5854
Disabling 'patch_socket' causes the code to work (smtp.starttls() triggers the error), but I've no idea whether this has performance effects or otherwise so will likely be switching to waitress unless there is a fix?

@methane
Copy link
Collaborator

methane commented Apr 25, 2015

I don't recommend monkeypatching (msocket) unless you know what you do.
meinheld works very fine like other preforking servers (but more faster) without monkeypatching.

@methane methane closed this as completed Nov 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants