I can access my server via curl and browsers
but I can't access it via wget. It is stuck at
Loaded CA certificate '/etc/ssl/certs/ca-certificates.crt' Resolving *** Connecting to ***:443... wget works with other similar servers though.
I've tried wget --debug but it doesn't really show a whole lot more; the last line where it is stuck is still just Connecting to .... The IP that wget resolves to is correct.
If I switch my network to the hotspot of my smartphone, I can use wget without problems. Restarting the router didn't help.
It fails on two manjaro installations, wget version 1.21.3. But works on a live xubuntu usb stick, wget version 1.21. I can also use wget from within other servers that are running ubuntu.
The https module of node.js behaves in the same way as wget for me.
Any idea where I can continue to look for problems?
Here is the output of wget2:
wget2 https://foo.***.com -vd 02.132709.170 Local URI encoding = 'UTF-8' 02.132709.170 Input URI encoding = 'UTF-8' 02.132709.170 Fetched HSTS data from '/home/vs-mango/.local/share/wget/.wget-hsts' 02.132709.170 Fetched HPKP data from '/home/vs-mango/.local/share/wget/.wget-hpkp' 02.132709.170 Fetched OCSP hosts from '/home/vs-mango/.local/share/wget/.wget-ocsp_hosts' 02.132709.170 Fetched OCSP fingerprints from '/home/vs-mango/.local/share/wget/.wget-ocsp' 02.132709.170 set_exit_status(0) 02.132709.170 *url = 02.132709.170 *3 https://foo.***.com 02.132709.170 local filename = 'index.html' 02.132709.170 host_add_job: job fname index.html 02.132709.170 host_add_job: 0x5626fc4850c0 https://foo.***.com 02.132709.170 host_add_job: qsize 1 host-qsize=1 02.132709.170 queue_size: qsize=1 02.132709.170 queue_size: qsize=1 02.132709.170 queue_size: qsize=1 02.132709.170 [0] action=1 pending=0 host=0x0 02.132709.170 dequeue job https://foo.***.com 02.132709.170 resolving foo.***.com:443... 02.132709.174 has ***ipv6:443 02.132709.174 has ***ipv4:443 02.132709.174 trying ***ipv6:443... 02.132709.174 GnuTLS init 02.132709.189 GnuTLS system certificate store is empty 02.132709.189 Certificates loaded: 153 02.132709.189 GnuTLS init done 02.132709.189 TLS False Start requested 02.132709.189 ALPN offering h2 02.132709.189 ALPN offering http/1.1 ssl modes:
openssl s_client ✔ 2m 9s 140269842409280:error:0200206F:system library:connect:Connection refused:crypto/bio/b_sock2.c:110: 140269842409280:error:2008A067:BIO routines:BIO_connect:connect error:crypto/bio/b_sock2.c:111: 140269842409280:error:0200206F:system library:connect:Connection refused:crypto/bio/b_sock2.c:110: 140269842409280:error:2008A067:BIO routines:BIO_connect:connect error:crypto/bio/b_sock2.c:111: connect:errno=111 Summary of the one particular case where it breaks:
- I'm in my wifi (hotspot works)
- on manjaro (ubuntu works)
- using wget/node-https/wget2 (curl and browsers work)
openssl s_clientto see which SSL modes are supported.