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
- Functions not executing after usage rese...
Hi team, Last month my project hit 100% usage and functions stopped working (expected). Now the new month has started and usage has reset, requests are going ...
- Functions never end and always fail (sta...
Hi ! I'm using Appwrite Cloud Pro and function execution from appwrite website is KO. Deploying starter function template, execution is always Failed and the ...
- My function executions console if overwh...
It seems the requests are getting processed correctly but it is using a older version of the backend. And it seems the cron requests done an hour ago are shown ...