Django DB connection error #1521
Unanswered
Jmcclaskey
asked this question in
Getting Help
Replies: 1 comment 1 reply
-
You multiple services declared twice in your override file. Can this issue be reproduced with the default images? What are your database connection settings? |
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
Uh oh!
There was an error while loading. Please reload this page.
-
Current Behavior
We are encountering a critical
django.db.utils.OperationalError: connection failed: connection to server at "<Database_IP>", port 5432 failed: could not generate nonce
immediately after attempting to update our running container.We are currently running v4.0.2-2.9.1 successfully. Our update process involves a standard
docker compose down
, changing the version tag, and thendocker compose up
. We are not building custom containers and are only pulling images from Docker Hub.Environment Details
Details
v4.0.2-2.9.1
v4.4.1-3.4.0
v4.4.0-3.4.0
v4.1.0-3.0.1
django.db.utils.OperationalError: connection failed: connection to server at "<Database_IP>", port 5432 failed: could not generate nonce.
(Note: The <Database_IP> placeholder reflects the actual IP in our logs.)
Request
We need assistance troubleshooting the cause of the
could not generate nonce error
, which is preventing the newer application versions from connecting to our PostgreSQL database (v17). Given the specific IronBank images we are using, please advise on potential version compatibility issues or required configuration changes that might be necessary for the new application versions to successfully connect to our existing database and Redis setup. This could also just be a django error but I dont want to mess with a working container unless absolutely necessary, and want to know if you have seen anything like this.Expected Behavior
I expect that after changing the version and docker compose up we are getting a working netbox that connects to the DB.
Docker Compose Version
v4.1.0-3.0.1
Docker Version
The git Revision
N/A
The git Status
Startup Command
docker compose -f u_netbox_docker-compose.yaml --env-file netbox.env up -d
NetBox Logs
Content of docker-compose.override.yml
Beta Was this translation helpful? Give feedback.
All reactions