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

Websocket Connection closed: 1006 Socket Error: undefined ERR_STREAM_WRITE_AFTER_END #26

Open
LukasLicko opened this issue Dec 5, 2021 · 0 comments

Comments

@LukasLicko
Copy link

Hello, I have problem with connection to the miniserver. I have same errors during the connection.

11:56:24] [LoxoneWs] Platform - Waiting 8 seconds until initial state is retrieved via WebSocket. [05/12/2021, 11:56:24] TypeError: Cannot read properties of undefined (reading 'closeDescription') at Connection.<anonymous> (/usr/local/lib/node_modules/homebridge-loxone-connect-pieter/node_modules/node-lox-ws-api/lib/Connection.js:62:62) at WebSocketClient.emit (node:events:390:28) at WebSocketClient.failHandshake (/usr/local/lib/node_modules/homebridge-loxone-connect-pieter/node_modules/websocket/lib/WebSocketClient.js:339:10) at ClientRequest.<anonymous> (/usr/local/lib/node_modules/homebridge-loxone-connect-pieter/node_modules/websocket/lib/WebSocketClient.js:278:18) at ClientRequest.emit (node:events:390:28) at HTTPParser.parserOnIncomingClient [as onIncoming] (node:_http_client:623:27) at HTTPParser.parserOnHeadersComplete (node:_http_common:128:17) at Socket.socketOnData (node:_http_client:487:22) at Socket.emit (node:events:390:28) at addChunk (node:internal/streams/readable:315:12) [05/12/2021, 11:56:24] Got SIGTERM, shutting down Homebridge...

is described here more: Sroose/homebridge-loxone-ws#51 (comment)

I use latest version of homebridge-loxone-ws or also I try with another one. I get still same error.

Raspberry pi3
OS Raspbian GNU/Linux Bullseye (11)
Node.js Version v16.13.0
Npm Version v8.1.4

Do you can help me? Thank you

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

1 participant