You are not logged in.

#1 2021-10-28 18:19:45

Morta
Member
Registered: 2019-07-07
Posts: 660

[SOLVED]ookla speedtest socket error

I got a error with ookla-speedtest-bin from the AUR repository

speedtest -L
[2021-10-28 20:16:15.948] [error] Trying to get interface information on non-initialized socket.
[2021-10-28 20:16:21.463] [error] Configuration - Couldn't resolve host name (HostNotFoundException)
[2021-10-28 20:16:21.463] [error] Configuration - Cannot retrieve configuration document (0)
[2021-10-28 20:16:21.464] [error] ConfigurationError - Could not retrieve or read configuration (Configuration)
[2021-10-28 20:16:21.464] [error] ConfigurationError - Could not retrieve or read configuration (Configuration)
[error] Configuration - Could not retrieve or read configuration (ConfigurationError)
speedtest -vvv and speedtest -vv gives
[2021-10-28 20:17:18.219] [info] Retrieving configuration from file: settings.json

Somebody else with this problem or anybody have some thougts?

Last edited by Morta (2021-10-29 13:33:52)

Offline

#2 2021-10-28 18:29:51

Morta
Member
Registered: 2019-07-07
Posts: 660

Re: [SOLVED]ookla speedtest socket error

On the laptop is running properly with dnscrypt-proxy but on the server with systemd-resolved don't

Last edited by Morta (2021-10-28 18:46:14)

Offline

#3 2021-10-28 19:19:05

seth
Member
Registered: 2012-09-03
Posts: 60,922

Re: [SOLVED]ookla speedtest socket error

[error] Configuration - Couldn't resolve host name (HostNotFoundException)

And what hostname gets resolved for the download? (on the laptop, assuming the speedtest does the same on all systems)

Do you have /etc/resolv.conf on the "server"?
Content? Is it a link to /run/systemd/resolve/stub-resolv.conf ?

Possibly https://wiki.archlinux.org/title/System … cal_domain ?

Offline

#4 2021-10-28 20:03:06

Morta
Member
Registered: 2019-07-07
Posts: 660

Re: [SOLVED]ookla speedtest socket error

seth wrote:
[error] Configuration - Couldn't resolve host name (HostNotFoundException)

And what hostname gets resolved for the download? (on the laptop, assuming the speedtest does the same on all systems)

Do you have /etc/resolv.conf on the "server"?
Content? Is it a link to /run/systemd/resolve/stub-resolv.conf ?

Possibly https://wiki.archlinux.org/title/System … cal_domain ?

cat /etc/resolv.conf
nameserver 127.0.0.1

You was right i hadn't a link to /etc/resolv.conf from /run/systemd/resolve/stub-resolv.conf and also had to remove chattr -i on /etc/resolv.conf

but now how I can edit resolv.conf that be constant ?

Now it looks

nameserver 127.0.0.53
options edns0 trust-ad
search joelmueller.ch sunrise.box home

joelmueller.ch and sunrise.box doesn't needed anymore in resolv.conf

And shouldn't looks like this?

nameserver 127.0.0.1
nameserver ::1
search home

Last edited by Morta (2021-10-28 20:49:08)

Offline

#5 2021-10-29 03:08:04

seth
Member
Registered: 2012-09-03
Posts: 60,922

Re: [SOLVED]ookla speedtest socket error

https://wiki.archlinux.org/title/System … d#Manually
It is however fine to have /etc/resolv.conf being a static file, configured by you or anything else (see https://wiki.archlinux.org/title/System … figuration - and actually the rest of the wiki…)
However, resolved is listening on 127.0.0.53 - you might want to check

nmap 127.0.0.1

to see whether there's actually a DNS server on port #53

The more important questions however would be
1. does it now work?
2.

seth wrote:

what hostname gets resolved for the download?

Offline

#6 2021-10-29 10:09:28

Morta
Member
Registered: 2019-07-07
Posts: 660

Re: [SOLVED]ookla speedtest socket error

seth wrote:

https://wiki.archlinux.org/title/System … d#Manually
It is however fine to have /etc/resolv.conf being a static file, configured by you or anything else (see https://wiki.archlinux.org/title/System … figuration - and actually the rest of the wiki…)
However, resolved is listening on 127.0.0.53 - you might want to check

nmap 127.0.0.1

to see whether there's actually a DNS server on port #53

The more important questions however would be
1. does it now work?
2.

seth wrote:

what hostname gets resolved for the download?

1. Yes it's working.
2. Hostname is static.1n73rn37.ch My reserve DNS entry from my ISP for my static IP

Offline

#7 2021-10-29 10:25:02

seth
Member
Registered: 2012-09-03
Posts: 60,922

Re: [SOLVED]ookla speedtest socket error

Oh, so it just failed to resolve the local host?
'key.

Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.

Offline

Board footer

Powered by FluxBB