[Question]: always need to start up backend twice #4817
Unanswered
smadep
asked this question in
Troubleshooting
Replies: 2 comments
-
That is not normal behavior and I constantly run it from VS code. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hmm, this is what I get ...
I debugged through it and the MONGO_URI is set properly?! Anything worth investigating in .env or librechat.yaml files? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
What is your question?
npm run backend always runs into mongodb timeout when started first from VS code terminal.
Is that normal behavior or do I miss some configuration step?
Any advice?
Thanks
More Details
I'm running my fork of latest main branch with no changes.
I'm currently running librechat from code (VS Code, Win11) with mongodb-cs and meilisearch docker containers.
I start frontend with npm run frontend:dev and then backend with npm run backend.
And the first time always backend fails to start up with connection timeout errors to mongodb.
Upon second try it works almost always then?!
What is the main subject of your question?
Other
Screenshots
No response
Code of Conduct
Beta Was this translation helpful? Give feedback.
All reactions