ioBroker / ioBroker.sonos

Control and monitor SONOS player from ioBroker
MIT License
37 stars 19 forks source link

EHOSTUNREACH #138

Closed rocklobster42195 closed 2 years ago

rocklobster42195 commented 2 years ago

I have recently updated to Sonos S2. Since then the adapter (v2.1.7) crashes as soon as I send a command to the coordinator of a group. The error is Error: connect EHOSTUNREACH 192.168.7.210:1400, where the 210 is the first sub-device of the group. All devices show "alive=false" when grouped.

All devices have a fixed IP address. Do you have a tip for me?

Node.js v14.19.0 NPM 6.14.16

sonos.0 | 2022-02-13 12:37:57.576 | info | terminating
sonos.0 | 2022-02-13 12:37:57.568 | info | terminating
sonos.0 | 2022-02-13 12:37:57.567 | error | Exception-Code: EHOSTUNREACH: connect EHOSTUNREACH 192.168.7.210:1400
sonos.0 | 2022-02-13 12:37:57.566 | error | Error: connect EHOSTUNREACH 192.168.7.210:1400 at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1159:16)
sonos.0 | 2022-02-13 12:37:57.566 | error | unhandled promise rejection: connect EHOSTUNREACH 192.168.7.210:1400
sonos.0 | 2022-02-13 12:37:57.566 | error | Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
sonos.0 | 2022-02-13 12:37:41.438 | error | Error: connect EHOSTUNREACH 192.168.7.210:1400
Apollon77 commented 2 years ago

Could it be that somehow the IPs changed? EHOSTUNREACH means that the IP can not be reached in the network, means "not online"

rocklobster42195 commented 2 years ago

This should be correct. The IP is shown in the router, in the Sonos-App and is pingable. I don't know if it matters: The "unreachable" device is the root and is connected via ethernet cable. All speakers play properly.