Search code examples
macosgithubsynchronizationgithub-for-mac

Github. An authentication error occurred. We could not sync with the server


I am using GitHub for Mac.

Now If I try to perform Sync, I got the following message:

An authentication error occurred. We could not sync with the server.

If I go to the following page https://github.com/settings/ssh/audit
I get the following message:

All your SSH Keys have been verified.

What can I do to fix this problem?

P.S.
I have already followed the following steps with no success: http://help.github.com/linux-set-up-git/


Solution

  • Have you set the remote repo correctelly?

    Settings -> Primary remote repository (origin)
    

    Paste your project's repo address (e.g. git@github.com:username/your_proj.git) to there.