-
Notifications
You must be signed in to change notification settings - Fork 29.6k
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
UDP packet loss #4199
Comments
I played around and discovered that it happens starting from approx. 20 packets/s. |
Can you pass a callback to udpServer.send and see if you get any error? |
Have tried it earlier, i never received an error. |
@Vavooon can you run the test with
|
Here's small part of log :)
|
The strace and wireshark output suggest it's not a node issue. The datagrams are handed off to the kernel without issue but the kernel has trouble sending them out from time to time. I speculate there is something in your local network that intentionally or unintentionally rate-limits traffic. |
Ok, but i have this bug not only on RPI, but on Windows and Ubuntu. It happens to me on localhost too, so my LAN devices (switch or router) do not affect. |
Maybe the python program can't send data fast enough to trigger it? |
Hi.
and i can see that that number is ordinal even in packets with not ordinal seq numbers. I also confirmed that slow Python app (haha, nice joke, bnoordhuis :D ) sends UDP with not ordinal seq numbers. |
Hi.
My Node app doesn't send some UDP packets.
It happens on different versions of Node (5.1.1, 0.10.x) and on different OSes (Win 10 and Raspbian (RPI Debian)).
Here's the one for reproduction:
I guess it is the same issue: nodejs/node-v0.x-archive#6696
Wireshark shows that not all packets are sent, for example sequence ID of next packet can be bigger on 5 or even 15.
The text was updated successfully, but these errors were encountered: