# Websocket disconnects

**URL:** <https://discourse.nodered.org/t/websocket-disconnects/20433>\
**Category:** General\
**Created:** [16 January 2020 08:37 UTC](https://discourse.nodered.org/t/websocket-disconnects/20433 "2020-01-16T08:37:39Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Montezoma](https://avatars.discourse-cdn.com/v4/letter/m/e9a140/32.png) [@Montezoma](https://discourse.nodered.org/u/Montezoma)\
**Post date:** [16 January 2020 08:37 UTC](https://discourse.nodered.org/t/websocket-disconnects/20433/1 "2020-01-16T08:37:39Z")

</div>

Hi,

I am trying to establish a WebSocket connection to a target URL provided by "[eu4pro.loriot.io](http://eu4pro.loriot.io)". When testing the connection on websocket(dot)org, everything seems to work.  
In Node-Red, however, only some messages arrive before disconnecting...  
On a different account ([eu1.loriot.io](http://eu1.loriot.io)), I generated another WebSocket URL (basically the same way). This somehow works without issues. I would be really grateful for any tips on how to find out why this is happening.

My node-red is installed on a VPS:  
npm -v 6.11.3  
node -v v10.17.0  
node-red 1.0.2

Is there a way to log the WebSocket node to find out why it is disconnected?

Best regards

Simon
