We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi! An exception occurs when closing the websocket connection in _pong_not_received if the connection was already dropped somehow :
File "aiohttp/web_ws.py", line 88, in _pong_not_received self._req.transport.close() AttributeError: 'NoneType' object has no attribute 'close'
No exception.
self._req is not None, but self._req.transport is None.
self._req
None
self._req.transport
Python 3.5, aiohttp==2.0.5, standard loop, server behind nginx.
The issue is happening with really bad websocket clients, not web browsers, that may drop connections without sending close control frames.
close
Thanks !
The text was updated successfully, but these errors were encountered:
9b7af75
should be fixed in master
Sorry, something went wrong.
Cancel websocket heartbeat on close #1793
ad3a287
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
If you feel like there's important points made in this discussion, please include those exceprts into that new issue.
No branches or pull requests
Long story short
Hi!
An exception occurs when closing the websocket connection in _pong_not_received if the connection was already dropped somehow :
Expected behaviour
No exception.
Actual behaviour
self._req
is notNone
, butself._req.transport
isNone
.Your environment
Python 3.5, aiohttp==2.0.5, standard loop, server behind nginx.
The issue is happening with really bad websocket clients, not web browsers, that may drop connections without sending
close
control frames.Thanks !
The text was updated successfully, but these errors were encountered: