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

Bad File Descriptor #2

Open
mouth4war opened this issue Dec 14, 2018 · 0 comments
Open

Bad File Descriptor #2

mouth4war opened this issue Dec 14, 2018 · 0 comments

Comments

@mouth4war
Copy link

I get an exception in the log when I access homekit via wifi extender (wireless repeater). Accessories go offline and return online when on main AP.

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/threading.py", line 916, in _bootstrap_inner
    self.run()
  File "/usr/local/lib/python3.6/threading.py", line 864, in run
    self._target(*self._args, **self._kwargs)
  File "/srv/homeassistant/lib/python3.6/site-packages/pyhap/accessory_driver.py", line 431, in send_events
    pushed = self.http_server.push_event(bytedata, client_addr)
  File "/srv/homeassistant/lib/python3.6/site-packages/pyhap/hap_server.py", line 857, in push_event
    self._handle_sock_timeout(client_addr, e)
  File "/srv/homeassistant/lib/python3.6/site-packages/pyhap/hap_server.py", line 811, in _handle_sock_timeout
    raise exception
  File "/srv/homeassistant/lib/python3.6/site-packages/pyhap/hap_server.py", line 854, in push_event
    client_socket.sendall(data)
  File "/srv/homeassistant/lib/python3.6/site-packages/pyhap/hap_server.py", line 653, in _wrapper
    return func(self, *args, **kwargs)
  File "/srv/homeassistant/lib/python3.6/site-packages/pyhap/hap_server.py", line 742, in sendall
    self.socket.sendall(result)
OSError: [Errno 9] Bad file descriptor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant