Replies: 1 comment 1 reply
-
Hi @LoganTann By looking at your docker configuration, I think it's likely that you are trying to use the DB before it is ready to accept queries. Try starting only the database service, check if it works with some database manager and then start one of the services that depend on it If this turns out to be the problem, check the docker-compose file in this repo (pay special attention to the |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, I'm trying to run deno and postgres in a docker container using docker compose.
My deno application is using denodb, which uses this project to connect postgres.
I get this strange error :
error: Uncaught (in promise) Error: Could not check if server accepts SSL connections, server responded with: 69
after a reset, still the same error but response is different
error: Uncaught (in promise) Error: Could not check if server accepts SSL connections, server responded with: 82
I don't understand why it happens, any idea ?
Here's a snapshot of my code (interesting file might be the docker-compose.yml) https://github.com/LoganTann/redbeansoup-v2/tree/8c8a42e64ce7c0102b7da0729009a21b2d38db3b
operating system is windows 10.
config in deno (that seems totally correct regarding to the parameters set in the docker compose file) :
database: "redbeansoup",
host: "postgres",
username: "postgres",
password: "redbeansoup-bot",
port: 5432
Beta Was this translation helpful? Give feedback.
All reactions