This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
🐛 Bug Report: Unable to connect to Remote Database #4643
Labels
8000
You can continue the conversation there. Go to discussion →
👟 Reproduction steps
I am trying to connect my remote DB from DigitalOcean Managed Database and I'm not able to connect to it because Appwrite failed to established a connection.
👍 Expected behavior
It should connect to the database and Appwrite should operate normally.
👎 Actual Behavior
Appwrite did not work, it failed to connect, the logs shows:
Fatal error: Uncaught Exception: Failed to connect to database: SQLSTATE[HY000] [1105] unknown error: Code: UNAVAILABLE
server does not allow insecure connections, client must use SSL/TLS
in /usr/src/code/app/http.php:77
Stack trace:
#0 {main}
thrown in /usr/src/code/app/http.php on line 77
[2022-11-06 18:42:13 #1.2] ERROR php_swoole_server_rshutdown() (ERRNO 503): Fatal error: Uncaught Exception: Failed to connect to database: SQLSTATE[HY000] [1105] unknown error: Code: UNAVAILABLE
server does not allow insecure connections, client must use SSL/TLS
in /usr/src/code/app/http.php:77
Stack trace:
#0 {main}
thrown in /usr/src/code/app/http.php on line 77
Database not ready. Retrying connection (10)...
🎲 Appwrite version
Version 1.0.x
💻 Operating system
Linux
🧱 Your Environment
I am trying to use a remote database, I have modified the .env and ran docker compose up -d
👀 Have you spent some time to check if this issue has been raised before?
🏢 Have you read the Code of Conduct?
The text was updated successfully, but these errors were encountered: