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

Connection Refused of Backend Server results in complete homebridge crash #16

Open
EdJoPaTo opened this issue Aug 14, 2016 · 5 comments

Comments

@EdJoPaTo
Copy link

EdJoPaTo commented Aug 14, 2016

Error: connect ECONNREFUSED 127.0.0.1:3000
at doRequest (/usr/local/lib/node_modules/homebridge-httptemperaturehumidity/node_modules/sync-request/index.js:31:11)
at Object.HttpTemphum.getState (/usr/local/lib/node_modules/homebridge-httptemperaturehumidity/index.js:51:12)

accessory could just set "not available" instead of full crash

@paulobriennz
Copy link

any luck on this? I have this same issue, really annoying, if one of my temp units goes off line, homebridge crashes completely.. any change we could make to not completely crash? ive had a play around but I'm not that good with js

@roozbehf
Copy link

I fixed this in this commit: 8b5c97a on my forked repo.

Waiting to be merged into this repository. :-)

@jendaz
Copy link

jendaz commented Jan 8, 2018

Same issue. Could you merge this fix to production?

@EdJoPaTo
Copy link
Author

EdJoPaTo commented Jan 8, 2018

@jendaz: See #32 ;)

Looks like @lucacri is just not willing to accept this 🤔

@jendaz
Copy link

jendaz commented Jan 8, 2018

But it looks like that maybe it is fixed in last merge #29 because it is switched to different http library.

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

4 participants