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)

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!xlned.com!feeder7.xlned.com!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <python-python-list@m.gmane.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.003
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; 'subject:: [': 0.04; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'python': 0.11; '(source': 0.16; 'means.': 0.16; 'received:80.91.229.3': 0.16; 'received:dip0.t-ipconnect.de': 0.16; 'received:plane.gmane.org': 0.16; 'received:t-ipconnect.de': 0.16; 'retry': 0.16; 'skip:" 80': 0.16; 'subject:SSL': 0.16; 'exception': 0.16; 'module': 0.19; 'subject:] ': 0.20; 'header:User-Agent:1': 0.23; 'error': 0.23; 'source': 0.25; 'skip:" 20': 0.27; 'header:X-Complaints-To:1': 0.27; 'writes:': 0.31; 'file': 0.32; 'figure': 0.32; 'problem': 0.35; 'subject: (': 0.35; 'but': 0.35; 'google': 0.35; 'next': 0.36; 'charset:us-ascii': 0.36; 'url:org': 0.36; 'reports': 0.37; 'step': 0.37; 'to:addr:python-list': 0.38; 'explain': 0.39; 'bad': 0.39; 'reported': 0.39; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'how': 0.40; 'first': 0.61; 'received:217': 0.63; 'presumably': 0.84; 'subject::': 0.85
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From dieter <dieter@handshake.de>
Subject Re: ssl.SSLError: [SSL: BAD_WRITE_RETRY] bad write retry (_ssl.c:1636)
Date Mon, 22 Sep 2014 08:46:32 +0200
References <87r3z5m0u8.fsf@vostro.rath.org>
Mime-Version 1.0
Content-Type text/plain; charset=us-ascii
X-Gmane-NNTP-Posting-Host pd9e0b69c.dip0.t-ipconnect.de
User-Agent Gnus/5.1008 (Gnus v5.10.8) XEmacs/21.4.22 (linux)
Cancel-Lock sha1:ARonowjHu09V5M2O897wOtSV3HM=
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.14185.1411368406.18130.python-list@python.org> (permalink)
Lines 22
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1411368406 news.xs4all.nl 2878 [2001:888:2000:d::a6]:39786
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:78125

Show key headers only | 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