Cannot Access Internal FastAPI Service from Public Go API (But Works from Local via Public Domain) 502 error
buluwe-park
FREEOP

5 months ago

I have deployed a project on Railway consisting of the following:

Go service via Docker(public)

python service via Docker (fast API) via docker which is an internal service

Minio file sever

PgVector DB

I am able to access the the minio, pgVector db via internal services from the go service properly using Private domains but for some reason the python/fast API service keeps throwing Application failed to respond 502 error. i thought it was an issue in my code but when i make the python/fast API service public and try an access it from my local machine with the same go project everything works smoothly. what could be the issue? this is how i am accessing the python-service the go service: IMAGE_SERVICE="http://${{python-service.RAILWAY_PRIVATE_DOMAIN}}:8080"

Attachments

Solved$10 Bounty

1 Replies

Railway
BOT

5 months ago


brody
EMPLOYEE

5 months ago

This thread has been marked as public for community involvement, as it does not contain any sensitive or personal information. Any further activity in this thread will be visible to everyone.

Status changed to Open brody 5 months ago


Status changed to Solved buluwe-park 4 months ago


Loading...