Back

Cloud Function Not Resolvable without dns_search

  • 0
  • Self Hosted
  • Functions
Tanner Meade
6 Mar, 2025, 01:03

I ran into an issue with the deployment container for a cloud function not being resolvable (error: Internal curl errors has occurred within the executor! Error Number: 6. Error Msg: Could not resolve host: 67c8f2a927952 Error Code: 500). After further investigation, the docker DNS server in the runtimes network was appending .runtimes to the end of the 67c8f2a927952 record so it was only discoverable by 67c8f2a927952.runtimes. I found that I could work around this by adding dns_search: runtimes to the docker-compose.yml for the executor service, however I haven't ran into this issue before. I'm running Docker version 28.0.1, build 068a01e and my best guess is that Appwrite doesn't officially support that version. Am I right? If so, what is the supported version of docker?

TL;DR
Cloud function deployment container not resolvable, error due to Docker DNS appending '.runtimes'. Workaround: Add 'dns_search: runtimes' to docker-compose.yml. The issue might be due to unsupported Docker version 28.0.1, try upgrading to a supported version.
Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more