[New-bugs-announce] [issue33886] SSL on aiomysql hangs on reconnection
Andrey
report at bugs.python.org
Sun Jun 17 13:41:30 EDT 2018
New submission from Andrey <andr06 at gmail.com>:
On reconnect from aiomysql (after the pool has recycled the old connection) by using ssl context it hangs forever. Interrupting gives the following Traceback:
File "/usr/local/lib/python3.6/site-packages/aiomysql/connection.py", line 464, in _connect
await self._request_authentication()
File "/usr/local/lib/python3.6/site-packages/aiomysql/connection.py", line 670, in _request_authentication
server_hostname=self._host
File "/usr/lib/python3.6/asyncio/streams.py", line 81, in open_connection
lambda: protocol, host, port, **kwds)
File "/usr/lib/python3.6/asyncio/base_events.py", line 804, in create_connection
sock, protocol_factory, ssl, server_hostname)
File "/usr/lib/python3.6/asyncio/base_events.py", line 830, in _create_connection_transport
yield from waiter
concurrent.futures._base.CancelledError
Probably it is related with issue30698 and issue29406.
----------
components: asyncio
messages: 319823
nosy: andr04, asvetlov, yselivanov
priority: normal
severity: normal
status: open
title: SSL on aiomysql hangs on reconnection
type: behavior
versions: Python 3.6
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue33886>
_______________________________________
More information about the New-bugs-announce
mailing list