Back

can't execute function using domain

  • 0
  • Self Hosted
  • Functions
ideclon
14 Dec, 2023, 23:10

The issue is not just with getting an SSL cert from CF. It’s the weird way CF handles domains which aren’t the primary one on the Tunnel

TL;DR
User is experiencing issues executing a function using a domain in their Appwrite server. They have switched to a self-hosted Traefik proxy and are having trouble connecting to Appwrite. They mention using the Cloudflare DNS proxy service and wildcard SSL certificates. The user is confused about how to connect to Appwrite and the cost of wildcard certificates. Other users suggest using the Cloudflare tunnel and explain the process. The issue seems to be related to how Cloudflare handles domains that are not the primary one on the tunnel. No solution is provided in the thread.
fafa
14 Dec, 2023, 23:11

Universal certificates are invalid on multi-level, that's the main issue

ideclon
14 Dec, 2023, 23:11

Or probably to be more precise, it’s about the weird way CF handles proxying the Tunnel at all (weird if you’re coming from pretty much any other reverse-proxy solution)

ideclon
14 Dec, 2023, 23:12

If that were the only issue, it would work fine if you used HTTP without SSL, wouldn’t it?

ideclon
14 Dec, 2023, 23:12

Or just clicked though the invalid cert warnings

fafa
14 Dec, 2023, 23:15

the entire proxy will not work

ideclon
14 Dec, 2023, 23:15

And why shouldn’t it?

fafa
14 Dec, 2023, 23:16

Because that's just how CF works, why are you asking me, i don't work there

fafa
14 Dec, 2023, 23:16
ideclon
14 Dec, 2023, 23:16

And if I tell you it does?

ideclon
14 Dec, 2023, 23:16

CF Tunnels work fine without SSL

ideclon
14 Dec, 2023, 23:17

The issue here isn’t the SSL at all.

fafa
14 Dec, 2023, 23:18

So you are saying a normal multi-level domain works in any way? You just made a breakthrough nobody ever made. I guess their $10 a month is just a scam, because all the issues don't exist.

ideclon
14 Dec, 2023, 23:19

Yes. They charge for wildcard SSL certificates, not for using CF Tunnels on third-level domains

fafa
14 Dec, 2023, 23:19

You still need a domain to connect to, which is the entire point, correct?

ideclon
14 Dec, 2023, 23:20

Not sure what you mean by this?

fafa
14 Dec, 2023, 23:20

I barely work with cfd, you make a tunnel and then what? how do you connect to appwrite?

ideclon
14 Dec, 2023, 23:21

You install cloudflared on your Appwrite server, and then configure CF to proxy to there in the Zero Trust dashboard

fafa
14 Dec, 2023, 23:22

No, they don't work in "any way". I think you completely misunderstood of the entire topic and message. If the answer was "yes", the wildcard certificates costs wouldn't be needed, lol.

ideclon
14 Dec, 2023, 23:22

Oh, and yes, the regular CF DNS proxy service also works fine on whatever level you want, as long as you don’t need an SSL certificate from Cloudflare

fafa
14 Dec, 2023, 23:23

Did you test this?

ideclon
14 Dec, 2023, 23:23

Yes

fafa
14 Dec, 2023, 23:23

Specifically on multi level?

ideclon
14 Dec, 2023, 23:23

I ran my Appwrite server like this for about a year, before switching to my own selfhosted Traefik proxy

ideclon
14 Dec, 2023, 23:24

Yes. With autogenerated Function domains on *.functions.[MY_APPWRITE_DOMAIN]

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