Closed heytcass closed 7 years ago
I'm seeing what seems to be the same issue after upgrading...
$ ./hass --version
0.37.0
I have no sensors or automations. Only a few simple command_line switches with emulated_hue.
Traceback
$ cat home-assistant.log
17-01-28 22:23:35 ERROR (Thread-7) [homeassistant.core] Error doing job: Future exception was never retrieved
Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.5/site-packages/requests/packages/urllib3/connectionpool.py", line 600, in urlopen
chunked=chunked)
File "/srv/homeassistant/lib/python3.5/site-packages/requests/packages/urllib3/connectionpool.py", line 386, in _make_request
six.raise_from(e, None)
File "<string>", line 2, in raise_from
File "/srv/homeassistant/lib/python3.5/site-packages/requests/packages/urllib3/connectionpool.py", line 382, in _make_request
httplib_response = conn.getresponse()
File "/usr/lib/python3.5/http/client.py", line 1197, in getresponse
response.begin()
File "/usr/lib/python3.5/http/client.py", line 297, in begin
version, status, reason = self._read_status()
File "/usr/lib/python3.5/http/client.py", line 266, in _read_status
raise RemoteDisconnected("Remote end closed connection without"
http.client.RemoteDisconnected: Remote end closed connection without response
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.5/site-packages/requests/adapters.py", line 423, in send
timeout=timeout
File "/srv/homeassistant/lib/python3.5/site-packages/requests/packages/urllib3/connectionpool.py", line 649, in urlopen
_stacktrace=sys.exc_info()[2])
File "/srv/homeassistant/lib/python3.5/site-packages/requests/packages/urllib3/util/retry.py", line 347, in increment
raise six.reraise(type(error), error, _stacktrace)
File "/srv/homeassistant/lib/python3.5/site-packages/requests/packages/urllib3/packages/six.py", line 685, in reraise
raise value.with_traceback(tb)
File "/srv/homeassistant/lib/python3.5/site-packages/requests/packages/urllib3/connectionpool.py", line 600, in urlopen
chunked=chunked)
File "/srv/homeassistant/lib/python3.5/site-packages/requests/packages/urllib3/connectionpool.py", line 386, in _make_request
six.raise_from(e, None)
File "<string>", line 2, in raise_from
File "/srv/homeassistant/lib/python3.5/site-packages/requests/packages/urllib3/connectionpool.py", line 382, in _make_request
httplib_response = conn.getresponse()
File "/usr/lib/python3.5/http/client.py", line 1197, in getresponse
response.begin()
File "/usr/lib/python3.5/http/client.py", line 297, in begin
version, status, reason = self._read_status()
File "/usr/lib/python3.5/http/client.py", line 266, in _read_status
raise RemoteDisconnected("Remote end closed connection without"
requests.packages.urllib3.exceptions.ProtocolError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without respon
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3.5/concurrent/futures/thread.py", line 55, in run
result = self.fn(*self.args, **self.kwargs)
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/core.py", line 1057, in execute_service
service_handler.func(service_call)
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/configurator.py", line 184, in handle_service_call
callback(call.data.get(ATTR_FIELDS, {}))
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/nest.py", line 63, in nest_configuration_callback
setup_nest(hass, nest, config, pin=pin)
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/nest.py", line 95, in setup_nest
hass.data[DATA_NEST] = NestDevice(hass, conf, nest)
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/nest.py", line 144, in __init__
self._structure = [s.name for s in nest.structures]
File "/home/homeassistant/.homeassistant/deps/nest/nest.py", line 1581, in structures
for stid in self._status[STRUCTURES]]
File "/home/homeassistant/.homeassistant/deps/nest/nest.py", line 1539, in _status
value = self._get("/")
File "/home/homeassistant/.homeassistant/deps/nest/nest.py", line 1522, in _get
return self._request('GET', path)
File "/home/homeassistant/.homeassistant/deps/nest/nest.py", line 1503, in _request
data=data)
File "/srv/homeassistant/lib/python3.5/site-packages/requests/sessions.py", line 488, in request
resp = self.send(prep, **send_kwargs)
File "/srv/homeassistant/lib/python3.5/site-packages/requests/sessions.py", line 609, in send
r = adapter.send(request, **kwargs)
File "/srv/homeassistant/lib/python3.5/site-packages/requests/adapters.py", line 473, in send
raise ConnectionError(err, request=request)
requests.exceptions.ConnectionError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response',))
Per conversation with other users in glitter, it seems even a user on 0.36.1 is seeing similar traceback, so perhaps this is not a 0.37 issue and rather a problem on the nest.com side.
Shortly after my previous comment... the nest component started working again, so it seems likely this really was a temporarily outage on the nest.com side of things.
I'm getting the same error and mine still isn't working.
Edit: After rebooting my system it's working again.
Edit 2: The issue is back again. There is either something with this version or Nest is having issues right now.
I'm not able to get this to work even after rebooting the system. It was working fine until I updated the hass to 0.37. Any suggestions ?
I've got the same errors logged, still on 0.36.1. I also had to re-authorize my SmartThings integration this morning to fix it's connection to Nest.
Leaving a "+1" here. My Nest component stopped working in 0.36, and I was hoping 0.37 would have resolved it. I also get no useful info in the error log, just the apparent success of the operation:
7-01-29 16:06:07 INFO (MainThread) [homeassistant.loader] Loaded climate.nest from homeassistant.components.climate.nest
17-01-29 16:06:07 INFO (MainThread) [homeassistant.bootstrap] Setting up climate
17-01-29 16:06:07 INFO (MainThread) [homeassistant.components.climate] Setting up climate.nest
17-01-29 16:06:07 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: service=set_away_mode, domain=climate>
17-01-29 16:06:07 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: service=set_hold_mode, domain=climate>
17-01-29 16:06:07 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: service=set_aux_heat, domain=climate>
17-01-29 16:06:07 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: service=set_temperature, domain=climate>
17-01-29 16:06:07 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: service=set_humidity, domain=climate>
17-01-29 16:06:07 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: service=set_fan_mode, domain=climate>
17-01-29 16:06:07 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: service=set_operation_mode, domain=climate>
17-01-29 16:06:07 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: service=set_swing_mode, domain=climate>
17-01-29 16:06:07 INFO (MainThread) [homeassistant.core] Bus:Handling <Event component_loaded[L]: component=climate>
I've tried deleting nest.conf and re-authing, to no avail. Same result.
I haven't noticed any issues with this recently. Perhaps it was resolved on the Nest side?
If the issue was server-side, I'd expect the component to provide some sort of error. I have nothing at all showing in the states that mentions 'nest', nothing in the error logs to indicate comms with Nest failed and no problem completing the auth step. A bit stuck, really; don't even seem to be able to properly reset the state. Blowing swayed nest.conf and restarting the auth 'wizard' results in the same issue repeatedly...
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates.
Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment :+1:
This issue will be auto-closed because there hasn't been any activity for a few months. Feel free to open a new one if you still experience this problem 👍
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.37.0.dev0Component/platform: Nest
Description of problem: Nest component keeps going from working to broken with unreliable causes. One that seems to work every time is to have a sensor try to read the Nest's temperature sensor. But it has broken without that being set up as well.
Expected: Nest to work while providing its reading to other sensors.
Problem-relevant
configuration.yaml
entries and steps to reproduce:OR
Traceback (if applicable):