Network Proxy Issue
tylerburr
PROOP

2 months ago

I’m having an issue where X-Forwarded-For and X-Real-IP are only showing the Fastly proxy IP instead of the actual client IP. Does anyone know how to fix this?

It was working until this afternoon MST

Solved

24 Replies

I think you can use X-Forwarded-For to get the real client IP.


tylerburr
PROOP

2 months ago

Tried that’s as well


tylerburr
PROOP

2 months ago

That all 3 show the fastily IP


tylerburr
PROOP

2 months ago

I’m starting to think this is a Fastly VCL config issue.


tylerburr
PROOP

2 months ago

Network Proxy Issue


leonardoquezada
HOBBY

2 months ago

I'm experiencing the same thing. Is there any solution for this?


tylerburr
PROOP

2 months ago

No support response yet.


leonardoquezada
HOBBY

2 months ago

Oh damn, I hope things go back to the way they were before, I felt like everything was fine.


tylerburr
PROOP

2 months ago

Yeah, it’s unfortunate. The issues seem to be happening more frequently, and that’s especially frustrating in production apps.


tylerburr
PROOP

2 months ago

We may need to consider alternative options if the issues persist.


leonardoquezada
HOBBY

2 months ago

It's possible, and I really like Railway as a service, but it's difficult when these things happen in production and you can't manage them. I hope this error doesn't last more than 10 hours and that things are restored as soon as possible.


pper2024
PRO

2 months ago

I also encountered the same issue after this update without making any code changes — the real IP of the requesting user was lost. I then added debug logging to the response and confirmed that the real client IP is completely absent from all request headers.


Status changed to Awaiting Railway Response Railway about 2 months ago


yashr42
FREE

2 months ago

Even Im observing the same issue


Anonymous
HOBBY

2 months ago

same here, client ip whitelisting not possible anymore, any updates ?


leonardoquezada
HOBBY

2 months ago

When will this "bug" be fixed?


tylerburr
PROOP

2 months ago

@Brody can we get the ball rolling on this as this is not only impacting me but other railway users. Sorry to ping you but I’m not sure what else to get support on a issue like this.


2 months ago

Acknowledging this issue, we have raised it to our networking engineer.


Status changed to Awaiting User Response Railway about 2 months ago


2 months ago

Acknowledging this issue, we have raised it to our networking engineer.


tylerburr
PROOP

2 months ago

Thank you!


2 months ago

Hey,

This has been fixed, no action is needed on your end.

We are sorry for introducing this regression and will be more diligent about changes to the behavior of headers going forward.


2 months ago

Hey,

This has been fixed, no action is needed on your end.

We are sorry for introducing this regression and will be more diligent about changes to the behavior of headers going forward.


tylerburr
PROOP

2 months ago

Verified it’s good.


tylerburr
PROOP

2 months ago

Thanks!!


2 months ago

No problem!


Status changed to Solved brody about 2 months ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...