Skip to content
Discussion options

You must be logged in to vote

For anyone who is having trouble with Railway, the workaround is to set a PORT for the RAG API service to 8000.

PORT=8000

Not sure when, but in Railway's documentation, it mentions this:

If you prefer to explicitly set a port, you must set the PORT variable in your service variables to the port on which your service is listening.

And I've also updated the RAG_API_URL in the LibreChat service to https://${{" RAG API 📚".RAILWAY_PUBLIC_DOMAIN}}, as it seems to return an empty http:// first time around.

RAG_API_URL=https://${{" RAG API 📚".RAILWAY_PUBLIC_DOMAIN}}

cc @danny-avila

EDIT:
Here is my updated template: https://railway.app/template/HxvQtm?referralCode=ZqgrJ0

Replies: 5 comments 7 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
5 replies
@larryb821
Comment options

@FernandoLLB
Comment options

@akilicarslan
Comment options

@monotykamary
Comment options

@berry-13
Comment options

Answer selected by berry-13
Comment options

You must be logged in to vote
2 replies
@berry-13
Comment options

@FernandoLLB
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug Something isn't working
9 participants
Converted from issue

This discussion was converted from issue #3529 on August 04, 2024 10:32.