# Wrong socketid displayed by ui-control node

**URL:** <https://discourse.nodered.org/t/wrong-socketid-displayed-by-ui-control-node/54188>\
**Category:** Dashboard\
**Created:** [23 November 2021 23:57 UTC](https://discourse.nodered.org/t/wrong-socketid-displayed-by-ui-control-node/54188 "2021-11-23T23:57:09Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ninoflorj](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ninoflorj/32/51493_2.png) [@ninoflorj](https://discourse.nodered.org/u/ninoflorj)\
**Post date:** [23 November 2021 23:57 UTC](https://discourse.nodered.org/t/wrong-socketid-displayed-by-ui-control-node/54188/1 "2021-11-23T23:57:09Z")

</div>

Hi,

I think i have found an issue, but I'm not sure.  
With the newest version of Node-Red Dashboard (3.1.2), the UI-Control node outputs the wrong Socket IDs (msg.socketid) when an event (connect, disconnect...) happens in the Dashboard.  
So, if i want to send a command to a dashboard node with the socketid given by the UI-Control, nothing happens.  
But if i use the socketid given by the Browser-URL of the dashboard client, everything works, and the command is only sent to this browser-session.

In an older version of the Dashboard (tested with 2.9) everything works just fine, and the ui-control Node outputs the correct socketid.

@dceejay Is this a bug or a different Behavior in this newer version that i don't understand?

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [24 November 2021 06:55 UTC](https://discourse.nodered.org/t/wrong-socketid-displayed-by-ui-control-node/54188/2 "2021-11-24T06:55:18Z")

</div>

I suspect its an issue. Needs investigation

---

<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:** [8 December 2021 06:55 UTC](https://discourse.nodered.org/t/wrong-socketid-displayed-by-ui-control-node/54188/3 "2021-12-08T06:55:58Z")

</div>

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