# Websocket close, does not connect

**URL:** <https://discourse.nodered.org/t/websocket-close-does-not-connect/47938>\
**Category:** General\
**Created:** [2 July 2021 09:59 UTC](https://discourse.nodered.org/t/websocket-close-does-not-connect/47938 "2021-07-02T09:59:10Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![juan\_R](https://avatars.discourse-cdn.com/v4/letter/j/ad7895/32.png) [@juan\_R](https://discourse.nodered.org/u/juan_R)\
**Post date:** [2 July 2021 09:59 UTC](https://discourse.nodered.org/t/websocket-close-does-not-connect/47938/1 "2021-07-02T09:59:11Z")

</div>

Hello,

I configure a **CP client JSON** but I can't connect to the server on the Internet.

I have checked that the url is correct and I try to send a bootnotification with the connection but does not connect and in the server I dont have any log.

I have tried to connect with websockets in python and it connects correctly.

Can you give me some idea how to get connected, do you know how I can look at the exact parameters it is sending to connect?

thanks for your help I am new with node red

---

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [3 July 2021 13:46 UTC](https://discourse.nodered.org/t/websocket-close-does-not-connect/47938/2 "2021-07-03T13:46:21Z")

</div>

> [@juan\_R](#):
>
> CP client JSON

Sorry, I don't know what that means.

> [@juan\_R](#):
>
> try to send a bootnotification with the connection

Again, not clear what that means I'm afraid.

> [@juan\_R](#):
>
> I have tried to connect with websockets in python and it connects correctly.

If this is working then clearly your other connection is the problem and not node-red. You will need to be able to descript what that connection is in greater detail.

---

<div class="post-metadata">

**Author:** ![juan\_R](https://avatars.discourse-cdn.com/v4/letter/j/ad7895/32.png) [@juan\_R](https://discourse.nodered.org/u/juan_R)\
**Post date:** [6 July 2021 08:22 UTC](https://discourse.nodered.org/t/websocket-close-does-not-connect/47938/3 "2021-07-06T08:22:03Z")

</div>

I had a problem with the handshake. thanks for your help.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [20 July 2021 08:23 UTC](https://discourse.nodered.org/t/websocket-close-does-not-connect/47938/4 "2021-07-20T08:23:00Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
