I have a long running process and i am getting 524 , after searching i found that if i use subdomain and call long running service using subdomain this issue will be fixed , so i crerated a new subdomain which point to same domain name ip , i added a cname in cloudflare dns and point it to my main domain , and place my long running service file in subdomain directory but i am getting same 524 error , may be this is because both have same ip??
Please use the search. This topic has been covered extensively. Basically you need to unproxy the record by switching it to .
My subdomain name is api and i have a folder inside main website named “api” and i pointed subdomain root directory to main website folder api , so subdomain site is inside main website folder , when i request api.site.com request goes to site.com/api/ , should this be a issue?
Post the actual hostname.
Your “api” record is not proxied, so you should not run into the timeout, however it seems to redirect to “www”. You need to remove that redirect from your server.
So this redirection is issue? If i remove this redirection, this issue will be fixed?
I cant tell whether that fixes the issue, but your timeout happens because your server takes too long, hence you need to unproxy (or address the issue with your server taking that long) and if your unproxied record redirects to a proxied one, that obviously wont work. I am not sure why you have that redirect in the first place.
Thank you , my issue is resolved , redirection was issue , it was redirecting from non proxy to proxy
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.