Question

We are getting intermittent problems (could not resolve host) on multiple different droplets

We are getting intermittent problems (could not resolve host) on multiple different droplets. This is affecting many sites which use API calls for payment gateways and currency exchange rates etc…

Restarting fixed the issue, but it happened again

Show comments

Submit an answer

This textbox defaults to using Markdown to format your answer.

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

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

How about downgrading that glibc until there’s a fix? The problem is in glibc version 2.23-0ubuntu6

apt-get -y --allow-downgrades install libc6=2.23-0ubuntu3

We are getting that error too. After we restart the server it works, but it keep happening again.

Any idea how to fix this?

Thanks in advance

You’re probably hit by the latest security update from Ubuntu, which messed up some certificates, which PHP uses to make the secure connection. https://www.ubuntu.com/usn/usn-3239-1/

Run this service php7.0-fpm restart and it should fix it. Or simply restart your server. People running Apache, needs to restart that with service apache restart