Teamspeak 3 Port Stream high packet lose
Checklist
- Have you pulled and found the error with
jc21/nginx-proxy-manager:latestdocker image? yes - Are you sure you're not using someone else's docker image? yes Have you searched for similar issues (both open and closed)? yes
Describe the bug Port 9987 is streamed with the proxy and the packet lose is around 80% most of the time...with a direct connection i got 0% lost packages
I tested it, and you are right that without reuseport, UDP packets are dropped during streaming. Adding the reuseport option to the listen directive in nginx solves this issue by allowing the kernel to distribute incoming UDP packets evenly across multiple worker processes. This reduces packet loss and improves the stability of the streamreuseport in nginx works by giving each worker its own socket, so packets from the same UDP connection consistently reach the same worker, which is crucial for maintaining session integrity in UDP streaming.
Solution (fix template): https://gitea.linuxiarz.pl/gru/npm-angie-auto-install/commit/e14355ea339a02a38406327a387f9997583b1ae6
It is available by default in my auto install script.
@zdzichu6969 how should i use it in my current installation to fix this issue ? Can you open a pull request ? So its for everybody ? I just can see changes for ipv6, but I have the issue with ipv4.
I’m seeing the same issue: running a Factorio server behind Nginx with PortStreaming introduces constant lag and poor upload performance. When I bypass Nginx and forward the port directly, everything runs smoothly. All on IPv4 only
Can you perhaps make a minimal reproduction of the issue and show how you test for the packet loss?
This is the setting in the nginx proxy:
In teamspeak i see the packetdrop in the settings. Which detailed infos i can give you ?
in my case the prove of the issue is that connection stats in Factorio, what configs from nginx could i possible give you besides the same "Add Stream" picture like "bonderaustria"
Are there any thing we can provide to help find a solution for this issue?