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

Error: Socket hang up #106

Open
atomicpapa opened this issue Dec 10, 2017 · 1 comment
Open

Error: Socket hang up #106

atomicpapa opened this issue Dec 10, 2017 · 1 comment

Comments

@atomicpapa
Copy link

I just received my first button today, so I am in the process of setting it up. I am running Home Assistant .59.2 on an Ubuntu 16.04 server that sits behind a purchased SSL cert. Dasher is running on the same machine as HASS. Any ideas?

When I press my dash button, I get the following error:

XXX pressed. Count: 8
[2017-12-10T01:08:09.188Z] there was an error
{ Error: socket hang up
at createHangUpError (_http_client.js:331:15)
at Socket.socketOnEnd (_http_client.js:423:23)
at emitNone (events.js:111:20)
at Socket.emit (events.js:208:7)
at endReadableNT (_stream_readable.js:1056:12)
at _combinedTickCallback (internal/process/next_tick.js:138:11)
at process._tickCallback (internal/process/next_tick.js:180:9) code: 'ECONNRESET' }

My config is as follows:

{"buttons":[
{
"name": "Dudes Meds",
"address": "fc:a6:67:2b:12:43",
"timeout": "60000",
"protocol": "udp",
"url": "https://ssl.hass.address/api/services/input_boolean/turn_on",
"method": "POST",
"headers": {"x-ha-access": "password"},
"body": "{"entity_id": "input_boolean.dude_meds"}"
}
]}

Also tried last line like this, with same error:

"body": {"entity_id": "input_boolean.dude_meds"}
@silversegarra
Copy link

Hello, did you solved?

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

2 participants