question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[BUG] Socket Connector can't connect two or more client devices.

See original GitHub issue

Describe the bug I use socket connector as tcp server, and I want to connect 2 or more device. My socket.json is like this: { "name": "TCP Connector Example", "type": "TCP", "address": "192.168.200.129", "port": 50000, "bufferSize": 1024, "devices": [ { "address": "192.168.32.58:50001", "deviceName": "QX-001", "deviceType": "airdevice", "encoding": "utf-8", "telemetry": [ { "key": "temp", "byteFrom": 0, "byteTo": -1 }, { "key": "hum", "byteFrom": 0, "byteTo": 2 } ] }, { "address": "192.168.32.55:50002", "deviceName": "QX-002", "deviceType": "airdevice", "encoding": "utf-8", "telemetry": [ { "key": "temp", "byteFrom": 0, "byteTo": -1 }, { "key": "hum", "byteFrom": 0, "byteTo": 2 } ] } ] }

First of all, I create an “airdevice” profile in device profile, and specified the rule chain. image

Then, I started my gateway. But, only one device has the device type “airdevice” and the telemetry data goes into my specified rule chain, another device’s type is “default” and the telemtery data goes into the Root Rule Chain. image

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
qwyinxiangcommented, Oct 25, 2022

I have resolved this problem, It is the problem of thingsboard, I restarted thingsboard JS executor microservice, and everything goes well。thank you very much.

0reactions
samson0vcommented, Oct 19, 2022

@qwyinxiang any updates?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Cannot connect two devices with socket (python)
I have another file called client.py in my Ipad. server.py should await a connection from the Ipad, and accept it. client.py should send...
Read more >
"Cannot connect the computer to the server" error message ...
After you start the client connector on client computer, you may receive the following error message: Cannot connect the computer to the server...
Read more >
Device Can't Connect to Wi-Fi? Here's What to Do
If your Network Adapter reads “Not Connected,” click “Connect.” One of two things may happen. If you can't connect to your network, you...
Read more >
How to fix 8 common remote desktop connection problems
First, try to establish a session from a client that has been able to successfully connect in the past. The goal is to...
Read more >
Wi-Fi Dropping Issues: 2022's Real Tips - Dong Knows Tech
I just got a new (and better) router, and my 2.4GHz devices have a ... And there are two sides to a wireless...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found