jsdelivr / globalping-hwprobe

OS image for Globalping hardware probes. Become a GitHub Sponsor to get yours!
19 stars 6 forks source link

Probe not visible on the webapp #21

Closed Albonycal closed 1 year ago

Albonycal commented 1 year ago

Error logs: https://paste.debian.net/1282752/

jimaek commented 1 year ago

Can you try running these commands on some linux machine a few times and tell me if they fail or not?

ping -4 -c 6 -i 0.2 -w 15 k.root-servers.net
ping -4 -c 6 -i 0.2 -w 15 j.root-servers.net
ping -4 -c 6 -i 0.2 -w 15 l.root-servers.net

Additionally you can try some other root servers from here https://root-servers.org/ and tell me if some other is more stable for you

Albonycal commented 1 year ago

image image image The l root server is dropping packets

jimaek commented 1 year ago

In your logs all of them seem to be doing it, so you need to run these commands a few times to be sure.

Also try this and let me know if it improves things or not:

ping -4 -c 6 -i 0.3 -w 15 l.root-servers.net
Albonycal commented 1 year ago

ping -4 -c 6 -i 0.3 -w 15 l.root-servers.net

Still dropping packets, other ones are not (tested multiple times)

jimaek commented 1 year ago

What about this endpoint?

a.root-servers.net

Albonycal commented 1 year ago

In your logs all of them seem to be doing it,

No they aren't, only l rootserver is dropping packets.

a root server is fine, no packetloss

jimaek commented 1 year ago

Please send the latest logs from your probe

Albonycal commented 1 year ago

https://paste.debian.net/1282818/

jimaek commented 1 year ago

I pushed another update, check if your probe now passes the test

Albonycal commented 1 year ago

still fails

jimaek commented 1 year ago

So far it seems that your internet is indeed unstable. I even included an endpoint by an Indian provider.

The only other potential problem I see is the "-i 0.2 " parameter. So please run many pings over the period of an hour to the failing endpoints in your logs using different values of that parameter to compare if there is a difference. e.g. 0.2, 0.3, 0.4, 0.5

Albonycal commented 1 year ago

I don't think my network is unstable.

Albonycal commented 1 year ago

Oh wait, I restarted the probe and it downloaded the latest update. And the probe is up now

Albonycal commented 1 year ago

Also, I think using geoip database for the location of the probe is not a good idea, there should be a way to hardcode the city. It's not correct. image

jimaek commented 1 year ago

Oh wait, I restarted the probe and it downloaded the latest update. And the probe is up now

Great!

Also, I think using geoip database for the location of the probe is not a good idea, there should be a way to hardcode the city. It's not correct.

You will get this option once our dashboard goes live. You will also get stats and other features