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

Fails with OSError: [Errno 57] Socket is not connected #13

Open
jimboca opened this issue Nov 29, 2019 · 0 comments
Open

Fails with OSError: [Errno 57] Socket is not connected #13

jimboca opened this issue Nov 29, 2019 · 0 comments

Comments

@jimboca
Copy link

jimboca commented Nov 29, 2019

I've been using this for a long time on Raspberry Pi with Python 3.5 but now on a machine with FreeBSD and Python 3.7 it's failing with:

Traceback (most recent call last):
  File "/var/polyglot/nodeservers/HarmonyHub/harmony_hub_nodes/HarmonyController.py", line 221, in _discover
    discover_result = harmony_discovery.discover(scan_attempts=10,scan_interval=1)
  File "/var/polyglot/.local/lib/python3.7/site-packages/pyharmony/discovery.py", line 107, in discover
    return Discovery().discover(scan_attempts, scan_interval)
  File "/var/polyglot/.local/lib/python3.7/site-packages/pyharmony/discovery.py", line 90, in discover
    listen_socket.shutdown(socket.SHUT_RDWR)
OSError: [Errno 57] Socket is not connected

Not sure if this is caused by FreeBSD differences or Python.

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