Network is unreachable


#1

Hi
when I try to get a certificate I get an error
Requesting acme-v02.api.letsencrypt.org/directory: Network is unreachable

server - ubuntu 16
installed certbot
firewall - disabled

ping - ok
acme-v02.api.letsencrypt.org - 192.64.119.254


#2

That is definitely not correct. Check your resolv.conf and /etc/hosts.


#3

hosts has only localhost
in resolv.conf nameserver 8.8.8.8 and nameserver 8.8.4.4


#4

192.64.119.254 is a Namecheap IP address. Is your server hosted at Namecheap perhaps?


#5

It’s the IP address of the Namecheap URL forwarder service.

I think OP has misinterpreted something somewhere. Perhaps try from the beginning:

curl -v https://acme-v02.api.letsencrypt.org/directory

#6

Network is unreachable


#7

Please provide the full output. It will reveal whether the problem is your DNS resolution or whether your problem is your server’s misconfigured IPv6 interface.


#8

Tnx
it was IPv6 problem
now all ok


#9

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.