MCP request timed out -> LibreChat turns unavailable #7963
Replies: 2 comments 1 reply
-
Helpful to see this output: docker images | grep librechat Make sure you're on latest version, updating Instructions (docker): We resolved some potentially related issues since the last major version of LibreChat (on latest commits).
In production, I would not recommend using a local version of mongodb, which could be what's hanging up everything here. You can rule it out if you use MongoDB Atlas (they have a free plan): Also, for MCP specifically, only MCP servers with "Streamable HTTP" transports are recommended for production. |
Beta Was this translation helpful? Give feedback.
-
Hi @danny-avila I finally had some time to debug this properly, I think it might be related to the TypeScript SDK. I've opened an issue modelcontextprotocol/typescript-sdk#771 Thanks for your support! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I have a few agents an some MCP tools deployed everything working ok.
I was evaluating to deploy a new tool, testing it locally (with Docker) it turns that when I get a time out from the tool the agent is using, in this case due to the size of the response to process I think.
I can see the timeout error response in the chat,
but immediately after last error message, everything in the UI become unavailable, and the page neither refresh properly or load with any browser, I can't see any error in the inspector neither. The only way to recover the service is to restart the LibreChat container.
In the LibreChat logs I can see:
I can see new
WT_VERB_CHECKPOINT_PROGRESS
are coming, restartingmongodb
doesn't have any effect, it only works after restarting LibreChat.I'm wondering best approach to debug this issue as I didn't find anything in the discussions or issues. I'm concerned to deploy it to production if its making the service unavailable.
Thank you for any help!
Beta Was this translation helpful? Give feedback.
All reactions