
Custom domain works but has an insane latency and hang time for some reason. Image is from cloudflare workers. Definitely something up with the networking, as the hang time is caused by an await on the endpoint. The Cname properly points to appwrite though.

When you don't use image, it works? Do you have proxying enabled? What's the region you have selected?

I'm not using image, and proxying is disabled. Region is nyc

for clarification: the website is attempting a very simple request to the endpoint for a user account, exactly the same as the quick start documentation for Auth in Svelte, as I was just testing out how the setup goes before diving in.

And you're using the Cloudflare NYC node?

cloudflare is anycast

There was a small incident today. Is it working fine now?

Yes, but if you're using the Australian anycast node, you will have more latency than if you use the NYC one

anycast auto-routes to lowest latency datacenter owned by cloudflare, so whichever is closest to me, which is within the U.S, a 100k ms latency wouldn't be normal even if I lived on the international space station. I rebuilt it and it fixed itself though - weird networking issue huh...
On another note - how do custom domains work because now i'm getting issues mentioning that the /account route is not a valid api route

I think there's an ongoing maintenance. Maybe it's related 🤔 cc @Meldiron

Got it.. The /v1 is an important part of the custom domain i guess and the route isn't reset

Yes, all routes should have /v1

Yup! Is that listed in Appwrite's docs?

Not sure. Also, why are you not using an SDK? 😅

I am

web sdk states that you need to set the endpoint in your docs for the client

docs/quick-starts/sveltekit

The endpoint is always your domain and /v1 as listed in the console

yeah haha, wasn't clear to me at first. Thanks for your help!

No worries. Happy to help! 😄 :appwritepeepo:
Recommended threads
- Network Request Failed
Trying to save a file to the bucket but getting network request failed. Using react-native-image-picker.
- Unable to set Display Name for Collectio...
In database: Collection -> Settings. Display Name: Add attribute -> Select attribute -> After selecting attribute, the "Select attribute" text still shows. A...
- Transferring self-hosted to cloud: will ...
I'd like to transition over to Appwrite cloud, but want to ensure my users won't be forced to re-login.
