Skip to content
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

aiohttp error after update to 0.58 #10698

Closed
leranp opened this issue Nov 20, 2017 · 5 comments
Closed

aiohttp error after update to 0.58 #10698

leranp opened this issue Nov 20, 2017 · 5 comments

Comments

@leranp
Copy link
Contributor

leranp commented Nov 20, 2017

Make sure you are running the latest version of Home Assistant before reporting an issue.

You should only file an issue if you found a bug. Feature and enhancement requests should go in the Feature Requests section of our community forum:

Home Assistant release (hass --version):
0.58

Python release (python3 --version):
3.5.3

Component/platform:

Description of problem:
I think it is related to google Assistant,
The error appear couple of times

Expected:

Problem-relevant configuration.yaml entries and steps to reproduce:

Traceback (if applicable):

Traceback (most recent call last):
  File "/srv/homeassistant/lib/python3.5/site-packages/aiohttp/helpers.py", line 554, in __get__
    return inst._cache[self.name]
KeyError: 'remote'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/srv/homeassistant/lib/python3.5/site-packages/aiohttp/helpers.py", line 521, in log
    for key, value in fmt_info:
  File "/srv/homeassistant/lib/python3.5/site-packages/aiohttp/helpers.py", line 513, in <genexpr>
    for key, method in self._methods)
  File "/srv/homeassistant/lib/python3.5/site-packages/aiohttp/helpers.py", line 473, in _format_a
    ip = request.remote
  File "/srv/homeassistant/lib/python3.5/site-packages/aiohttp/helpers.py", line 556, in __get__
    val = self.wrapped(inst)
  File "/srv/homeassistant/lib/python3.5/site-packages/aiohttp/web_request.py", line 319, in remote
    peername = transport.get_extra_info('peername')
  File "/usr/lib/python3.5/asyncio/sslproto.py", line 306, in get_extra_info
    return self._ssl_protocol._get_extra_info(name, default)
  File "/usr/lib/python3.5/asyncio/sslproto.py", line 546, in _get_extra_info
    return self._transport.get_extra_info(name, default)
AttributeError: 'NoneType' object has no attribute 'get_extra_info'

Additional info:

@leranp leranp closed this as completed Nov 20, 2017
@leranp leranp changed the title Can't link the Google Assistant test app aiohttp error after update to 0.58 Nov 21, 2017
@leranp leranp reopened this Nov 21, 2017
@jinjeul
Copy link

jinjeul commented Nov 21, 2017

#9762

Check this.

@fabaff
Copy link
Member

fabaff commented Nov 25, 2017

Duplicate of #9762.

@fabaff fabaff closed this as completed Nov 25, 2017
@leranp
Copy link
Contributor Author

leranp commented Nov 27, 2017

The #9762 didn't fixed it

@asantos15
Copy link

Has this one been fixed?

@MartinHjelmare
Copy link
Member

See last post in #9762 for Python versions where the bug might be fixed.

@home-assistant home-assistant locked and limited conversation to collaborators May 29, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants