zalf-rdm / geonode-k8s

A Kubernetes helm chart for the geospacial webapplication Geonode
https://geonode-k8s.readthedocs.io/en/latest/
GNU General Public License v2.0
12 stars 7 forks source link

Bug: geoserver cannot connect to database #88

Closed mwallschlaeger closed 10 months ago

mwallschlaeger commented 10 months ago

Bug Description

Running a default installation like the minikube, geoserver has an issue connecting to the geoserver database in some cases e.g. when trying to click on some of the references in metadata overview of a dataset. e.g. like excel. This returns in the following error shown in the browser:

 com.google.common.util.concurrent.UncheckedExecutionException: org.springframework.transaction.CannotCreateTransactionException: Could not open JPA EntityManager for transaction; nested exception is javax.persistence.PersistenceException: org.hibernate.exception.GenericJDBCException: Cannot open connection org.springframework.transaction.CannotCreateTransactionException: Could not open JPA EntityManager for transaction; nested exception is javax.persistence.PersistenceException: org.hibernate.exception.GenericJDBCException: Cannot open connection Could not open JPA EntityManager for transaction; nested exception is javax.persistence.PersistenceException: org.hibernate.exception.GenericJDBCException: Cannot open connection org.hibernate.exception.GenericJDBCException: Cannot open connection Cannot open connection Cannot create PoolableConnectionFactory (FATAL: password authentication failed for user "geonode") FATAL: password authentication failed for user "geonode" 

Reproduction Steps

best to provide your values.yaml, a brief description of your cluster and version of geonode-k8s here.

Behavior

A description of what you expected to happen and what actually happened.

Additional Information

Any additional information or context that may be helpful in resolving the bug.