This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Ben.Darnell
Recipients Ben.Darnell, christian.heimes, martin.panter, nikratio, xgdomingo
Date 2018-10-20.00:04:28
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1539993869.68.0.788709270274.issue31122@psf.upfronthosting.co.za>
In-reply-to
Content
We have an easy reproduction of this "[Errno 0] Error" on the server side in https://github.com/tornadoweb/tornado/issues/2504#issuecomment-426782158

It is triggered by a connection from `nc -z` (which I think is doing a TCP handshake and shutting down the connection cleanly, but I'm not sure. It might just send an RST instead of the clean shutdown). On macos, I get SSL_ERROR_EOF (as expected), but on linux it raises an OSError with errno 0. (Note that the script as posted has a small mistake in that it is using a client-side SSLContext on the server side. The same error is seen when that mistake is fixed) 

I'm going to add "errno 0" to the list of errors that Tornado should swallow silently here, so if you're trying to reproduce this in the future use Tornado 5.1.1.
History
Date User Action Args
2018-10-20 00:04:29Ben.Darnellsetrecipients: + Ben.Darnell, christian.heimes, nikratio, martin.panter, xgdomingo
2018-10-20 00:04:29Ben.Darnellsetmessageid: <1539993869.68.0.788709270274.issue31122@psf.upfronthosting.co.za>
2018-10-20 00:04:29Ben.Darnelllinkissue31122 messages
2018-10-20 00:04:28Ben.Darnellcreate