homebridge-homesung icon indicating copy to clipboard operation
homebridge-homesung copied to clipboard

Unable to send the key: connect ECONNREFUSED

Open locnho opened this issue 6 years ago • 7 comments

Hi,

I got this all working. But once I power off the TV and start over again, I get "Unable to send the key: connect ECONNREFUSED 192.168.1.11:8000" on the Homebridge console. Anyone see this and how to fix it?

locnho avatar Nov 12 '18 03:11 locnho

It happens to me too, it looks like the TV renew lease of the key (maybe a protection of the TV?) i haven't been able to sort it

lasry1 avatar Nov 12 '18 15:11 lasry1

Hi,

Can’t we just change to re-do the connection again when this failed. Try for three time and give up.

-Loc

Sent from my iPhone

On Nov 12, 2018, at 07:11, lasry1 [email protected] wrote:

It happens to me too, it looks like the TV renew lease of the key (maybe a protection of the TV?) i haven't been able to sort it

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

locnho avatar Nov 13 '18 01:11 locnho

This also happens with me. I however seems related to a time-out as well as it doesn't always happen. I sometimes can turn on/off the TV multiple times before this happens

kaosmagix avatar Nov 14 '18 20:11 kaosmagix

I can't say for sure but it seems like an issue when you power off from the remote instead from the HomeKit.

locnho avatar Nov 16 '18 05:11 locnho

I am not sure it is related. But while working on my project - https://github.com/locnho/homebridge-vsx, I notice that I get ECONNREFUSED too. But it also complain about emitter limit. After set the emitter limit to 100, it works just fine with my Pioneer SC-1223K receiver.

locnho avatar Nov 18 '18 06:11 locnho

@locnho Are you saying you can't use the remote to power off anymore? Tat would be a shame, but let me test some more.

kaosmagix avatar Nov 18 '18 08:11 kaosmagix

Yes... Once I get the ECONNREFUSED, the Homekit App control will NO longer work until I re-start the homebridge application. The homesung plugin keeps getting ECONNREFUSED error as it won't be able to communicate with the Samsung H6300 TV.

locnho avatar Nov 19 '18 05:11 locnho