Issue for bitbucket to connect an external postgres database

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.
Could not get JDBC Connection; nested exception is org.postgresql.util.PSQLException: Connection attempt timed out.
Connection attempt timed out.


Thank you!!

2 answers

1 accepted

2 votes
Accepted answer

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.

Hello  Jobin, 

Good answer!!!



Actuely, i want to clone projet in stash to bibucket server  and i have this error. 



Best regards;


Sorry, can you translate that to English for me?

Import failed
This deposit was not imported. Ask your administrators to check the log files for more details bitbucket

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.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 06, 2018 in Bitbucket

Upgrade Best Practices

Hello! My name is Mark Askew and I am a Premier Support Engineer for products Bitbucket Server/Data Center, Fisheye & Crucible. Today, I want to bring the discussion that Jennifer, Matt, and ...

1,952 views 7 10
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you