Comments (11)
Server.
Server Requirements :
Nginx, Apache, IIS, Express, or Any Web server that supports HTTP/1.1.
Accept, GET, POST, HEAD & OPTIONS, Response 200 OK.
Accept, POST to Static Files, Response 200 OK.
Timeout greater than 60 seconds.
Disable Access logs for Increasing server performance.
Improve Time to First Byte (TTFB)
Follow our Nginx Config.
from speed-test.
look at the browser console,
Post request is not handled properly by your server.
Make sure you enabled post to static files and post body content 35+ Mb.. https://github.com/openspeedtest/Nginx-Configuration
from speed-test.
Did you try the community plugin? It's available for TrueNas Core and Scale. It's ready to use, No manual configuration needed.
from speed-test.
I did, but it posed two challenges: 1) It's an additional Jail that consumes resources when I have a Caddy server / jail already running, and 2) I was having challenges setting it up behind a reverse proxy to be able to see it from the public internet. My solution was to host it on my already public-facing Caddy server, since I could just point a subdomain to it. The challenge at this point is figuring out how to configure Caddy to work with OpenSpeedTest properly. I have a forum thread open on the Caddy community, but haven't gotten much traction yet. https://caddy.community/t/configuring-caddy-for-openspeedtest/16863
from speed-test.
Personally i never used Caddy. And this is a configuration error. I will post a guide and send you an update if i got some time to play with Caddy. so i am closing this issue for now. because this is not an issue with speed test script itself. it is behaving the way it is designed.
from speed-test.
Would it be possible to take a look at https://caddy.community/t/configuring-caddy-for-openspeedtest/16863 and help them with the requirements needed to run OpenSpeedTest? They're not familiar with it, so I am hoping the two groups working together can help resolve this and make it more accessible to more users. Thank you!
from speed-test.
Turn off GZip for " Downloading " and " Upload " files.
Enable post to Static file for " Upload " File or location.
If you enable HTTP2 or 3 you need to proxy pass upload request to an HTTP 1.1 location. Otherwise server will not wait for post body content and return 200. You will see huge upload speed numbers like this. Disable http 2 or 3 and stick with 1.1 or proxy_pass to 1.1 location.
We make losts of requests during test. So it's better if you disable acess logs. (Save disk io and cpu cycles) .
Within few days I will test Cady with Openspeedtest and send you an update.
from speed-test.
That's wonderful, thank you! (I will be out of town for a week, so I may be slow to reply, but this is very appreciated.)
from speed-test.
I try caddy, but it's not easy to write rules like Nginx. So i think running openspeedtest jail behind caddy is better option. In that jail all we installed is Nginx. So it will not consume much resources. Even docker version consume only 4 to 10 Mb ram. I may need to spend more time with caddy to understand how it works. For now i am busy with some backend stuff. See you later.
from speed-test.
Check #67
Should work.
You need jail or docker behind caddy.
reverse_proxy http://localhost:3000 {
buffer_requests
buffer_responses
flush_interval -1
max_buffer_size 35MiB
}
Caddy’s file server doesn’t support file uploads. If you want to upload files, you’ll need to use another tool (and you can put Caddy as a proxy in front of it).
https://caddy.community/t/how-to-upload-a-file-via-post-and-with-auth/12279/2
from speed-test.
Thank you! This seems to work well... I'm not getting results that are orders of magnitude off any more. I need to test more thoroughly when I am home and not at work, but this looks to have helped!
from speed-test.
Related Issues (20)
- Features Request: Limit Simultaneous Speed Tests and Prevent Abuse HOT 3
- Option not to confirm quitting on MacOS HOT 2
- Accessibility: make the interface navigable by the keyboard HOT 1
- embed OpenSpeedTest arguments HOT 2
- Migration to organization HOT 1
- API Accessible SpeedTests HOT 1
- WMIC Deprecation HOT 5
- macOS: support native launch on login, quiet launch (launch without window), and hiding dock icon HOT 1
- Crazy upload speeds HOT 6
- There is no option to change the Network Adapter HOT 1
- [Challenge] Run OpenSpeedTest on Ubuntu Server HOT 2
- Feature Req: Flatpak and/or appimage for Linux HOT 2
- IOS version of app doesn't recognize non-wifi interfaces HOT 1
- Getting canceled and failed uploads and downloads HOT 4
- Feature Request: Provide core functionality as a library HOT 1
- Does Openspeedtest support 2.5+Gbps? HOT 2
- Insane download and upload speeds on a gig plan HOT 4
- [ It was False Positive ] OpenSpeedTest-Server 2.1.8_ia32.exe For Windows x86-32 flagged as virus HOT 5
- Slow dowload speeds HOT 2
- CSS not loading after changing the port in Nginx HOT 2
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 speed-test.