-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
AttributeError: 'NoneType' object has no attribute 'feed_appdata' #2546
Comments
Thanks for report. P.S. |
same error I got:
waiting for the fix. Thanks a lot. |
I hit this one too but not with aiohttp. Is there a relevant issue on CPython's bug tracker? |
There are several issues related to asyncio ssl support, I'll address them before new Python release. |
just hit this too |
I have the same issue, just to let you know :) |
I too. |
I too. have something temp way fix it? pls |
The error is harmless, you could just ignore it. |
It depends. |
I pretty sure discord problem is not related. |
The relation is stream breaks and i see that error in console. Or in other words - if that error occurs, stream breaks, but discordpy "doesn't know" about that and is still streaming (no further error of any type, it just "streams" like nothing happend, but of course no data is transferred). |
Socket is closed before displaying the message, writing into closed socket is an error anyway. |
Probably related, additionnaly to the error reported in this issue, I also get such errors : ERROR:root:Exception in callback SSLProtocol._process_write_backlog()
handle: <Handle SSLProtocol._process_write_backlog()>
Traceback (most recent call last):
File "/home/inso/.pyenv/versions/3.5.4/lib/python3.5/asyncio/sslproto.py", line 639, in _process_write_backlog
ssldata = self._sslpipe.do_handshake(
AttributeError: 'NoneType' object has no attribute 'do_handshake'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/inso/.pyenv/versions/3.5.4/lib/python3.5/asyncio/events.py", line 127, in _run
self._callback(*self._args)
File "/home/inso/.pyenv/versions/3.5.4/lib/python3.5/asyncio/sslproto.py", line 665, in _process_write_backlog
self._on_handshake_complete(exc)
File "/home/inso/.pyenv/versions/3.5.4/lib/python3.5/asyncio/sslproto.py", line 579, in _on_handshake_complete
sslobj = self._sslpipe.ssl_object
AttributeError: 'NoneType' object has no attribute 'ssl_object' |
Does this error means we need to reinit the Client Session before trying to send new requests ? |
I guess no. Just ignore all errors that happen on connection closing. |
Fixed in upstream, please test on Python 3.6.5 |
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. |
Long story short
We have small aiohttp-based running on many customers servers. All errors from these servers are reported to Sentry. There are many errors whitch looks like aiohttp bugs, here's details:
Steps to reproduce
Unfortunately, we can not reproduce this issue on our environment and do not have access to affected servers.
Your environment
aiohttp server 2.3.2
Centos 6/7
Please advice
The text was updated successfully, but these errors were encountered: