Question

No Internet connection after droplet resize

After resizing one droplet to have more RAM it is not able to reach anything on internet.

I can connect to it through console but not through SSH. I cannot ping anything on internet (domain or ip) from it.

Any ideas? Thanks.

Subscribe
Share

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Droplet got cut off from Internet again… Every time we reboot it networking fails to start, takes around 20 minutes to come up but only after deleting contents of /etc/resolv.conf

We though it was an issue with ufw or somthing similar, but disabling it and iptables didnt work.

After a while server got internet access again, but we are still seeing issues, for example:

$ sudo apt-get update Err:1 http://apt.newrelic.com/debian newrelic InRelease Could not resolve ‘apt.newrelic.com’ Err:2 http://security.ubuntu.com/ubuntu xenial-security InRelease Could not resolve ‘security.ubuntu.com’ Err:3 http://mirrors.digitalocean.com/ubuntu xenial InRelease Could not resolve ‘mirrors.digitalocean.com’ Err:4 http://mirrors.digitalocean.com/ubuntu xenial-updates InRelease Could not resolve ‘mirrors.digitalocean.com’ Err:5 http://mirrors.digitalocean.com/ubuntu xenial-backports InRelease Could not resolve ‘mirrors.digitalocean.com

This is not indeed and best would be to contact support. When you SSH-ed, it means it does have Internet connection. Make sure you ping-ed some well know sites like google.com, bing.com, digitalocean.com.

While waiting for them, you can try restarting Droplet once again with:

  1. sudo reboot

Or maybe restart just networking and NetworkManager but I would more recommend to just reboot. In case you want it you can go with:

  1. sudo systemctl restart networking && sudo systemctl restart NetworkManager

I would open a support ticket