I run into the same issue after a system crash. After getting back into the system, I try to push to the repo and Gitkraken asks me for the credential. I go to Preferences -> Integrations -> Bitbucket.org -> Connect to Bitbucket. It then opens a link like this:
https://api.gitkraken.com/oauth/bitbucket/login?action=authorize&socket_id=XXXX&in_app=true
That page quickly reroutes to https://www.gitkraken.com/error?error=1007 with the message Oh no! An error occurred.:
img
This happens very quickly, so it is really challenging to capture that api.gitkraken.com link. It doesn't matter how many times I retry clicking on that Connect Bitbucket account, it still sends me to the same page. Finally, I quit Gitkraken and repeat the process. This time it works. Hope this will help whoever finds this post.
This works with Virtualbox 6.* and Ubuntu 20.04 but fails with Virtualbox 7.* and Ubuntu 20.04. Any insight is appreciated.