Dimension can't connec to external database
Hello,
I'm about to setup a new Dimension for logging. I used to use the appliance's internal database, but i'm going to change for an external one.
So I setup up a new Debian13/PostgreSQL14 system which is up and running. Access tested with pgadmin4 successfully.
I setup a new appliance from the ovf-template version 2.3 and am now trying to configure database access with the setup wizard, which constantly gives me the message:
"Connection failed. Make sure the Database User credentials are correct. The user you specify must have permission to create a new database or modify the current database."
I verified the credentials of the user i'm using with pgadmin. I precreated a database "dimension" for it, I even made the user a postgresql superadmin, but nothing seems to work. I tested several client authentication methods like "scram-sha-256","password" and "md5" within the pg_hba.conf (scram works fine with the pgadmin!) but it wouldn't let me make a successfull connection. I also tried a more simple password without any fishy/funny characters.
Does anyone have an idea what might be the reason for this? Does anyone successfully got this connection to be successfully established?
best regards
Heiko
Comments
Hi @wciibb
Do you see any errors in your database server from the failed login attempts? The logs there may be able to tell you more information about what's wrong.
The Dimension server will only be able to report that authentication didn't work when logging into an external database.
-James Carson
WatchGuard Customer Support
Hi James, thx for your response.
In the postgres log i can only see an connection attempt, but nothing else. Interestingly it says "[unknown]@[unknown]", as i'm not a postgres pro, it seems to me that it can't tell which username had been used to access which database.
I thought about if it would help to select "internal" in the setup wizard first and then try to reconfigure it afterwards in the database settings to switch from the internal database to the external. Perhaps this uses other routines which might succeed!?
So, i now setup with the internal database and tried to change it afterwards to use the external one. But with now progress do far.
I created a new user with administrative rights on the postgresql and logged into via pgadmin successful:
Then I tried to reconfigure the database in the database configuration section of the dimension using the same credentials:
2026-03-26 10:24:28.642 CET [18493] [unknown]@[unknown] LOG: 00000: connection received: host=172.29.46.1 port=50966
```
No luck untli now.