2 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
1 Replies
2 months ago
Hey there! We've found the following might help you get unblocked faster:
🧵 Service fails with 502 error on specific path /plan/ - Request not reaching application
🧵 502 Bad Gateway error despite successful container startup
🧵 502 Bad Gateway on preflight OPTIONS requests for stable, healthy service
If you find the answer from one of these, please let us know by solving the thread!
a month 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 • about 2 months ago
Status changed to Solved buluwe-park • 10 days ago