Enabling static IP: Some api calls are redirected forever

jorisholshuijsen
PRO

9 months ago

I'm fairly certain they are related but when I turn on the static IP address option, my fastAPI endpoint keeps redirecting (307 redirects) the call indefinitely.

What makes it strange is that this only happens for a specific path parameter (it could be more but I found the behaviour in one), so a call with another object id in the path paramater to the same endpoint works fine. Moreover, everything works fine locally.

Then when disabling the static IP address option and redeploying, the call with the specific id as path parameter works again.

Unfortunately I need the static IP address for the mongoDB Atlas IP whitelist. Any help will be appreciated and let me know if you require additional information.

Awaiting User Response

3 Replies

9 months ago

Hello,

We would love to help you debug this application issue, but for that we would need a minimal reproducible example, is that something you can provide us?


Status changed to Awaiting User Response railway[bot] 9 months ago


jorisholshuijsen
PRO

9 months ago

Hello,

We would love to help you debug this application issue, but for that we would need a minimal reproducible example, is that something you can provide us?

Yes, but it's a complex issue, so it will require some time to create a reproducible example. I will post here when I have done this


Status changed to Awaiting Railway Response railway[bot] 9 months ago


9 months ago

Sounds good! no rush.


Status changed to Awaiting User Response railway[bot] 9 months ago