Comments (4)
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.
This is my nginx config:
location / {
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header Host $http_host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-Host $http_host;
proxy_set_header X-Forwarded-Server $http_host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
gzip off;
proxy_redirect off;
proxy_buffering off;
client_max_body_size 256M;
proxy_pass http://localhost:8181/;
}
from speedtest.
Hi @santowiryamann
I'm sadly aware the speedtest is not running as expected behind a proxy.
This is something I would be able to fix, but to be honest, which is not in top of my list.
I definitely reckon it as a bug, and will try to investigate at some point.
Regards.
from speedtest.
I found an irregularity in the bandwidth test part.
I tagged a version 0.5.4-alpha.0 that you may try.
I'm not sure that it was the root coause, but let me know if it helps.
Also built and available through Docker: https://hub.docker.com/layers/e7db/speedtest/v0.5.4-alpha.0/images/sha256-35ccac2eca91e63f46e706d9630353dfa0e498f1abc6e3b8c9b52cf5ad73ab74?context=repo
from speedtest.
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
Tag + Traefik = 1200+- Mbps
Master + direct = 360 Mbps
Tag + direct = 223 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
from speedtest.
Related Issues (20)
- Running behind a Load Balancer, with and without SSL HOT 1
- Speedtest Installation Failed
- Add a option to disable fetch ipinfo HOT 7
- Speedtest behind a Proxy in Nginx HOT 2
- Cannot set any parameters in config.json HOT 5
- Missing js and css when using a reverse Proxy in a subdirectory HOT 3
- ARM Image?
- Platform
- error speedtest@ setup: `npm ci && lerna bootstrap` HOT 1
- Question
- librsvg-CRITICAL on results page (Docker)
- max xhr requests, multiple servers parallel
- How to Rebuild Docker Container
- Is there any way to...?
- How to get result via cli
- `node-sass` issue HOT 1
- Links on about page don't work
- The real IP of the local computer
- IPv6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from speedtest.