Issue with CORS and Postgres DB (connection reset)
antonioc-cl
PROOP

a year ago

hi folks, i have been trying to debug this error since yesterday without much luck. I have tried a few things in code but nothing seems to work. As you can see in the images, the CORS is correctly implemented in the backend but we keep seeing a 502 and a strange error in the connection between the DB and the Node/Express backend. I am connecting db privately with the backend and then using the public url of the backend to connect to our frontend. All hosted within Railway metal.

3 Replies

antonioc-cl
PROOP

a year ago

0b8fb3c2-259f-43e0-aa84-b9a57a4df739


antonioc-cl
PROOP

a year ago

I see that the container stops in the image. but the backend logs do not show any error or anything that says the same


antonioc-cl
PROOP

a year ago

Nothing seems to work. I have made changes all day without much luck


Loading...