Chat UI documentation
Common Issues
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, configure cookies:
COOKIE_SECURE=false
COOKIE_SAMESITE=laxAlso ensure PUBLIC_ORIGIN matches your actual URL:
PUBLIC_ORIGIN=http://localhost:5173Models 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