Skip to content
This repository has been archived by the owner on Dec 12, 2023. It is now read-only.

[Errno 98] Address already in use #12

Open
ChrisSutton123 opened this issue Jun 5, 2018 · 1 comment
Open

[Errno 98] Address already in use #12

ChrisSutton123 opened this issue Jun 5, 2018 · 1 comment

Comments

@ChrisSutton123
Copy link

Running HA on Hassbian, Since update to 0.70.1, I am getting the following error on my Yamaha music cast device:-

2018-06-04 18:46:08 DEBUG (Thread-9) [homeassistant.components.media_player.yamaha_musiccast] known_hosts: []
2018-06-04 18:46:08 ERROR (Thread-9) [homeassistant.components.media_player.yamaha_musiccast] [Errno 98] Address already in use

My yaml configuration is:

  • platform: yamaha
    host: 192.168.1.6
    port: 5006
    name: WXA-50
    zone_names:
    Main_Zone: "Bedroom Room"

  • platform: yamaha_musiccast
    host: 192.168.1.7
    port: 5007

As a consequence if this error the device is not registered as a usable entity

@uSpike
Copy link

uSpike commented Sep 25, 2019

Root cause is here: https://github.com/jalmeroth/pymusiccast/blob/0.1.6/pymusiccast/__init__.py#L97

pymusiccast.McDevice initializes a UDP socket for each device, and the second time that runs it fails.

jalmeroth added a commit that referenced this issue Oct 4, 2019
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

2 participants