-
Notifications
You must be signed in to change notification settings - Fork 56
speedtest behind nginx upload numbers wrong? #29
Comments
Hi @santowiryamann I'm sadly aware the speedtest is not running as expected behind a proxy. I definitely reckon it as a bug, and will try to investigate at some point. Regards. |
I found an irregularity in the bandwidth test part. Also built and available through Docker: https://hub.docker.com/layers/e7db/speedtest/v0.5.4-alpha.0/images/sha256-35ccac2eca91e63f46e706d9630353dfa0e498f1abc6e3b8c9b52cf5ad73ab74?context=repo |
I am getting correct numbers without the patch, so for me there is no need to change anything. I think it is important to disable any buffer/caching in your nginx config.
|
I'm using speedtest with docker, behind Traefik proxy (also docker, same docker host). As I was having similar issues, I decided to test out the 4 combinations Master + Traefik = 2000+- Mbps Master + direct = 360 Mbps Running iperf3 between client machine and docker host I got 375Mbps. So I guess that the master is giving out correct numbers if the proxy is not messing up the values. I can't look deeper now but besides knowing the specific settings for the proxy (as mentioned by @maltechx), maybe the test can be updated to generate unbufferable/compressible random text? As not everyone will be able/allowed to change their reverse proxy settings |
Hi e7d,
I am very new to speedtest. I was able to run it on my debian system from the docker container. It listens at port 8081. I also configured nginx port 8443 (hhtps) to proxy-pass to port 8081. Seems to work but when going through nginx (port 8443) the upload numbers are twice as high. When going direct to port 8081, the numbers are more reasonable. My client is on a 1Gbps NIC and the server on 10Gbps. As you can see in the attached picture, the upload speed was reported as high as 1.9Gbps, which is not possible (see history in attached picture). Have you run into this problem? Thank you.
Kind regards,
-santo
The text was updated successfully, but these errors were encountered: