I want to connect in a external postgresql database and i have this message.
The configuration entered is not valid. A database connection could not be established. Please check your configuration and try again. com.atlassian.stash.internal.db.DefaultDatabaseManager.validateConfiguration(DefaultDatabaseManager.java:217) com.atlassian.stash.internal.db.DefaultDatabaseManager.prepareDatabase(DefaultDatabaseManager.java:183) com.atlassian.stash.internal.maintenance.SpringMaintenanceTaskFactory.setupTask(SpringMaintenanceTaskFactory.java:159) ... Could not get JDBC Connection; nested exception is org.postgresql.util.PSQLException: Connection attempt timed out. org.springframework.jdbc.datasource.DataSourceUtils.getConnection(DataSourceUtils.java:80) com.atlassian.stash.internal.db.DefaultDatabaseValidator.validate(DefaultDatabaseValidator.java:44) com.atlassian.stash.internal.db.DefaultDatabaseManager.validateConfiguration(DefaultDatabaseManager.java:214) ... Connection attempt timed out. org.postgresql.Driver$ConnectThread.getResult(Driver.java:368) org.postgresql.Driver.connect(Driver.java:279) java.sql.DriverManager.getConnection(DriverManager.java:664) ...
Thank you!!
It looks like the server where you have installed Bitbucket Server is unable to reach the external DB. I would start by checking the network and firewall settings.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sorry, can you translate that to English for me?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Not sure what the issue is. You can check the logs, as mentioned in the error, and hopefully that will give you more details on why this is happening.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.