High response time with custom domains

Hi, I have unusually high response times when using custom domains. I tested the health check endpoint on the same service with a railway domain and a custom domain. With the railway domain, I get 25ms response times, with custom domains 300+ and sometimes up to 800. Is this connected to the recent network issues or a config issue on my end?
Solution:
when trying without, did you completely disable Cloudflare or just disable proxy? try completely disabling...
Jump to solution
8 Replies
Percy
Percy4mo ago
Project ID: N/A
Fragly
Fragly4mo ago
Are you routing through cloudflare?
stratimo
stratimo4mo ago
Do you mean the cf proxy? I tried with and without
Solution
Fragly
Fragly4mo ago
when trying without, did you completely disable Cloudflare or just disable proxy? try completely disabling
stratimo
stratimo4mo ago
Just the proxy, I use cloudflare as my dns
Fragly
Fragly4mo ago
Oh alright, because I have similar experiences with Cloudflare where my sites had 500 to 800 ms delay with Cloudflare, but 5 to 25 ms with cloudflare completely disabled I believe Cloudflare routed requests to my application terribly, causing insane delays not sure if the same thing is happening here
stratimo
stratimo4mo ago
Was the proxy, disabling took some time to take effect, down to 25ms again
Fragly
Fragly4mo ago
Neat, no idea why cloudflare causes such issues it's very annoying, glad we figured it out though