homebridge-vera
homebridge-vera copied to clipboard
Unhandled rejection RequestError: Error:
Getting a bunch of these errors. Any ideas? Thanks
Unhandled rejection RequestError: Error: connect ECONNREFUSED 192.168.1.227:3480 at new RequestError (/usr/lib/node_modules/homebridge-vera/node_modules/request-promise-core/lib/errors.js:14:15) at Request.plumbing.callback (/usr/lib/node_modules/homebridge-vera/node_modules/request-promise-core/lib/plumbing.js:87:29) at Request.RP$callback [as _callback] (/usr/lib/node_modules/homebridge-vera/node_modules/request-promise-core/lib/plumbing.js:46:31) at self.callback (/usr/lib/node_modules/homebridge-vera/node_modules/request/request.js:185:22) at Request.emit (events.js:198:13) at Request.onRequestError (/usr/lib/node_modules/homebridge-vera/node_modules/request/request.js:877:8) at ClientRequest.emit (events.js:198:13) at Socket.socketErrorListener (_http_client.js:392:9) at Socket.emit (events.js:198:13) at emitErrorNT (internal/streams/destroy.js:91:8) at emitErrorAndCloseNT (internal/streams/destroy.js:59:3) at process._tickCallback (internal/process/next_tick.js:63:19)
Are you sure that's your vera IP address? what do you get when you browse on that address? http://192.168.1.227:3480
I can confirm that it’s my IP address. However everything seems to be working just fine though given the error
But is it the Vera’s IP address
On 17-06-2020, at 09:27, deboy69 [email protected] wrote:
I can confirm that it’s my IP address. However everything seems to be working just fine though given the error
— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/damianxd/homebridge-vera/issues/176#issuecomment-645373201, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAEIXNUGOAOR3RDSPV2P6MDRXDAFNANCNFSM4OAQO3UQ.
It is the vera IP address
Any idea what is causing the errors?
Bueller.... Bueller.. Bueller... LOL?
Any help on this issue? Causes a bit of a delay when talking to siri
Googling looks like port 3480 is closed.
"As part of our ongoing commitment to platform hardening and robustness, we are deploying several security enhancements in the coming months. Beginning with our 7.27 release (Beta begins mid-March), all Vera controllers will be secured by default , which means that:
Ports 22, 80, 443, 3480, and 49451 will be blocked on all the network interfaces , except the local loopback interface (localhost / 127.0.0.1)."
Unfortunately I believe we’re going to have to find new maintainers of homebridge-Vera or accept a pull request. I think Damian has moved on to Homey and I’ve decided to make the move to Hubitat. I can say this was working for me as recently as last month, with lightning fast response times and your issue seems to be isolated (many others use this plug-in). Happy to accept a pull request if you track down the solution.
it works most of the time but when the error happens its slow sometimes up to 10-15 second delay. Ill see what I can come up with
Think i figured out what needs to be changed but i dont know what to do to make the changes
Hello
Are you aware of up coming Vera api changes ?
http://forum.micasaverde.com/index.php/topic,56959.0.html
They are closing some port numbers and changing the way the URLs should be formatted.
Solution This issue can't be fully fixed by the plugin developers, however, it's necessary that all the data_requests are made on port_3480, and NOT directly on port 3480, or on port 49451, or on port_49451.
So, any request that looks like this: http://VERA_IP:3480/data_request?id=SOME_VALUE http://VERA_IP:49451/data_request?id=SOME_VALUE http://VERA_IP/port_49451/data_request?id=SOME_VALUE
Must be rewritten to look like this: http://VERA_IP/port_3480/data_request?id=SOME_VALUE
Can anyone help with this?
Linkhttps://github.com/bwssytems/ha-bridge/issues/924
What Ive changed and will report back to see if that will fix it. Opened terminal in homebridge and went to /homebridge/node_modules/homebridge-vera Opened VeraLink.js Changed /:3480 to /port_3480
@deboy69 / @drewcovi can we get a published beta version with the latest changes in the code? 0.8.3-beta.13? How can I manually merge these changes with my homebridge instance?
Thanks.