Railway Http Proxy Logs/Debugging

Anonymous
PRO

3 days ago

Hi, we have recently moved from GCP to Railway and I would like to be interested in if we can see log somewhere for the Http Proxy provided by Railway, as some of the requests report with HTTP 502, and this was reported by our clients before. It does not happen often, yet I would like to know where the issue lies. The app does not have any struggle with resources, hence I am looking into alternative sources for this other than the app itself.

Project Id: 2a24b8a8-5455-447a-a062-292f785b7f1a

0 Replies

2 days ago

Hello,

You can view the HTTP logs right besides the Deploy logs when you have a deployment open.


Anonymous
PRO

2 days ago

@Brody , when I do see a log, how can I figure out why it did have 502? Even today, I saw 2 requests getting this.

1401440391982612500


2 days ago

Typically you would be able to click them and see the reason, but that's currently unavailable


Anonymous
PRO

2 days ago

Look, for example this

1401441754850267400


Anonymous
PRO

2 days ago

But deployment region is this

1401441858458222600


2 days ago

Yep, response details are currently unavailable


Anonymous
PRO

2 days ago

I meant, the edgeRegion


2 days ago

edgeRegion is the region that accepted the request, and then forwarded it to your service in Asia


Anonymous
PRO

2 days ago

Aha, okay


Anonymous
PRO

2 days ago

So is there a way to figure out why this happens? Some sort of log or similar?


Anonymous
PRO

2 days ago

I look at this, and see it happened 1 every hour since 4am


2 days ago

^ Not at the moment, no.

But 502's 99% of the time are caused by application level issues.


Anonymous
PRO

2 days ago

Is this an NGINX under the hood?


2 days ago

No, custom proxy.


Anonymous
PRO

2 days ago

But 502's 99% of the time are caused by application level issues.
So I would agree with you but you see the upstream address is not logged. Meaning it could route traffic


Anonymous
PRO

2 days ago

Where as if I look at another call, I see routing to IPv6 ip


2 days ago

Provide the request IDs for the 502's and I can check them Tuesday.


Anonymous
PRO

2 days ago

I3f4oXmkQ8m22IwfAQeqjw
mt6FsGOJRdSE3VaGm3z_FQ
boMQYaeVRiaN9CwQn6XIxQ


Anonymous
PRO

2 days ago

Do you have a plan on Railway that gives us priority support?


2 days ago

We have the enterprise plan that comes with guaranteed response times within 1 hour


Anonymous
PRO

2 days ago

Okay, I book a call with your Sales


Anonymous
PRO

2 days ago

Thanks Brody


2 days ago

Awesome! and I'll let you know what I find Tuesday.