-
Type:
Suggestion
-
Resolution: Fixed
-
None
-
Component/s: Documentation (User)
-
None
As pointed out by a customer in a support case, if the Stash server has not been entered in the pg_hba.conf file, Postgres 9 will not allow the connection. The pg_hba.conf file enables client authentication between the PostgreSQL server and the client application. This file consists of a series of entries , which define a host and its associated permissions (e.g., the database it is allowed to connect to, the authentication method to use, and so on). Without this configuration, a similar exception is reported when connecting to Postgres 9:
org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (FATAL: password authentication failed for user "<username>")
Please update the Connecting Stash to Postgres document to add the requirement to include Stash server in the above file.
More details about this file are here.