GitKraken: Constant OAuth token issues

GitKraken: Constant OAuth token issues.

I am trying to push changes to my branch using the GitKraken GUI. This is something I do commonly without error. However, when I went to push, it gave me a pop up saying “Your OAuth token for ‘Gitlab’ is invalid. Would you like to refresh your OAuth credentials or try again without OAuth?” and presents the following three options:

  • Refresh Token
  • Retry without OAuth
  • Cancel

Refresh Token takes me to a GitKraken page in the browser, which indicated that I was authenticated and the system would work. I checked inside GitKraken, and I am authenticated. I also regenerated an SSH key. However, it keeps giving me this pop up no matter how many times I re-authorize.

Retry without OAuth gives me an error saying “Push Failed: failed to write chunk header: The server returned an invalid or unrecognized response

I logged out of gitlab and back in, and after exiting and reopening GitKraken, it continues to say I am not connected. After reauthorizing again, it says that I am connected.

How can I fix this error?

Thank you

Hi @s_team337 and welcome to the GitLab Community forum!

It sounds like this was previously working as expected, but now it’s not.

Did you recently update GitKraken?

Did you make any changes to your account authentication options (eg. 2FA) on GitLab around the time this stopped working?

I’m not able to reproduce this behavior in my testing, but if this affects other users I’d expect to see some response here.

For community support and technical assistance with GitKraken, I suggest joining the GitKraken Slack channel as recommended on the Contact > Support - GitKraken page.

GitKraken was updated as normal around 8 June (I think).

I did not make any changes to my account when this stopped working.