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

Self Hosted Error with private server #82

Open
ParadigmITOps opened this issue Jan 31, 2024 · 4 comments
Open

Self Hosted Error with private server #82

ParadigmITOps opened this issue Jan 31, 2024 · 4 comments

Comments

@ParadigmITOps
Copy link

Hi All,

Just to get it out there if you get the following error message when attempting to test with your own self-hosted librespeedtest instance:

Selected server is not responding at the moment, try again later

The fix is just to add the "backend/" to the variables with the php files, I did not figure this out on my own, it was posted [HERE] by @fmolinelli (#27)

[
  {
    "id": 0,
    "name": "<Name>",
    "server": "http://URL or IP/",
    "dlURL": "backend/**garbage.php",
    "ulURL": "backend/empty.php",
    "pingURL": "backend/empty.php",
    "getIpURL": "backend/getIP.php"
  }
]
@tomsik-radek
Copy link

Did you get this working?

@ParadigmITOps
Copy link
Author

Yes after adding the backend the CLI started to work correctly

@rafipiccolo
Copy link

why would you put ** before garbage.php ?
i get better results without this

@AndrewGoal
Copy link

Hi All,

Just to get it out there if you get the following error message when attempting to test with your own self-hosted librespeedtest instance:

Selected server is not responding at the moment, try again later

The fix is just to add the "backend/" to the variables with the php files, I did not figure this out on my own, it was posted [HERE] by @fmolinelli (#27)

[
  {
    "id": 0,
    "name": "<Name>",
    "server": "http://URL or IP/",
    "dlURL": "backend/**garbage.php",
    "ulURL": "backend/empty.php",
    "pingURL": "backend/empty.php",
    "getIpURL": "backend/getIP.php"
  }
]

Optimize it:

[
  {
    "id": 0,
    "name": "<Name>",
    "server": "http://URL or IP/backend/",
    "dlURL": "garbage.php",
    "ulURL": "empty.php",
    "pingURL": "empty.php",
    "getIpURL": "getIP.php"
  }
]

echo '[{"id": 1,"name": "a","server": "http://192.168.10.191:3888/backend/","dlURL": "garbage.php","ulURL": "empty.php","pingURL": "empty.php","getIpURL": "getIP.php"}]' | librespeed-cli --local-json - --server 1

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

4 participants