Repository navigation
Troubleshooting
This page contains current troubleshooting entry points. Before reporting a problem, identify the Chat2DB version, edition, runtime mode, operating system, and database type.
Docker, Web, and other non-Desktop runtimes require a valid key before startup:
./script/security/init-community-encryption-key.shThe default path is:
~/.config/chat2db-community/encryption.key
Do not overwrite the key of an existing installation. A replacement key cannot decrypt previously saved datasource passwords or AI model API keys.
docker logs chat2db-community
curl http://127.0.0.1:10825Community must remain bound to a loopback address. Do not expose the service publicly to work around a local access problem.
The runtime may be unable to reach the configured driver download location.
- Local runtime: place trusted drivers under
~/.chat2db-community/jdbc-lib - Docker: place trusted drivers under
$HOME/.chat2db-community-docker/jdbc-lib - Check the current
application.ymlfor the configured download locations
Custom JDBC drivers are executable Java code. Do not install untrusted JAR files.
Check these items in order:
- The database host and port are reachable from the environment running Chat2DB.
- The database name, username, password, and authentication mode are correct.
- The database permits connections from the Chat2DB source address.
- The JDBC driver is compatible with the database version.
- Inside Docker,
localhostrefers to the container itself, not necessarily the host database. - SSH, SSL, proxy, and firewall settings match the actual network path.
See Cannot Connect to a Database for the full checklist.
Check:
- API key, base URL, and model name against the provider requirements
- Network access from the actual Chat2DB process or container
- Whether a proxy applies to Java or Docker, rather than only to a browser
- Provider context, rate, and credit limits
- The first provider error recorded in the Chat2DB logs
Remove API keys, tokens, private addresses, and business data before sharing logs.
Do not apply procedures written for the old Electron client, removed source directories, or old ports. First record:
- Current version and installation source
- Community, Pro, or Enterprise
- Desktop, Docker, Web, or source-development mode
- The first concrete error in the browser console or Chat2DB logs
Choose the correct channel:
- Usage questions and open discussions: GitHub Discussions
- Reproducible bugs: GitHub Issues
- Security vulnerabilities: Private vulnerability reporting
A useful bug report includes:
- Chat2DB version and edition
- Desktop, Docker, Web, or source runtime
- Operating system, database type, and database version
- Reproduction steps, expected result, and actual result
- Sanitized logs, screenshots, or recordings
Never post passwords, tokens, API keys, private hostnames, customer data, or complete production SQL.
Chat2DB Wiki
Community
Help
Project