Bitbucket server and cloud build issues.

Hey,

I have searched forever for the answer to this question, but without any luck.

I have installed a local bitbucket server, and i can connect just fine to the repository with Sourcetree. When i try to connect with the Cloud Build SCM wizard, i get as far as adding the SSH key.

I have added the key, just as i would in the cloud version of BitBucket, but unity simply refuse to log in.

I have tried putting the server in a DMZ to make sure that no firewall’s were blocking the access, but still no luck.

I have run out of ideas on how to fix this, anyone have a guilde to setting this up for a private bitbucket server?

Cheers.

Hello,

Which kind of errors are you seeing?

  • Sophia

Hello Sophia,

Thank you for replying!

It’s simply telliing me that " Repo is not accessible. Please check your URL and repo settings. ". However, if i turn my firewall on, i get an error on the previous stage where it’s attempting to connect to my repo, so im assuming that its actually making a connection to the bitbucket server.

If only i had some sort of actual log available from the connection attempt made by the builder i might be able to see whats actually causing the issue.

Going to DM you

Hello Sophia (Or anyone else able to help)

We are having the exact same problem. We can see the request going through our firewall, but we have a proxy system set up. But without more information on the error message, which ports are required etc. it’s hard for us to solve.

It would be really helpful to have a solution posted here on the forums, so anyone else with the problem can see it.

Hello,

Could you provide some more information about which source control youre using?

If you need the Cloud Build IP address, please submit a support ticket and we’ll get them sent over to you

  • Sophia