Skip to content
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

server is useless with default config #67

Open
ciupicri opened this issue Aug 8, 2023 · 3 comments
Open

server is useless with default config #67

ciupicri opened this issue Aug 8, 2023 · 3 comments

Comments

@ciupicri
Copy link

ciupicri commented Aug 8, 2023

Description

Maybe I'm misunderstanding something, but I was under the impression that software can be used as a local test server, not just a web page with a list of other test servers.

Server

1.1.5 with no custom settings

Client

firefox-116.0-2.fc38.x86_64

Steps to reproduce

  • Download speedtest-go_1.1.5_linux_amd64.tar.gz
  • Unarchive file, e.g. tar xzf speedtest-go_1.1.5_linux_amd64.tar.gz
  • Run ./speedtest-backend
  • Go to http://127.0.0.1:8989/

Expected behaviour

A web based test using this server

Screenshots

LibreSpeed Example

No servers available

@garci66
Copy link

garci66 commented Nov 1, 2023

did you find the correct settings?

@garci66
Copy link

garci66 commented Nov 1, 2023

If you open the client browser and select any of the other "files" ... like http://:8989/example-singleServer-chart.html then it works. I noticed there is a commit that replaced the index.html for a "good one" but its not in release 1.1.5 but newere. Could we get a newere build?

@ciupicri
Copy link
Author

ciupicri commented Nov 1, 2023

I've just cloned the repository (commit 7001fa4), compiled the project with go build -ldflags "-w -s" -trimpath -o speedtest main.go then I run ./speedtest.

Next I've started a browser (Firefox) and voilà, it seems I was able to run a local test at address http://127.0.0.1:8989/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants