I can not clone my local git repo into GitHub using Git Desktop

Hi

I have a local repository “gamsr” and wanted it to push it to my Github account as a non-private project. If I try to do that, I see “Fetching Origin” and get, after a while, the following message:

2018-01-25T17:52:08.416Z - info: [ui] [AppStore] loading 1 repositories from store

2018-01-25T17:52:08.418Z - info: [ui] [AppStore] found account: arnyeinstein (Renger van Nieuwkoop)

2018-01-25T17:52:09.329Z - info: [ui] launching: 1.0.12 (Windows 10.0.16299)

2018-01-25T17:56:03.858Z - info: [ui] Executing fetch: git -c credential.helper= fetch --progress --prune origin (took 225.123s)

2018-01-25T17:56:03.860Z - error: [ui] `git -c credential.helper= fetch --progress --prune origin` exited with an unexpected code: 128.
fatal: unable to access 'https://github.com/arnyeinstein/gamsr.git/': Failed to connect to github.com port 8080: Timed out

The gamsr project is created, but nothing is in it. I have a private key and if I run the bash, I can access GitHub:

$ ssh -T git@github.com
Hi arnyeinstein! You've successfully authenticated, but GitHub does not provide shell access.

I tried a few things (among others deleting the project on Github, removing the local repository), but nothing solved the issue.

Any help would be welcome

Thanks

Renger

When you SSH manually to GitHub, you’re not specifying a port number, so by default it is using port 22. The error message you show specifies that it is attempting to connect via port 8080, so the connection request is being ignored. It sounds like you have some proxy configuration getting in your way?

You may want to take a look at the GitHub Desktop repository README section on “I have a problem with GitHub Desktop”. It may lead you to more information on your specific problem and opening an issue there is the way to contact the Desktop team directly.

Hi lee-dohm

I found the solution on stack-exchange (https://stackoverflow.com/questions/5102361/pull-command-error-failed-connect-to-github-com8080/6080561#6080561)

and tried the solution given (don’t know why this works, but it works):

I had the same issue because I forgot to remove my proxy configuration on Git.

git config --global http.proxy

If it returns something you have to unset the value with the following command :

_git config --global --unset http.prox_y

Cheers

Renger