Just a quick question, i have a basic application that works perfectly on the .anvil.app domain, but when i try to access it from my custom domain the app loads, but as soon as any server function is called, the app just seems to load indefinitely, i just see the anvil loading spinner?
I have only set my custom domain around 5 hours ago but since the app loads I am assuming its not a dns issue?
My domain is on cloudflare, but i have not proxied the anvil domain incase that was the issue?
It can take ~48 hrs for custom domains to get setup for the DNS + certificates. If I remember correctly you should get the “app not found” page if this is the cause, but they may have changed that from 6 months ago.
Does your page end up loading at all?
We might be having a similar issue on my custom domain. It’s taking about 20 seconds for my custom domain to load:
Yeah the main app loads, so it seems the client code seems to work for me, but if i do any action that requires a server functuon call, it just shows the anvil spinner indefinitely.
I will wait abit longer and hopefully it will be resolved
In thr meantime i will use the anvil.app domain as thats working perfectly.
An update for this, I have modified my client code to capture the error now, and it seems that I am getting this error: Connection to server failed (error)… but only on my custom domain.
The DNS is hosted on cloudflare, and I have turned of the proxy status for this, so I dont see how this is causing any issues?
I would appreciate any guidance on this, as the app works perfectly fine on a private link. But on custom domain, it seems only client side code is working