I ran into a very nasty issue with 3rd-party services in client projects the past two days. Suddenly all connections to external APIs (Campaign Monitor, Google Maps Geo Locator, Algolia, etc.) got denied because of unresolved hosts. It took me forever to figure out, that it’s not a Kirby issue or any other issue in my code, but in fact a problem on Ubuntu servers. The solution is really simple. You just have to restart the PHP service or ask your hosting company to do so. But since it took me a couple hours I though it might be helpful for you in case you are fighting with the same issues:
Related Topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Multiselect + API + Local Dev | 4 | 436 | July 28, 2021 | |
Catch exception "could not resolve host" from Remote::get | 0 | 147 | July 6, 2023 | |
Redirects stopped working | 2 | 511 | May 16, 2017 | |
Issues hosting kirby on webspace | 2 | 683 | March 6, 2017 | |
Panel unavailable with advertisers DNS | 2 | 239 | May 20, 2019 |