Eamonn Nugent <eamonn.nug...@demilletech.net> added the comment:
Fwiw, this also happens in asyncio. Theoretically, I *think* you could wrap a try-except as a monkey patch. My stack trace is: Fatal write error on socket transport protocol: <RequestHandler connected> transport: <_SelectorSocketTransport fd=163 read=polling write=<idle, bufsize=0>> Traceback (most recent call last): File "/usr/local/Cellar/python/3.6.5_1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/asyncio/selector_events.py", line 761, in write n = self._sock.send(data) OSError: [Errno 41] Protocol wrong type for socket I can try to PR the fix mentioned by @ronaldoussoren, though it might take me a bit. I'm happy to do whatever to get this fixed, though, since it's flooding my terminal with several hundred errors every time it happens... ---------- nosy: +Eamonn Nugent _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue33450> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com