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
Error: addMembership EADDRINUSE #35
Comments
when I remove the plugin the error not happening.... I'm sure the error is on the plugin |
I have the same issue. First I added a shelly 2.5 shutter and got this error. I fixed this with the "NetworkInterface" option. I uninstalled the plugin, but the shellys are still discovered. I also deleted the CachedAccessories, but without success. |
I resolve the issue for now but I think is temporary fix. |
EADDRINUSE means that another application is already using the address and port that this plugin is trying to use. This usually occurs when another instance of homebridge is running. Try something like |
I'm sure no other app use the same port, in fact when I reinstall all it's work |
Try adding |
That is what I did when I added my first shelly 2.5 to the homebridge. |
Hello, Please confirm that is the IP of the Raspberry or the IP of the Shelly. Thanks |
The IP address of your Raspberry Pi. |
Thanks!, running ok again. |
Please close it :) |
After restart the plugin generate this error and homebridge cannot start.
Homebridge is installed on docker-compose
homebridge_1 | [8/18/2019, 1:40:20 PM] Error: addMembership EADDRINUSE
homebridge_1 | at Socket.addMembership (dgram.js:581:11)
homebridge_1 | at /usr/local/lib/node_modules/homebridge-shelly/node_modules/coap/lib/server.js:233:24
homebridge_1 | at Array.forEach ()
homebridge_1 | at Socket. (/usr/local/lib/node_modules/homebridge-shelly/node_modules/coap/lib/server.js:232:42)
homebridge_1 | at Object.onceWrapper (events.js:286:20)
homebridge_1 | at Socket.emit (events.js:198:13)
homebridge_1 | at startListening (dgram.js:128:10)
homebridge_1 | at state.handle.lookup (dgram.js:249:7)
homebridge_1 | at process._tickCallback (internal/process/next_tick.js:63:19)
homebridge_1 | [8/18/2019, 1:40:21 PM] Got SIGTERM, shutting down Homebridge...
The text was updated successfully, but these errors were encountered: