all requests through cloudflare proxy give 500 error
hi,
I'm having a serious problem where all my requests are suddenly giving a 500 error. I havent touched this setup in months and have had no issues till right now
When I go to my origin server directly with the same URL otherwise, the request completes succesfully.
I have no idea how to troubleshoot this. I don't see any error logs or a way to see 500 error logs in Analytcs & Logs->Http Traffic section
I am not using any caching features.
I have a second subdomain pointing to a different origin server on the same domain and that one is working fine somehow
thanks for any help
23 Replies
url?
Origin is returnin 500
what is the origin that you have? I can see it here
and origin URL works fine https://fitcraft-dev1.azurewebsites.net/api/GetConfig
fitcraft-dev1.azurewebsites.net
wrong field, yep see the samewhen you click this link, you get a 500? because it works fine for me on multiple devices https://fitcraft-dev1.azurewebsites.net/api/GetConfig
does work for me
that's fun
yeah. I haven't touched cloduflare settings in months, no idea how this could be possible
I'm seeing a 526 trying to connect directly to the IP with that host
oh doi
the 525 is due to internal stuffs
It's not got a valid SSL cert covering this hostname it seems
why this is throwing 500 though I actually have no idea
but im using the cert I got from Cloudflare, and havent changed it, and there's no way it expired
oh you're using a cf origin cert?
yeah and its working just fine on my other sub domain
yeah ok that won't show as valid when hit directly
https://api.fitcraft.app/api/GetConfig works fine
Hmm
how can I run the same curl command? what IP are you using?
the origin one - you can resolve the cname target and get it
I can get a 200 from origin on our edge
this is weird
my thinking is there's some rule - transform rule, origin rule, something at play
ah ha i see a transform rule is firing
@drew-fc can you disable that transform rule and try again?
yes, that was it!
but why did this suddenly start happening, any ideas?
no idea, something at your origin doesn't like that request header
hot damn, well thanks a ton for your help
so my certs and everything should be good, right?
or is there still some action I need to take there regarding that? because you were saying there was some SSL error from curl
yep it's all good, cf origin cert is meant to be only verifable from cf
i just wasn't aware you were using that
well thanks, you saved me tonight