It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Issue installing Sourcetree & cloning repository

Dear Atlassian,

Kindly assist. We re trying to install SourceTree on a Corporate network which is Firewalled & Proxy controlling Internet Access. The following ip's has been allowed for Bitbucket as per the Cloud Bitbucket IP list in your post. 104.192.143.1 
104.192.143.2 
104.192.143.3
104.192.143.65 
104.192.143.66 
104.192.143.67 
104.192.136.0/21
34.198.203.127
34.198.178.64
34.198.32.85 
104.192.143.4
104.192.143.5
104.192.143.6 
104.192.143.68
104.192.143.69 
104.192.143.70
23.20.208.24/32
52.7.19.238/32  
52.55.104.10/32
52.203.194.12/32
34.236.25.177/32 
34.232.25.90/32 
52.203.14.55/32 

When installing the Software at the Connect an account screen, we choose OAuth as the Authentication method, which takes you to bitbucket.org to log in. Once logged in the redirects to a localhost site (http://localhost:34106/?state=authenticated&code=cuJDmeFSS5erYHceBq)  "page cannot be displayed. On the Sourcetree app we get an error "Unable to get secret, Unable to get user secret, Request for an OAuth Request_token was denied." When choosing basic and entering your atlassian log in details it works, but this is not how the client wants to authenticate as it works fine on open network. I have also allow the id.atlassian.com, sourcetree.com and download.atlassian.com on the proxy. The atlassian site ip addresses is also included in the ip addresses we have allow as per above. When adding these 3 domains/ip addresses on the firewall however it causes Internet issues in our environment.

2.The embedded Git and Mercurial package could not be installed during the sourcetree setup, it give an error: Unable to extract filename and filepath, unable to connect to remote server. 

3. When trying to clone a repository it gives a message Invalid path. 
A connection attempt failed because the connection party did not properly respond after a period of time, or established connection failed. We added proxy settings on sourcetree software, but this does not seem to resolve the issue.

3. When trying to clone a repository it gives a message Invalid path

May you kindly assist  and advise what Firewall/proxy access is required for sourcetree to install properly and to clone repositories from bitbucket. Bitbucket.org, id.atlassian.com, download.atlassian and sourcetree sites are all working when opening it in the browser, for some reason something else seems to be preventing properly communication.

Thank you

1 answer

0 votes
BillyP Community Leader Jan 26, 2018

Hello, 

Just to check a few things. 

 - You don't have two factor authentication on right?  That could cause a hiccup on initial setup.  

 - Where are you authenticating to?  

Hi Billy

Thanks for the response. Please clarify, "two factor authentication" on where exactly. Authentication is only done on proxy when browsing.

BillyP Community Leader Jan 29, 2018

Two Factor Authentication is when you get a text sent to your phone to confirm it's actually you logging in and not someone with your username and password.  This is a required check by some systems/ policies.  

My other question was asking where your user credentials are.  If they are on a local server, then you'll need to setup your system to reference that local server.  

If it's in the cloud, then point bitbucket to the cloud server so it can authenticate the users. 

Yip, no we do not use two factor authentication. All other issues has been resolved except the authentication to the bitbucket site while installing sourcetree. The OAuth aunthetication works now when setting default browser to chrome, as soon as the page launch to enter your bitbucket details in IE the page redirects to the localhost:34106/state=authenticated link, and generate message - (This page cannot be displayed). Then gives the "unable to het secret" error message. Not sure why it only does it in IE.  Can you perhaps advise what the issue may be? Question2: Does the software require proxy settings in the network tab or is this not required?

q3: when doing a trace during The git & mercurial download there are connection attempts to akamaitechnologies.com, this is cirrently blocked on our side. Why is it initiating connection to this site. Does all the amazonaws ips need to be allowed on the fw or just the cloudfront.net ips?

 

Thank you.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Off-topic

Do you still play the same games you played when you were a kid?

Months ago, I was walking in a huge grocery store and I went to the toys aisle and found a jigsaw puzzle that was more than 50% off, and I thought "why not? It will be fun and it can be a beautiful f...

315 views 35 12
Join discussion

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you