I am trying to push change I have made in my repository to Bitbucket. I am using Sourcetree for this. I am using HTTPS.
I am getting a timeout error. "Failed to connect to bitbucket.org port 443: Timed out"
This worked fine when I did my initial commit and a few afterwards.
If I copy the URL into my browser I get a bitbucket 404 that says "That link has no power here."
Can someone please help point me in the right direction of what is going wrong?
Thanks :)
Welcome to the community!
It should be the Local network firewall or DNS issue, please look at the below articles.
https://bitbucket.org/site/master/issues/12184/failed-to-connect-to-bitbucketorg-port-443
https://bitbucket.org/site/master/issues/15411/failed-to-connect-to-bitbucketorg-port-443
Hoe it helps.
Thanks @Yogesh Mude I have tried the recommended commands in the first issue and both the ping and the trace route are fine.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
bitbucket 404 that says "That link has no power here."
Can you please confirm if you are able to access the repo from bitbucket with appropriate permission.
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.
ok, using Sourcetree you are not able to push the change to remote repo correct?
Can you please try to clone the repo and do the changes to working dir and then using git try to push the changes to the remote repo.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Correct. I do not know the correct commands using git which is why I am using Sourcetree. At this stage the only working directory I have is the one that is no longer working.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Follow the below steps to clone the repo using git.
1. Open the git bash on your system.
2. Create the directory in which you want to clone the repo and redirect the cursor into the dir
3. Configure your username and email.
> git config --global user.name "XXXXX"
> git config --global user.email "XXXX@abc.com"
4. Initialize the git
> git init
5. Copy the repo URL from bitbucket and clone it to Working dir.
> git clone <Repo_URL>
6. Change any file within the working dir and then push the changed to remote rep.
> git status
> git commit -a -m <commit_massage>
> git push -u origin <Branch_name>
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.
To create dir.
> mkdir Test_repo
Go to the newly created dir and then clone the repo in this.
> cd Test_repo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Yogesh Mude I got to step 5 and I got the same error
"it/': Failed to connect to bitbucket.org port 443: Timed out"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
ahh..then there will be a network/firewall/DNS issue please check with your IT/Network team.
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.
Thank you @Yogesh Mude
I added a proxy into Sourcetree rather than using the default windows proxy and this seems to have fixed the problem.
Thanks again for your help!
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.