Back

Appwrite function execution does not work on self hosted

  • 0
  • Self Hosted
  • Functions
m0hsin_
29 May, 2024, 08:54

I have configured my domain on _APP_DOMAIN_FUNCTIONS in the .env file. My Appwrite instance does not run on port 80, so I have specified the function as follows: mydomain.com:port_number . I have then deployed a function with the domain appearing as follows: http://6656e7cface3027789ce.mydomain.com:port_number/

However, when I try to execute the function from the browser or postman, I get DNS_PROBE_FINISHED_NXDOMAIN error, what could be the problem?

TL;DR
Developers are having trouble executing functions in Appwrite on a self-hosted instance. The issue might be related to DNS records. Make sure the domain is correctly configured in the .env file and verify that the function URL includes the correct domain and port number. The error DNS_PROBE_FINISHED_NXDOMAIN suggests a DNS resolution issue. Double-check the DNS settings for your domain.
D5
29 May, 2024, 08:55

Do you have set the corresponding DNS records?

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