#Locally my node API works connected to the railway postgres DB, but once deployed times out

10 messages · Page 1 of 1 (latest)

haughty hill
#

The title pretty much sums it up. When I post to the "refuel/fillups" endpoint on my API when it's deployed to railway, the request times out. However, if I run the app locally (connecting to the railway postgres instance) it works just fine. I should not that other GET requests against the API also work just fine when deployed.

Also, as a second question, how do I get the application logging from my API?

Project ID: 28bf80d7-8327-4f38-a8cc-d5427d08c491

Thanks!
James

still wraithBOT
#

Project ID: 28bf80d7-8327-4f38-a8cc-d5427d08c491

#

No search results found.

stuck echo
#

have you setup the variable references correctly, and are using the correctly named environment variables in your code?

haughty hill
#

Given that my get requests are working, that all is running through the same framework

stuck echo
#

can I see your repo please?

haughty hill
#

What's your github user? It's a private repo

#

It looks like all GETs are fine and all POSTs are timing out

stuck echo
#

are you using https?

haughty hill
#

I'm so dumb...thank you