Back

EHOSTUNREACH When getting a Document from a function.

  • 0
  • Databases
  • Functions
SenZi
19 May, 2023, 22:56

Hi, I disabled DNS Proxy in cloudflare for CNAME because of Cloudflare Issue. Now Running a function that used to work while the dns proxy was active is now not working with the error: Error: connect EHOSTUNREACH ip:443

TL;DR
The user is experiencing a networking problem with their function after disabling DNS Proxy in Cloudflare for CNAME. The specific error they are encountering is "Error: connect EHOSTUNREACH ip:443." Possible solutions include testing by disabling the firewall, checking if the database can be accessed in the frontend, and ensuring that the DNS points to the correct IP address.
Drake
19 May, 2023, 23:31

really hard to say...this is some sort of networking problem. maybe firewall.

SenZi
19 May, 2023, 23:32

it was working fine until i disabled cloudflare

Drake
19 May, 2023, 23:34

the dns now points to a different IP address and your function is having trouble getting to that new IP address

SenZi
19 May, 2023, 23:35

yea it shows the host ip now

SenZi
19 May, 2023, 23:35

i am able to access the ip from the browser

SenZi
19 May, 2023, 23:36

also i am able to access the database in the frontend, just doesn't work in the function

Drake
19 May, 2023, 23:37

try disabling your firewall to test

SenZi
20 May, 2023, 00:37

it didn't seem to work

SenZi
20 May, 2023, 00:38

I just ended up transferring my domain to one cloudflare account and use proxy and CNAME

SenZi
20 May, 2023, 00:38

It works for now

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