Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #78125

Re: ssl.SSLError: [SSL: BAD_WRITE_RETRY] bad write retry (_ssl.c:1636)

From dieter <dieter@handshake.de>
Subject Re: ssl.SSLError: [SSL: BAD_WRITE_RETRY] bad write retry (_ssl.c:1636)
Date 2014-09-22 08:46 +0200
References <87r3z5m0u8.fsf@vostro.rath.org>
Newsgroups comp.lang.python
Message-ID <mailman.14185.1411368406.18130.python-list@python.org> (permalink)

Show all headers | View raw


Nikolaus Rath <Nikolaus@rath.org> writes:

> Can someone explain help me understand what this exception means?
>
> [...]
>   File "/usr/local/lib/python3.4/dist-packages/dugong-3.2-py3.4.egg/dugong/__init__.py", line 584, in _co_send
>     len_ = self._sock.send(buf)
>   File "/usr/lib/python3.4/ssl.py", line 679, in send
>     v = self._sslobj.write(data)
> ssl.SSLError: [SSL: BAD_WRITE_RETRY] bad write retry (_ssl.c:1636)
>
> Presumably this is generated by OpenSSL, but how do I figure out what it
> means? The best I found in the OpenSSL documentation is
> https://www.openssl.org/docs/crypto/err.html, and Google only found
> brought me to https://stackoverflow.com/questions/2997218.

I would first look at the source: "_ssl.c" (source of the Python
module interfacing with OpenSSL) near line 1636.
Likely, this only reports a problem reported by "OpenSSL".
Next step would then be to look at the "OpenSSL" documentation or
source to find out what the error reported by "OpenSSL" means.

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: ssl.SSLError: [SSL: BAD_WRITE_RETRY] bad write retry (_ssl.c:1636) dieter <dieter@handshake.de> - 2014-09-22 08:46 +0200

csiph-web