Server hangs and has to be hard reset when using incorrect API key #12126
Unanswered
T3rm1
asked this question in
Troubleshooting
Replies: 1 comment 2 replies
-
|
Thanks for reporting this. What are the resource specs for your server (CPU/RAM)? The behavior you're describing, particularly with the create user script, sounds like it's hanging on a failed connection rather than actually generating high CPU load. Without a timeout on the connection attempt, it can appear to lock things up, especially on lower-resource environments. Can you share the actual CPU/memory usage during the issue? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
What happened?
Load was so high on the server that it could only be restarted.
Version Information
a79f7ce
Steps to Reproduce
Start the server with the configuration from
.env.example. Select a OpenAI model and enter an incorrect API key such as "abc". Send a message and notice the cpu load go up.Edit: Found another way to crash the server. I have set up LibreChat with only api and rag_api services. I configured MongoDB Atlas for vector and config storage. This works. When I call the create user script from inside the api container, it fails to connect. There is no timeout or any output from the script. It just creates so much load on the server that nothing is working any more. Luckily I was able to cancel this in time so I didn't have to reset the server.
What browsers are you seeing the problem on?
Chrome
Relevant log output
Screenshots
No response
Code of Conduct
Beta Was this translation helpful? Give feedback.
All reactions