The authentication with Bitbucket has failed. Please check your OAuth settings. — January 22, 2019

The authentication with Bitbucket has failed. Please check your OAuth settings.

While integrating Bitbucket cloud with JIRA server on local I got this error.

The authentication with Bitbucket has failed. Please check your OAuth settings.

This link saved my life. Error is related to the current local time.
https://www.digitalocean.com/community/tutorials/how-to-set-up-time-synchronization-on-ubuntu-16-04

Advertisements
git merge master into child branch — June 27, 2017
Git rollback to commit id — May 11, 2017
Git error :-Updates were rejected because a pushed branch tip is behind its remote — February 17, 2017
Failed to connect to bitbucket.org port 443: Network is unreachable — August 7, 2016

Failed to connect to bitbucket.org port 443: Network is unreachable

Hi,

I got this error when I was trying to clone a Bitbucket repo on ubuntu. After searching for few hours and reading this link I found a solution. I had to read the complete discussion up to bottom. But now you don’t need to read the full article on bitbucket .

Simple solution step by step

Step 1:- ping bitbucket.org

you will see response like this

64 bytes from bitbucket.org (104.192.143.2): icmp_seq=1 ttl=51 time=354 ms
64 bytes from bitbucket.org (104.192.143.2): icmp_seq=2 ttl=51 time=350 ms

104.192.143.2 is the ip address that we need.

Step2:- Now we need to edit host file. In ubuntu use this command

sudo nano /etc/hosts

to reach your  host file. And paste line like this

104.192.143.2 bitbucket.org

Now save hosts file and that’s it.

Now try to push or clone bitbucket repo , you will definitely get suceess. Hoping this may save your time 🙂 .