# Telegram not connecting: String\[36\] "Error stopping node: Close timed out"

**URL:** <https://discourse.nodered.org/t/telegram-not-connecting-string-36-error-stopping-node-close-timed-out/64076>\
**Category:** General\
**Created:** [17 June 2022 12:37 UTC](https://discourse.nodered.org/t/telegram-not-connecting-string-36-error-stopping-node-close-timed-out/64076 "2022-06-17T12:37:38Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![JannieO](https://avatars.discourse-cdn.com/v4/letter/j/8dc957/32.png) [@JannieO](https://discourse.nodered.org/u/JannieO)\
**Post date:** [17 June 2022 12:37 UTC](https://discourse.nodered.org/t/telegram-not-connecting-string-36-error-stopping-node-close-timed-out/64076/1 "2022-06-17T12:37:38Z")

</div>

**Background**  
I loaded node-red-contrib-telegrambot on Raspberry Pi4 using Node-Red Pallet  
Then I create a bot with botfather.(and got a Token ,use r& chatID)

If I test sending messages via the Pi web browser it works. But I can not get it working via Node-Red !  
But I don't get it working in Node-Red

**I made sure of the following:**  
Only have one node red running with this Bot  
Only one telegram bot in one flow  
Only same telegram bot in one flow  
Only one and same telegram bot in one flow  
I did restart Pi after adding new Bot name to send / receive node

**Software:**  
Debian 11.3 Bullseye (64Bit) Running on external SSD  
Linux 5.15.32-v8+ arm64 LE  
Node-RED version: v2.2.2  
Node.js version: v14.19.3  
node-red-contrib-telegrambot V11.3 (Installed via the Node-Red pallet)  
mosquitto is an MQTT v5.0/v3.1.1/v3.1 broker.  
influxdb 1.8.10-1  
Grafana 8.5

**Question**

1. Why would a message go through with Pi web browser but not with Node-Red?
2. Can it be a port clash. (Port already be used by other program?
3. Does node-red-contrib-telegrambot use a specific port?

Link for simple echo Node-red flow [Link](https://drive.google.com/drive/folders/1N0Yd_a-gvb4cPJ2P1i2XkpFclH4KgMB_?usp=sharing)

Regards

---

<div class="post-metadata">

**Author:** ![dynamicdave](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dynamicdave/32/96_2.png) [@dynamicdave](https://discourse.nodered.org/u/dynamicdave)\
**Post date:** [17 June 2022 16:20 UTC](https://discourse.nodered.org/t/telegram-not-connecting-string-36-error-stopping-node-close-timed-out/64076/2 "2022-06-17T16:20:39Z")

</div>

If you can share your NR flow it might help people to help you find where String[36] error is coming from.

---

<div class="post-metadata">

**Author:** ![JannieO](https://avatars.discourse-cdn.com/v4/letter/j/8dc957/32.png) [@JannieO](https://discourse.nodered.org/u/JannieO)\
**Post date:** [18 June 2022 11:16 UTC](https://discourse.nodered.org/t/telegram-not-connecting-string-36-error-stopping-node-close-timed-out/64076/3 "2022-06-18T11:16:24Z")

</div>

Hi Dave. I added my code as a link. (It is a simple echo flow).

---

<div class="post-metadata">

**Author:** ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)\
**Post date:** [18 June 2022 16:21 UTC](https://discourse.nodered.org/t/telegram-not-connecting-string-36-error-stopping-node-close-timed-out/64076/4 "2022-06-18T16:21:25Z")

</div>

1 - the link you provided is not your node-red flow it is an html page  
2 - most people will not down load a file.

To provide your flow, open NR and go to the hamburger menu. Select `Export`, click on all flows, click the "Copy to clipboard` and add it too a reply.

In order to make code readable and usable it is necessary to surround your code with three backticks (also known as a left quote or backquote `````)

````auto
``` 
   code goes here 
```

````

You can edit and correct your post by clicking the pencil ✏ icon.

See this post for more details - [How to share code or flow json](https://discourse.nodered.org/t/how-to-share-code-or-flow-json/506)

---

<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:** [17 August 2022 16:22 UTC](https://discourse.nodered.org/t/telegram-not-connecting-string-36-error-stopping-node-close-timed-out/64076/5 "2022-08-17T16:22:17Z")

</div>

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