Enabling static IP: Some api calls are redirected forever
jorisholshuijsen
PROOP

a year 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.

Solved

3 Replies

a year 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 over 1 year ago


jorisholshuijsen
PROOP

a year 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 over 1 year ago


a year ago

Sounds good! no rush.


Status changed to Awaiting User Response Railway over 1 year ago


Railway
BOT

7 months ago

This thread has been marked as solved automatically due to a lack of recent activity. Please re-open this thread or create a new one if you require further assistance. Thank you!

Status changed to Solved Railway 7 months ago


Loading...