mimugmail / opn-repo

OPNsense repo by mimugmail
Other
358 stars 27 forks source link

speedtest gui plugin - not getting servers #135

Open akebono3 opened 1 year ago

akebono3 commented 1 year ago

No servers are found for days at a time on the gui. There are no messages to diagnose.

gui reports version speedtest-cli 2.1.3 Python 3.9.15 (main, Nov 2 2022, 09:16:29) [Clang 13.0.0 (git@github.com:llvm/llvm-project.git llvmorg-13.0.0-0-gd7b669b3a

On the cli if we type in: speedtest Retrieving speedtest.net configuration... Cannot retrieve speedtest configuration ERROR: HTTP Error 403: Forbidden

typing in moments later speedtest --secure Retrieving speedtest.net configuration... Testing from T-Mobile USA (xxx.xxx.xxx.xxx)... Retrieving speedtest.net server list... Selecting best server based on ping... Hosted by Spirit Communications

Since reliability of contacting speedtest.net using http is decreasing the gui should be invoking the https method and not the insecure one.

PracticalChip commented 1 year ago

[2023-03-03 13:19:50.689] [error] Configuration - Couldn't resolve host name (HostNotFoundException) [2023-03-03 13:19:50.689] [error] Configuration - Cannot retrieve configuration document (0) [2023-03-03 13:19:50.689] [error] ConfigurationError - Could not retrieve or read configuration (Configuration) [2023-03-03 13:19:50.689] [error] ConfigurationError - Could not retrieve or read configuration (Configuration) [error] Configuration - Could not retrieve or read configuration (ConfigurationError)

I am getting this.

mimugmail commented 1 year ago

Looks like you dns resolution doesnt work

PracticalChip commented 1 year ago

Looks like you dns resolution doesnt work

root@OPNsense:~ # ping speedtest.net PING speedtest.net (151.101.130.219): 56 data bytes 64 bytes from 151.101.130.219: icmp_seq=0 ttl=52 time=11.900 ms 64 bytes from 151.101.130.219: icmp_seq=1 ttl=52 time=13.361 ms 64 bytes from 151.101.130.219: icmp_seq=2 ttl=52 time=12.938 ms 64 bytes from 151.101.130.219: icmp_seq=3 ttl=52 time=12.262 ms 64 bytes from 151.101.130.219: icmp_seq=4 ttl=52 time=13.265 ms ^C --- speedtest.net ping statistics --- 5 packets transmitted, 5 packets received, 0.0% packet loss round-trip min/avg/max/stddev = 11.900/12.745/13.361/0.572 ms