Build/Deploy succeed but UI shows 'network error' and HTTP logs give 502 status
aliarsalankazmi
FREEOP

10 months ago

I was building a RAG application with railway as back-end and vercel as front. The build and deploy works fine, along with the health check(first image), but when I try using the UI, back-end querying does not work and shows an network error (second , third images attached).

Locally, I have no issues running this app. I have hit a wall with this now, as I need help to understand what else I can inspect to solve this.

Any pointers are greatly appreciated

$10 Bounty

7 Replies

aliarsalankazmi
FREEOP

10 months ago

project ID: 940d305d-eb62-4c25-bfbc-86e05a1e7167


aliarsalankazmi
FREEOP

10 months ago

I even created a minimal app and still facing the same issue when i try to reach one of the endpoints.

Are there specific Railway env variables that I need to set?


shxkm
HOBBY

10 months ago

It seems like you haven't attached images you meant to?


aliarsalankazmi
FREEOP

10 months ago

Thanks for responding, @Duchess

The images are attached in this thread. Surprised if I can see you but others cannot... :/


aliarsalankazmi
FREEOP

10 months ago

Just letting the Railway team know: there might be an issue with the way Railway is deploying code --- I did not manage to resolve my error, but when I transitioned to Render, the same code worked perfectly.

So you guys might want to look into this. I honestly spent 2 days battling with it, thinking there was an issue in my code.


10 months ago

Just a simple misconfiguration is all -


clashing
HOBBY

10 months ago

aliarsalankazmi, can you please provide the PUBLIC endpoint for your app deployed on Railway!


Welcome!

Sign in to your Railway account to join the conversation.

Loading...