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

Nodered error when trying to connect to loxone miniserver #24

Open
cocos-cz opened this issue Dec 7, 2020 · 2 comments
Open

Nodered error when trying to connect to loxone miniserver #24

cocos-cz opened this issue Dec 7, 2020 · 2 comments

Comments

@cocos-cz
Copy link

cocos-cz commented Dec 7, 2020

originaly posted on node-red-contrib-loxone - codmpm/node-red-contrib-loxone#58 and suggested that error comes from this node:

I am trying to get up and running node-red with my loxone miniserver, but the moment I set the miniserver details, nodered starts crashing..

I am getting this error:
TypeError: Cannot read property 'closeDescription' of undefined
at Connection. (/home/pi/.node-red/node_modules/node-lox-ws-api/lib/Connection.js:64:62)
at WebSocketClient.emit (events.js:314:20)
at ClientRequest.handleRequestError (/home/pi/.node-red/node_modules/websocket/lib/WebSocketClient.js:227:14)
at ClientRequest.emit (events.js:314:20)
at Socket.socketErrorListener (_http_client.js:427:9)
at Socket.emit (events.js:314:20)
at emitErrorNT (internal/streams/destroy.js:92:8)
at emitErrorAndCloseNT (internal/streams/destroy.js:60:3)
at processTicksAndRejections (internal/process/task_queues.js:84:21)
nodered.service: Main process exited, code=exited, status=1/FAILURE
nodered.service: Failed with result 'exit-code'.

Thats when I try to setup "online" node to test the connection.. When I delete everything from the flow, i am getting:
WebSocket error: Socket Error: undefined ERR_STREAM_WRITE_AFTER_END 1006

and after some time crash again... seems like I am not able to connect to the miniserver.. anybody out there, who could help, how to make stable login into miniserver?

R4pi 8GB, on raspberry Pi OS, all updates done.

Thanks

@rc-itcon
Copy link

rc-itcon commented Feb 6, 2021

Hello.
Same issue with latest homebridge und Loxone Version.

using Loxone-Homebridge Plugin

Thank you

@killeriq
Copy link

same here :( didnt changed any Loxone version...just password, before was running fine

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

3 participants