# Blynk-Iot-client socket error

**URL:** <https://discourse.nodered.org/t/blynk-iot-client-socket-error/81439>\
**Category:** General\
**Created:** [19 September 2023 19:17 UTC](https://discourse.nodered.org/t/blynk-iot-client-socket-error/81439 "2023-09-19T19:17:50Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![AnandJhaveri](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/anandjhaveri/32/63008_2.png) [@AnandJhaveri](https://discourse.nodered.org/u/AnandJhaveri)\
**Post date:** [19 September 2023 19:17 UTC](https://discourse.nodered.org/t/blynk-iot-client-socket-error/81439/1 "2023-09-19T19:17:50Z")

</div>

**My configuration:**  
NodeRed v3.0.2 running on Raspberry Pi 4 with 8gb memory  
node-red-contrib-blynk-iot v1.0.0

I am using the node-red-contrib-blynk-iot to connect NR to my Blynk screen running on my iPhone 13, running IoS 16.6.1

**Issue that I'm facing**  
The connection between the blynk node and it's server keeps dropping regularly.

The NodeRed log looks like this:

```auto
19 Sep 21:34:33 - [error] [blynk-iot-client:Jhaveriwadi] Socket errorError: connect ECONNREFUSED 68.183.87.221:443
19 Sep 21:34:33 - [info] [blynk-iot-client:Jhaveriwadi] Client Error
19 Sep 21:34:33 - [info] [blynk-iot-client:Jhaveriwadi] Reconnect in 5 seconds...
19 Sep 21:34:38 - [info] [blynk-iot-client:Jhaveriwadi] Start TLS connection: blynk.cloud:443
19 Sep 21:34:38 - [error] [blynk-iot-client:Jhaveriwadi] Socket errorError: connect ECONNREFUSED 68.183.87.221:443
19 Sep 21:34:38 - [info] [blynk-iot-client:Jhaveriwadi] Client Error
19 Sep 21:34:38 - [info] [blynk-iot-client:Jhaveriwadi] Reconnect in 5 seconds...
19 Sep 21:34:43 - [info] [blynk-iot-client:Jhaveriwadi] Start TLS connection: blynk.cloud:443
19 Sep 21:34:43 - [error] [blynk-iot-client:Jhaveriwadi] Socket errorError: connect ECONNREFUSED 68.183.87.221:443
19 Sep 21:34:43 - [info] [blynk-iot-client:Jhaveriwadi] Client Error
19 Sep 21:34:43 - [info] [blynk-iot-client:Jhaveriwadi] Reconnect in 5 seconds...
19 Sep 21:34:48 - [info] [blynk-iot-client:Jhaveriwadi] Start TLS connection: blynk.cloud:443
19 Sep 21:34:48 - [error] [blynk-iot-client:Jhaveriwadi] Socket errorError: connect ECONNREFUSED 68.183.87.221:443
19 Sep 21:34:48 - [info] [blynk-iot-client:Jhaveriwadi] Client Error
19 Sep 21:34:48 - [info] [blynk-iot-client:Jhaveriwadi] Reconnect in 5 seconds...
19 Sep 21:34:53 - [info] [blynk-iot-client:Jhaveriwadi] Start TLS connection: blynk.cloud:443
19 Sep 21:34:53 - [error] [blynk-iot-client:Jhaveriwadi] Socket errorError: connect ECONNREFUSED 68.183.87.221:443
19 Sep 21:34:53 - [info] [blynk-iot-client:Jhaveriwadi] Client Error
19 Sep 21:34:53 - [info] [blynk-iot-client:Jhaveriwadi] Reconnect in 5 seconds...
19 Sep 21:34:58 - [info] [blynk-iot-client:Jhaveriwadi] Start TLS connection: blynk.cloud:443
19 Sep 21:34:59 - [error] [blynk-iot-client:Jhaveriwadi] Socket errorError: connect ECONNREFUSED 68.183.87.221:443
19 Sep 21:34:59 - [info] [blynk-iot-client:Jhaveriwadi] Client Error
19 Sep 21:34:59 - [info] [blynk-iot-client:Jhaveriwadi] Reconnect in 5 seconds...
19 Sep 21:35:04 - [info] [blynk-iot-client:Jhaveriwadi] Start TLS connection: blynk.cloud:443
19 Sep 21:35:04 - [info] [blynk-iot-client:Jhaveriwadi] Client logged

```

Could anyone please suggest what needs to be done to prevent this?

Regards,  
Anand.

---

<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:** [18 November 2023 19:17 UTC](https://discourse.nodered.org/t/blynk-iot-client-socket-error/81439/2 "2023-11-18T19:17:57Z")

</div>

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