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

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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jun 12, 2018 in Bitbucket

Do you use any Atlassian products for your personal projects?

After spinning my wheels trying to get organized enough to write a book for National Novel Writing Month (NaNoWriMo) I took my affinity for Atlassian products from my work life and decided to tr...

29,320 views 26 12
Join discussion

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