Github desktop for mac cannot login

I’m new to github and I’ve just downloaded github desktop for mac (v217), but i cannot login, it always says “could not reach server”.
Image : the error msg

I’ve tried :

  • understanding git log --stat output
  • git: more efficient way to do this
  • git pull analogous to / opposite of git push -f?
  • How does git diff -M work?
  • git push to specific branch
  • GitLab: Is there a way to protect a branch from command line?
    • Both my username and email for ‘Login’;
    • Reinstall github desktop;
    • Login with Git by trying “git push” to my repo and succeeded;
    • And there is no problem with my login on github.com

    Thank you for the help 😉

  • made a disastrous mistake with “create git repo here” .how to rectify/undo?
  • Multiple repositories in one directory
  • Append changes in git for some files
  • GIT SSL error persist despite recommended fix for Mac OS X Yosemite
  • git parallel branch
  • git: how do I merge between branches while keeping some changesets exclusive to one branch?
  • 3 Solutions collect form web for “Github desktop for mac cannot login”

    We ran into this same problem. The solution for us was to have the new user check their e-mail and authenticate their account with GitHub. After we did that we no longer received the vague error message.

    I’ve ran into the same problem. I solved it by:

    1. logging into the web site

    2. then going to https://github.com/settings/applications
      (Or menu Settings/Authorized Applications)

    3. revoking the access to “Github for MAC”

    4.Then I had to sign in from the Desktop app 2-3 times before it worked again.

    Remember: If you create by first time the Github Account and try to access to Desktop app (Mac/Windows) the message: “could not reach server” will appears if you haven’t clicked in “VERIFY EMAIL” in you inbox.

    I just went to email and click on “verify email” link and try again. It worked for me.
    enter image description here

    Git Baby is a git and github fan, let's start git clone.