SSL on subdomain not working properly
timeattackwtf
PROOP

2 years ago

I am trying to make API calls to my API hosted on railway, using a custom subdomain. for some reason, even though i send the request with HTTPS://, the server is insisting on a no secure request.this is an issue because my API interacts with a website, and the website doesnt allow insecure third party connections. if anyone knows a workaround that would be great

Closed

13 Replies

timeattackwtf
PROOP

2 years ago

92ab46c6-a288-4a2c-a741-2ad57a0f4ea6


2 years ago

please send the image again without blur


timeattackwtf
PROOP

2 years ago

its just my endpoint

1306676838235639928


2 years ago

what kind of app is this


timeattackwtf
PROOP

2 years ago

just my fastapi backend


2 years ago

you likely need to tell it to trust the proxy headers


timeattackwtf
PROOP

2 years ago

sorry if this is unrelated to railway but how do i do that?


2 years ago

I can't recall off the top of my head, but since it isn't related specifically to railway, a quick Google search should do you nicely


timeattackwtf
PROOP

2 years ago

i c


timeattackwtf
PROOP

2 years ago

found hte issue it wasnt railway related


timeattackwtf
PROOP

2 years ago

it was a trailing issue i guess


timeattackwtf
PROOP

2 years ago

i had a / at the end of the url


2 years ago

you should also have your app trust the proxy headers too


Welcome!

Sign in to your Railway account to join the conversation.

Loading...