Spaces:
Paused
Paused
|
Download docs/source/configuration/common-issues.md from Mike0021/chat-ui-agent-demo: direct link, hf CLI and curl.
- Browser
- Download file 1.05 kB
-
https://huggingface.co/spaces/Mike0021/chat-ui-agent-demo/resolve/main/docs/source/configuration/common-issues.md
- Command line
-
hf download hf://spaces/Mike0021/chat-ui-agent-demo/docs/source/configuration/common-issues.md
-
curl -L -o common-issues.md https://huggingface.co/spaces/Mike0021/chat-ui-agent-demo/resolve/main/docs/source/configuration/common-issues.md
1.05 kB
Common Issues
403: You don't have access to this conversation
This usually happens when running Chat UI over HTTP without proper cookie configuration.
Recommended: Set up a reverse proxy (NGINX, Caddy) to handle HTTPS.
Alternative: If you must run over HTTP, set the following env var:
COOKIE_SECURE=false
This automatically sets COOKIE_SAMESITE to lax, which is the correct value for HTTP deployments.
Also ensure PUBLIC_ORIGIN matches your actual URL:
PUBLIC_ORIGIN=http://localhost:5173
Models not loading
If models aren't appearing in the UI:
- Verify
OPENAI_BASE_URLis correct and accessible - Check that
OPENAI_API_KEYis valid - Ensure the endpoint returns models at
${OPENAI_BASE_URL}/models
Database connection errors
For development, you can skip MongoDB entirely - Chat UI will use an embedded database.
For production, verify:
MONGODB_URLis a valid connection string- Your IP is whitelisted (for MongoDB Atlas)
- The database user has read/write permissions