Comments (4)
TCP pings are used as a fallback in the case of ICMP pings are failed, as indicated in the debug log you've posted:
Failed to ping target host: socket: permission denied
Will try TCP ping <<<<
I presume you're using Linux? Check the following link for the Failed to ping target host: socket: permission denied
error:
https://github.com/sparrc/go-ping#note-on-linux-support
If TCP ping fails too, then please check that the pingURL
endpoint is working correctly.
And for the unmarshal failed message in your test infrastructure, which backend are you using?
from speedtest-cli.
Yes I am on Linux, but as I don't have root access to any of the servers and firewalls are dropping ICMP packets the go-ping modifications cannot be applied.
The unmarshal failed may be ignored as this is due the modifications I made to getIP.php
, essentially I removed everything in relation with external lookups to ipinfo service.
I've checked further and the only difference I could find was a trailing new line at the end of empty.php which is used as pingURL
. Removing the trailling new line did solve my issue, but I dont have an explanation for this as there should be no difference between
?>
and
?>
I did also switch to librespeed-cli v1.0.6, thanks for returning json output now on STDOUT!
from speedtest-cli.
No problem!
I'm not quite sure about how PHP actually works underneath, but if you're interested, you can also try the Go backend :)
from speedtest-cli.
Thanks a lot, I'll give the Go backend a try when I host it available to public or when I create a dedicated server for speedtest purpose.
from speedtest-cli.
Related Issues (20)
- Do speedtest for specific linux interface? HOT 1
- Tokyo server down for a long time
- Is it possile to use commandline version of https://www.librespeed.cn ? HOT 1
- live output with --json
- Builds for darwin amd64 are broken (at least the most recent ones)
- librespeed speedtest-cli connection to frontend using docker
- Building on distribution package manager: command name is speedtest-cli instead of librespeed-cli HOT 1
- Q: cant find server on list
- Illegal instruction HOT 1
- Q: server for Andrews & Arnold Ltd. ?? HOT 1
- Render problem on foot (and others) due to old spinner dep
- Output in CSV, IP is not displayed
- LibreSpeed test fails HOT 1
- Issue with Zscaler certificate
- Self Hosted Error with private server HOT 4
- How do I check internet speed through socks proxy?
- Log print issue
- Telemetry bug for ispinfo
- Still maintained? HOT 1
- Speedtest to your servers. HOT 1
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-cli.