Open chengguizi opened 1 month ago
It is also reproducible using ecal_mon_cli -l
, when the commanded started with Ethernet connected.
Hi @chengguizi we'll look into this problem. In general, there is one socket for sending and one for receiving data for udp monitoring/registration traffic. I am unsure how that socket behaves, when the cable is unplugged, and how we handle this, in case of network enabled.
If you're working in local mode, there are no problems (at least on Windows), but as said, we need to investigate for Linux devices.
If you're enabling shm monitoring, you're sending monitoring info on both shm and udp. Shm is unaffected by network settings, and continues to function. However, with this mode you see only processes on the same host.
Hi @KerstinKeller , yes I agree there is no issues for Linux when in local mode. However, the use case was to use in cloud mode. And it is kind of a unwanted behaviour that such breaks happens when ethernet cable is unplugged.
@KerstinKeller Any updates on this? Should be able to reproduce on any embedded SBC, i.e. rasperberry pi with Ethernet
Problem Description
We have been using eCAL on embedded system. A typical opertion procedure is that:
However, this operation is not working as expected. I have identify the key affecting factors.
That is to say, if i increase the timeout to 50000, instead of sub node breaks after 5 sec, it breaks after 50 sec or so
The issue seems to go away!
What is happening here? Is monitoring layer not falling back to lo multicast successfully, during runtime?
routing table on device. It has been setup that the multicast should fall back to lo if br0 (ethernet interface) is not present
How to reproduce
on embedded device:
Use ssh through ethernet connection:
in consult UART connection
Observe that everything works correctly. Now unplug ethernet. After 5 second or so. the mon_tui become blank. Then, replug Ethernet, things comeback
Another strange thing. If we run
ecal_sample_person_rec
, the issue seems not there.How did you get eCAL?
Custom Build / Built from source
Environment
Debian 12, arm64
eCAL System Information