librespeed / speedtest-go

Go backend for LibreSpeed
GNU Lesser General Public License v3.0
724 stars 153 forks source link

server is useless with default config #67

Open ciupicri opened 1 year ago

ciupicri commented 1 year ago

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

Expected behaviour

A web based test using this server

Screenshots

LibreSpeed Example

No servers available

garci66 commented 11 months ago

did you find the correct settings?

garci66 commented 11 months ago

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 commented 11 months ago

I've just cloned the repository (commit 7001fa4fa52945cbc6d4c32200bbcce7bbf6145c), 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/