swissmanu / harmonyhubjs-client

A Node.JS library which allows you to interact with your Logitech Harmony Hub.
https://github.com/swissmanu/harmonyhubjs-client
MIT License
155 stars 42 forks source link

Can't connect to hub #41

Closed github22222 closed 6 years ago

github22222 commented 6 years ago

This used to work but now it does not. This is the error output:

Connecting to hub at 192.168.1. errorhub { Error: connect ETIMEDOUT 192.168.1.:5222 at Object._errnoException (util.js:1022:11) at _exceptionWithHostPort (util.js:1044:20) at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1198:14) code: 'ETIMEDOUT', errno: 'ETIMEDOUT', syscall: 'connect', address: '192.168.1.***', port: 5222 }

swissmanu commented 6 years ago

check your network connection and/or try to rediscover you hub useing harmonyhubjs-discover.

github22222 commented 6 years ago

Thanks for the comment but it does not help me except to be sure that it is of course a problem with my setup not your project. I had been using your project and the other code for a number of years along with Alexa. Logitech has started supporting skills with Alexa so I have gotten away from doing my own as a hobby. The hub works fine and I had always used the local ip given in the DHCP Client Table without issue. Why it does not work now is beyond me. I am by far no expert on networks.

swissmanu commented 6 years ago

there was no new release recently. i only can assume that something in your set up changed, either network or software wise 😔 maybe you can try investigate based on your nodejs version or something. otherwise there is really nothing i can do for you based on the stacktrace you provided.

github22222 commented 6 years ago

It works now after allowing public in addition to private communication through the firewall for node.js: Server-side JavaScript. I thought of it after my ftp server stopped responding and I had to allow it access. Thanks again for the feedback.

From: Manuel Alabor [mailto:notifications@github.com] Sent: Tuesday, April 17, 2018 01:40 To: swissmanu/harmonyhubjs-client harmonyhubjs-client@noreply.github.com Cc: github22222 dstoelt@comcast.net; Author author@noreply.github.com Subject: Re: [swissmanu/harmonyhubjs-client] Can't connect to hub (#41)

there was no new release recently. i only can assume that something in your set up changed, either network or software wise 😔 maybe you can try investigate based on your nodejs version or something. otherwise there is really nothing i can do for you based on the stacktrace you provided.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/swissmanu/harmonyhubjs-client/issues/41#issuecomment-381850606 , or mute the thread https://github.com/notifications/unsubscribe-auth/AI0QItj135udyO4WHzfCot5l2tvmxWk4ks5tpYBBgaJpZM4TVIab . https://github.com/notifications/beacon/AI0QIsjnjDpR2It5Xb4yiolZMRwh-iDpks5tpYBBgaJpZM4TVIab.gif