s-petey
CDCloudflare Developers
•Created by s-petey on 10/31/2024 in #general-help
Error 502 only during POST requests
Hello all, I'm hosting websites on a local PC and exposing them through cloudflare tunnels. The website is now up working, however when a POST request is made to the server it returns with a 502 error.
I have enabled the Connector diagnostics within
one.dash.cloudflare.com
and watched the trail resulting in Unable to reach the origin service
using http://localhost:3004
.
In the tunnel public hostname page I am routing to http
://
localhost:3004
to the correct domain with no subdomain
or path
added.
From the browser the HTTP Request as stated results in a 502 Bad gateway Error code 502
error page from cloudflare.
I've spent a day looking through other issues on here, google, stack overflow, and the community.cloudflare pages.
Any help is greatly appreciated and thanks for your time!
The details on the website: Sveltekit with node adapter, Dockerized and deployed through a program called Coolify.
I have another website deployed this same way with POST requests with no issue.2 replies