-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Network traffic triggers watchdog #337
Comments
This was running on 1ea1124 |
n.b. |
This appears pretty reproducible with 239.192.168.1 in my network. I'm looking into what's happening |
Disabling the watchdog indicates that booster remains operational throughout the whole event and doesn't encounter a true lockup. What I believe may be happening is that there's so much traffic incoming on the PHY that smoltcp and the W5500 need to process that it slows down processing of the application in general. I wonder if there's a way we can handle events like this where there's excessive ethernet traffic. |
It should not be seeing that traffic at all. The switch doesn't flood. |
I see the green ethernet LED remain consistently on during the Stabilizer stream period, indicating that Booster is indeed receiving excessive packets. I opened smoltcp-rs/smoltcp#848 around this, but this could be due to a cheap switch that isn't handling multicast properly as well. |
That doesn't seem to be the case here. I'm seeing close to zero traffic towards stabilizer (while another one is streaming multicast). As expected. |
This is likely then a W5500 or |
Do you have a router and/or managed switch in between? The switch I'm using with my local network is just some cheap unmanaged unit. I suspect that it's forwarding the multicast traffic to all of the ports regardless of subscription to the multicast group. |
There is a cisco 2960L in between. Whether that one can be called "managed" or not is debatable. But it does behave properly regarding non-flooding of multicast. |
We have found a similar issue when using the booster with an unmanaged switch with other traffic. The booster seems to reboot when it receives invalid packages on the MQTT port We will use a vlan for now, but it would be nice if this could be fixed to make integration into existing network structures easier. |
@aferk Contributions welcome. |
@aferk if you connect to the device when it's in this state and run the That will tell us why the device is resetting. |
Running
Sometimes I just get the
Booster HW is version 1.6 (non-HL) from Creotec. We tried to upgrade the firmware because of this issue sinara-hw/Booster#393, which both of our non-HL boosters regularly experience. |
@aferk The old firmware is dead and rotten. You will hopefully understand that this firmware here is bound to have the same fate as long as people don't invest into it or contribute or buy where the development is funded. |
The panic referenced above should be fixed in the latest release of the |
While testing out some multicast UDP traffic, I observed booster reboot twice. The service then indicated that a watchdog occurred. It's not clear if this was related to the Multicast traffic or not, but seemed to only occur when executing the Stabilizer streaming HITL with a streaming IP of 224.192.168.1
The text was updated successfully, but these errors were encountered: