Problem wie im Titel genannt.
Bei 2 Servern kann ich die API nicht per IPv4 erreichen.
An der CLI reproduzierbar:
Code: Select all
$ curl https://tector.24unix.net/api/v2/ping -H "X-Api-Key: HJwrfMd7.A[..]K7jZ"
{
"response": "pong"
}
Code: Select all
$ curl -4 https://tector.24unix.net/api/v2/ping -H "X-Api-Key: HJwrfMd7.A[..]K7jZ"
curl: (28) Failed to connect to tector.24unix.net port 443: Connection timed out
Code: Select all
$ ping tector
PING tector(tector.24unix.net (2a01:4f8:161:12cd::137)) 56 data bytes
64 bytes from tector.24unix.net (2a01:4f8:161:12cd::137): icmp_seq=1 ttl=64 time=0.170 ms
$ ping -4 tector
PING (176.9.165.137) 56(84) bytes of data.
64 bytes from tector.24unix.net (176.9.165.137): icmp_seq=1 ttl=64 time=0.285 ms
Apache sieht gut aus:
Code: Select all
apache2ctl -S
VirtualHost configuration:
*:443 is a NameVirtualHost
default server tector.24unix.net (/etc/apache2/keyhelp/keyhelp.conf:20)
port 443 namevhost tector.24unix.net (/etc/apache2/keyhelp/keyhelp.conf:20)
läuft auch:
Code: Select all
$ netstat -luntep|grep 443
tcp6 0 0 :::443 :::* LISTEN 0 2203674 306200/apache2