# Connection lost when select an option from dropdown node

**URL:** https://discourse.nodered.org/t/connection-lost-when-select-an-option-from-dropdown-node/62113
**Category:** General
**Created:** [3 May 2022 10:39 UTC](https://discourse.nodered.org/t/connection-lost-when-select-an-option-from-dropdown-node/62113 "2022-05-03T10:39:26Z")
**Posts on this page:** 5
**Page:** 2

<div class="post-metadata">

### Author: ![QGIO](https://avatars.discourse-cdn.com/v4/letter/q/f17d59/32.png) [@QGIO](https://discourse.nodered.org/u/QGIO)
#### Post date: [3 May 2022 14:22 UTC](https://discourse.nodered.org/t/connection-lost-when-select-an-option-from-dropdown-node/62113/21 "2022-05-03T14:22:05Z")

</div>

Coming back to where you said "In my flow I see that the debug after the dropdown selection is not executed" I suspect it IS happening but something else happens.

I suppose this is because in the moment I select the option (for example 81), I have the Connection lost.

I extract the part of the flow where the problem arises. I also disabled the node linked to the dropdown node, but it is the same. So I don't know what I can share that can help to solve this issue.

And the other important element is that if I run the flow in local (I mean the flow is located in my PC and query to the same database are perfomed), it works (no error of connection to the SQL database appears)!

Really, I don't know where look to find the problem.

---

<div class="post-metadata">

### Author: ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)
#### Post date: [3 May 2022 15:11 UTC](https://discourse.nodered.org/t/connection-lost-when-select-an-option-from-dropdown-node/62113/22 "2022-05-03T15:11:10Z")

</div>

> [@QGIO](#):
>
> no error of connection to the SQL database appears

When you get this ↑ database connection error - show me what you see

---

<div class="post-metadata">

### Author: ![QGIO](https://avatars.discourse-cdn.com/v4/letter/q/f17d59/32.png) [@QGIO](https://discourse.nodered.org/u/QGIO)
#### Post date: [4 May 2022 06:56 UTC](https://discourse.nodered.org/t/connection-lost-when-select-an-option-from-dropdown-node/62113/23 "2022-05-04T06:56:19Z")

</div>

I was meaning that I didn't see errors, so the query to the SQL database was done and results were given.

---

<div class="post-metadata">

### Author: ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)
#### Post date: [4 May 2022 07:02 UTC](https://discourse.nodered.org/t/connection-lost-when-select-an-option-from-dropdown-node/62113/24 "2022-05-04T07:02:05Z")

</div>

Sorry @QGIO it is very difficult to diagnose your issue without seeing or having access to your entire flow.

I will spare you 10 mins if you want to do that (DM me)

---

<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: [3 July 2022 08:05 UTC](https://discourse.nodered.org/t/connection-lost-when-select-an-option-from-dropdown-node/62113/26 "2022-07-03T08:05:03Z")

</div>

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

[Previous page](https://discourse.nodered.org/t/connection-lost-when-select-an-option-from-dropdown-node/62113.md?page=1)
