RAG API failed to start with railway #3530
-
What happened?Just use the default deploy, default variables . The RAG API can not start. Steps to Reproduce
What browsers are you seeing the problem on?No response Relevant log outputStarting Container
2024-08-04 09:46:59,940 - root - INFO - Initialized embeddings of type: <class 'langchain_openai.embeddings.base.OpenAIEmbeddings'>
/usr/local/lib/python3.10/site-packages/langchain_community/vectorstores/pgvector.py:322: LangChainPendingDeprecationWarning: Please use JSONB instead of JSON for metadata. This change will allow for more efficient querying that involves filtering based on metadata.Please note that filtering operators have been changed when using JSOB metadata to be prefixed with a $ sign to avoid name collisions with columns. If you're using an existing database, you will need to create adb migration for your metadata column to be JSONB and update your queries to use the new operators.
warn_deprecated(
2024-08-04 09:47:00,196 - uvicorn.error - INFO - Started server process [1]
2024-08-04 09:47:00,196 - uvicorn.error - INFO - Waiting for application startup.
2024-08-04 09:47:00,196 - uvicorn.error - INFO - Application startup complete.
2024-08-04 09:47:00,197 - uvicorn.error - INFO - Uvicorn running on http://0.0.0.0:8000 (Press CTRL+C to quit) ScreenshotsCode of Conduct
|
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 7 replies
-
Exactly the same error on my end |
Beta Was this translation helpful? Give feedback.
-
same issue here: #3511 |
Beta Was this translation helpful? Give feedback.
-
Same for me |
Beta Was this translation helpful? Give feedback.
-
For anyone who is having trouble with Railway, the workaround is to set a
Not sure when, but in Railway's documentation, it mentions this:
And I've also updated the
cc @danny-avila EDIT: |
Beta Was this translation helpful? Give feedback.
-
Just to be clear I have to change the DB_PORT to 8000 right? |
Beta Was this translation helpful? Give feedback.
For anyone who is having trouble with Railway, the workaround is to set a
PORT
for the RAG API service to 8000.Not sure when, but in Railway's documentation, it mentions this:
And I've also updated the
RAG_API_URL
in theLibreChat
service tohttps://${{" RAG API 📚".RAILWAY_PUBLIC_DOMAIN}}
, as it seems to return an emptyhttp://
first time around.cc @danny-avila
EDIT:
Here is my updated template: https://railway.app/template/HxvQtm?referralCode=ZqgrJ0