Closed samkelleher closed 6 years ago
If you can ping hosts then you have internet connectivity. 😄 Nowadays the usual cause of this is a DNS problem. SSH into the server and try systemctl status dnscrypt-proxy
and see what you get.
root@homehunt:~# systemctl status dnscrypt-proxy
● dnscrypt-proxy.service - DNSCrypt-proxy client
Loaded: loaded (/lib/systemd/system/dnscrypt-proxy.service; enabled; vendor preset: enabled)
Drop-In: /etc/systemd/system/dnscrypt-proxy.service.d
└─99-capabilities.conf
Active: active (running) since Wed 2018-08-22 03:07:31 UTC; 19min ago
Docs: https://github.com/jedisct1/dnscrypt-proxy/wiki
Main PID: 3414 (dnscrypt-proxy)
Tasks: 7 (limit: 1152)
CGroup: /system.slice/dnscrypt-proxy.service
└─3414 /usr/bin/dnscrypt-proxy --config /etc/dnscrypt-proxy/dnscrypt-proxy.toml
Aug 22 03:07:31 homehunt dnscrypt-proxy[3414]: dnscrypt-proxy 2.0.16
Aug 22 03:07:31 homehunt dnscrypt-proxy[3414]: Loading the set of IP blocking rules from [ip-blacklist.txt]
Aug 22 03:07:31 homehunt dnscrypt-proxy[3414]: Now listening to 172.16.0.1:5353 [UDP]
Aug 22 03:07:31 homehunt dnscrypt-proxy[3414]: Now listening to 172.16.0.1:5353 [TCP]
Aug 22 03:07:31 homehunt dnscrypt-proxy[3414]: Wiring systemd TCP socket #0, dnscrypt-proxy.socket, 127.0.2.1:53
Aug 22 03:07:31 homehunt dnscrypt-proxy[3414]: Wiring systemd UDP socket #1, dnscrypt-proxy.socket, 127.0.2.1:53
Aug 22 03:07:31 homehunt dnscrypt-proxy[3414]: [cloudflare] OK (DoH) - rtt: 3ms
Aug 22 03:07:31 homehunt dnscrypt-proxy[3414]: [cloudflare-ipv6] OK (DoH) - rtt: 8ms
Aug 22 03:07:31 homehunt dnscrypt-proxy[3414]: Server with the lowest initial latency: cloudflare (rtt: 3ms)
Aug 22 03:07:31 homehunt dnscrypt-proxy[3414]: dnscrypt-proxy is ready - live servers: 2
dns-crypt proxy seems to be okay. On a client, I try the ping and curl commands:
$ ping whoer.net
PING whoer.net (104.25.39.26): 56 data bytes
64 bytes from 104.25.39.26: icmp_seq=0 ttl=60 time=9.201 ms
64 bytes from 104.25.39.26: icmp_seq=1 ttl=60 time=10.632 ms
64 bytes from 104.25.39.26: icmp_seq=2 ttl=60 time=34.610 ms
^C
--- whoer.net ping statistics ---
3 packets transmitted, 3 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 9.201/18.148/34.610/11.655 ms
$ curl https://whoer.net
The ping works, but the curl just times out. I'm puzzled as to what the issue is.
Perhaps your Internet connection uses a smaller MTU than usual. Uncomment the max_mss
option in config.cfg
and deploy a new Droplet. The suggested value of 1316
is not necessarily optimal for your situation though.
Thanks @davidemyers - I uncommented the suggested max_mss
value at 1316 and everything appears to be working normally.
My Internet connection is 'The Cloud' a 'free' WiFi service deployed by Sky. Quite nasty.
OS / Environment
Darwin myusername.local 17.7.0 Darwin Kernel Version 17.7.0: Thu Jun 21 22:53:14 PDT 2018; root:xnu-4570.71.2~1/RELEASE_X86_64 x86_64
Cloud Provider
Digital Ocean
Summary of the problem
No internet connectivity, can ping hosts, just cannot browse to them using a browser. Only google.com domains load normally. Totally unsure how to debug or resolve. Fresh brand new deployment using algo-master.
Steps to reproduce the behavior
Full log