# No frame when I debug socketcan out

**URL:** <https://discourse.nodered.org/t/no-frame-when-i-debug-socketcan-out/75867>\
**Category:** General\
**Created:** [28 February 2023 09:02 UTC](https://discourse.nodered.org/t/no-frame-when-i-debug-socketcan-out/75867 "2023-02-28T09:02:41Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![David321](https://avatars.discourse-cdn.com/v4/letter/d/db5fbb/32.png) [@David321](https://discourse.nodered.org/u/David321)\
**Post date:** [28 February 2023 09:02 UTC](https://discourse.nodered.org/t/no-frame-when-i-debug-socketcan-out/75867/1 "2023-02-28T09:02:42Z")

</div>

Hello,  
I'm working on a project that uses the socketcan out, to visualize frames coming from a BMS (Battery Management System). So far when I debugged the socketcan out I was able to see the frames, but due to a problem I don't know I'm not getting any frames when I debug.

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/6/a/6a49c271b2ad3a05e301862d69636698d056adc7.png)

Has anyone had this problem before?  
Thanks for your help

---

<div class="post-metadata">

**Author:** ![rko](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/rko/32/45807_2.png) [@rko](https://discourse.nodered.org/u/rko)\
**Post date:** [28 February 2023 23:05 UTC](https://discourse.nodered.org/t/no-frame-when-i-debug-socketcan-out/75867/2 "2023-02-28T23:05:19Z")

</div>

Hi @David321

What version of `socketcan` are you using? Is it [node-red-contrib-socketcan](https://flows.nodered.org/node/node-red-contrib-socketcan)?

Are the messages sent to the bus at all? We currently do have some issues with NMT messages. For example `000#8101` (reset node 1) does not work at all.

In terminal: `cansend can0 000#8101` on the other hand works.

Edit: Oddly, if I create a new simple flow, everything works as expected

```auto
[{"id":"470bf6c40827a238","type":"tab","label":"Flow 2","disabled":false,"info":"","env":[]},{"id":"a8d97ceef7904699","type":"socketcan-in","z":"470bf6c40827a238","name":"socketcan-in","config":"da20a8f.2a06d58","x":370,"y":60,"wires":[]},{"id":"691c0675a67d32d8","type":"inject","z":"470bf6c40827a238","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"000#8101","payloadType":"str","x":140,"y":60,"wires":[["a8d97ceef7904699"]]},{"id":"a117d78ba48c5774","type":"socketcan-out","z":"470bf6c40827a238","name":"socketcan-out","config":"da20a8f.2a06d58","x":130,"y":140,"wires":[["c2da61d5c457fb66"]]},{"id":"c2da61d5c457fb66","type":"debug","z":"470bf6c40827a238","name":"debug 5","active":false,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","statusVal":"","statusType":"auto","x":340,"y":140,"wires":[]},{"id":"da20a8f.2a06d58","type":"socketcan-config","interface":"can0"}]

```

Okay, found the problem thanks to you 😉 The wire to the `socket-in` was not connected.  
Looks good, right?  
 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/8/c/8c1ce2dc97eea3569020ebe41c04fbbbb842ef66.png)

But if I move the node a bit (oops):  
 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/e/b/ebfccc11d4b2bba252def815229d2d9534dd7614.png)

Anyway .. if you share some bits of your flow, we can have a look.

---

<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:** [29 April 2023 23:05 UTC](https://discourse.nodered.org/t/no-frame-when-i-debug-socketcan-out/75867/3 "2023-04-29T23:05:47Z")

</div>

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