Skip to content

Don't log OSError exceptions in transports #257

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Tobotimus opened this issue Jul 13, 2019 · 0 comments · Fixed by #258
Closed

Don't log OSError exceptions in transports #257

Tobotimus opened this issue Jul 13, 2019 · 0 comments · Fixed by #258

Comments

@Tobotimus
Copy link
Contributor

  • uvloop version: 0.12.2
  • Python version: 3.7.4
  • Platform: Linux (Ubuntu 19.04)
  • Can you reproduce the bug with PYTHONASYNCIODEBUG in env?: Yes

This refers to the bpo here: https://bugs.python.org/issue37035

And relevant asyncio changes: python/cpython#13548.

In particular, I am getting this common SSL error in an aiohttp client application of mine:

Fatal error on transport
protocol: <uvloop.loop.SSLProtocol object at 0x7f3a9c52d050>
transport: <TCPTransport closed=False reading=False 0x55d12adcc430>
Traceback (most recent call last):
  File "uvloop/sslproto.pyx", line 574, in uvloop.loop.SSLProtocol._do_shutdown
  File "/home/tobyh/.pyenv/versions/3.7.4/lib/python3.7/ssl.py", line 778, in unwrap
    return self._sslobj.shutdown()
ssl.SSLError: [SSL: KRB5_S_INIT] application data after close notify (_ssl.c:2629)

I'd be willing to PR a fix when I get the time, someone else is welcome to if they beat me to it however 😃

Tobotimus added a commit to Tobotimus/uvloop that referenced this issue Jul 13, 2019
@1st1 1st1 closed this as completed in #258 Jul 18, 2019
1st1 pushed a commit that referenced this issue Jul 18, 2019
1st1 pushed a commit that referenced this issue Aug 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant