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

Envisalink Connection Reset #8163

Closed
nitrag opened this issue Jun 22, 2017 · 2 comments
Closed

Envisalink Connection Reset #8163

nitrag opened this issue Jun 22, 2017 · 2 comments

Comments

@nitrag
Copy link

nitrag commented Jun 22, 2017

This looks like it would be a simple fix.

Envisalink API only allows a single user. I setup Homeassistant on a second (new) server and it was crashing with:

2017-06-22 15:57:20 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/lib/python3.4/asyncio/tasks.py", line 233, in _step
    result = coro.throw(exc)
  File "/usr/lib/python3.4/asyncio/base_events.py", line 570, in create_connection
    raise exceptions[0]
  File "/usr/lib/python3.4/asyncio/base_events.py", line 557, in create_connection
    yield from self.sock_connect(sock, address)
  File "/usr/lib/python3.4/asyncio/futures.py", line 388, in __iter__
    yield self  # This tells Task to wait for completion.
  File "/usr/lib/python3.4/asyncio/tasks.py", line 286, in _wakeup
    value = future.result()
  File "/usr/lib/python3.4/asyncio/futures.py", line 277, in result
    raise self._exception
  File "/usr/lib/python3.4/asyncio/selector_events.py", line 382, in _sock_connect_cb
    raise OSError(err, 'Connect call failed %s' % (address,))
ConnectionResetError: [Errno 104] Connect call failed ('192.168.156.200', 4025)

before I realized my old server was still connected to the API. I shutdown the old server and now it's working.

Looks like it needs some Exception catching.

@balloobbot
Copy link

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 👍

@balloobbot
Copy link

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 👍

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

No branches or pull requests

2 participants