aprosvetova / homebridge-http-doorbell

Network based doorbell plugin for homebridge
Do What The F*ck You Want To Public License
4 stars 4 forks source link

Homebridge crashes #1

Open mach1009 opened 6 years ago

mach1009 commented 6 years ago

with this error

TypeError: Cannot read property 'ring' of undefined at HTTPDoorbell.httpHandler (/usr/local/lib/node_modules/homebridge-http-doorbell/index.js:50:39) at Server. (/usr/local/lib/node_modules/homebridge-http-doorbell/index.js:20:14) at emitTwo (events.js:126:13) at Server.emit (events.js:214:7) at parserOnIncoming (_http_server.js:602:12) at HTTPParser.parserOnHeadersComplete (_http_common.js:116:23)

felix-mcfly commented 6 years ago

I have the same error.

screenshot 2018-04-02 17 02 02
aprosvetova commented 6 years ago

What id's do you use in configuration? What url do you request? If you have id "frontDoor" and port "9053", you should use: http://{ip_address}:9053/frontDoor Please note that you can't put a slash in the end.

pccaredk commented 6 years ago

Hi. I get the exact same error...

phenotypic commented 5 years ago

Getting the same issue here, only started recently though which is strange. I've tried reinstalling both the plugin and Homebridge. I've also updated to the newest node etc. Any ideas?

phenotypic commented 5 years ago

For those still experiencing this error, I have forked homebridge-http-motion-sensor and simplified it to function in much the same way as homebridge-http-doorbell in an attempt to work around the issue. If you are interested, you can view it here.

Kind regards, Tom

alc7328 commented 3 years ago

When I access the url http://{my_ip_address}:{my_port}/{my_id} Homebridge instantly crashes. I'm looking at the log and says "Got SIGTERM, shutting down Bridge..."