angular / angular-phonecat

Tutorial on building an angular application.
http://docs.angularjs.org/tutorial
MIT License
3.12k stars 4.67k forks source link

Unknown SSL protocal error in connection to github.com:443 #212

Closed xu10081008 closed 8 years ago

xu10081008 commented 9 years ago

It's my first useing git;I want to clone "angular-phonecat",so i use "git clone https://github.com/angular/angular-phonecat.git",but it throws an exception as the title. I need your help

stone99 commented 9 years ago

this error come from the tool you used to connect the github, you can change it and try again.

------------------ 原始邮件 ------------------ 发件人: "xu10081008"notifications@github.com; 发送时间: 2014年11月6日(星期四) 中午12:30 收件人: "angular/angular-phonecat"angular-phonecat@noreply.github.com; 主题: [angular-phonecat] Unknown SSL protocal error in connection togithub.com:443 (#212)

It's my first useing git;I want to clone "angular-phonecat",so i use "git clone https://github.com/angular/angular-phonecat.git",but it throws an exception as the title. I need your help

— Reply to this email directly or view it on GitHub.

xu10081008 commented 9 years ago

you mean: I need to uninstall git and install it again????

barcopolo-zz commented 9 years ago

i have a same issue and i cant upload any plugin.

Downloading install package from https://github.com/usaphp/Pluto-Plugins/raw/master/advanced-responsive-video-embedder.zip

Download failed. Unknown SSL protocol error in connection to github.com:443

How can i fix that issue ?

xu10081008 commented 9 years ago

I'm sorry for long time to answer you and through a long time ,I can't remember how to fix it. the step to do is: Personal settings——> SSH Keys ——> Add ssh key I hope that can help you

alexandre-mbm commented 9 years ago

Update the system packages. On Arch Linux: sudo pacman -Syu (here this worked) On Ubuntu: sudo apt-get update && sudo apt-get upgrade

justinTomas commented 9 years ago

I have same question as the tittle when i use github for windows. How can i resolve it?

xu10081008 commented 9 years ago
  1. sign in the GitHub
  2. enter the interface: "Personal settings", then click "SSH Keys"
  3. please confirm whether you have put the 'id_rsa.pub' that generated by the command 'ssh-keygen -t rsa ' on windows into github
  4. if not,click 'Add SSH key' and put the 'id_rsa.pub' into it.

I hope it works for you,and if it works please replay

justinTomas commented 9 years ago

I did what you said, but it also gave a same hint

petebacondarwin commented 9 years ago

It sounds like you are having problems with your internet connection setup. Perhaps you could try using the git:// form of the url instead: git@github.com:angular/angular-phonecat.git

lealcy commented 9 years ago

Hi, I'm having the follow issue:

C:\Users\lealcybj\Documents\GitHub> git clone git@github.com:lealcy/Edge.git
Cloning into 'Edge'...
ssh_exchange_identification: read: Connection reset by peer
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
C:\Users\lealcybj\Documents\GitHub> git clone https://github.com/lealcy/Edge.git
Cloning into 'Edge'...
fatal: unable to access 'https://github.com/lealcy/Edge.git/': Unknown SSL protocol error in connection to github.com:443
C:\Users\lealcybj\Documents\GitHub>

It started after I upgraded my windows from 7 to 10. I'm behind an ISA proxy, but in Windows 7 it worked flawlessly.

gfaust-qb commented 9 years ago

Just try to update your Git-Version. Got problems today, updated git (used v1.9 before) and there are no problems left.

92arpitgoyal commented 9 years ago

Updating git (from v1.9) and now there are no problems left.

sidlors commented 8 years ago

WTF ??

Almirhabib commented 8 years ago

i am also having the following issue i try many time but again and again face that problem not good any one tell me right reason

lealcy commented 8 years ago

Still having issues:

2016-02-02 13:56:06.9767|WARN|thread: 1|StandardUserErrors|Showing user error Please check your log file for more details, or email support if you are still having problems. GitHub.IO.ProcessException: 13:56:03.506154 git.c:348 trace: built-in: git 'clone' '--progress' '--recursive' '--' 'https://github.com/lealcy/sharp2d.git' 'sharp2d' 13:56:03.612224 run-command.c:335 trace: run_command: 'git-remote-https' 'origin' 'https://github.com/lealcy/sharp2d.git' Cloning into 'sharp2d'...

zzeniou86 commented 8 years ago

If you are in hurry, the easiest way is https://guides.github.com/activities/hello-world/ (you will need to copy/paste the solution from your local files to your github editor).

Although if you do want to keep going on with the courses, you need to understand github and git.

gkalpak commented 8 years ago

Closing as it doesn't seem related to the tutorial.

svscorp commented 8 years ago

I wonder, did you fix the issue @xu10081008 @lealcy ?

big-peter commented 7 years ago

what the boom

lealcy commented 7 years ago

@svscorp Yeah. Installed cntlm to use the AD based proxy authentication. Works like a charm now.

shadabacc406 commented 7 years ago

Hi,....Please help me with this issue..

C:\Projects\GIT\Git\mingw64\bin\git.exe fetch --tags --progress https://github.com/shadabacc406/test.git +refs/heads/:refs/remotes/origin/ ERROR: Error cloning remote repo 'origin' hudson.plugins.git.GitException: Command "C:\Projects\GIT\Git\mingw64\bin\git.exe fetch --tags --progress https://github.com/shadabacc406/test.git +refs/heads/:refs/remotes/origin/" returned status code 128: stdout: stderr: fatal: unable to access 'https://github.com/shadabacc406/test.git/': Unknown SSL protocol error in connection to github.com:443

at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1799)
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1525)
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$300(CliGitAPIImpl.java:65)
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:316)
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$2.execute(CliGitAPIImpl.java:513)
at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1061)
at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1101)

I added public certificate in github under settings and private key in jenkins...but still m facing issues...pls help me at the earliest...thanks

mmmshebli commented 7 years ago

I have the same issue which made me hit my head in the wall, I am behind a corporate proxy, it only worked when I removed the http.proxy from github config and added sslVerify = false

thonglm1608 commented 6 years ago

Hi guys, Please help me with this issue:

trace: built-in: git 'clone' 'https://ProjectURL' Cloning into ... run-command.c:626 trace: run_command: 'remote-https' 'origin' 'https://ProjectURL' trace: exec: 'git-remote-https' 'origin' 'https://ProjectURL' trace: run_command: 'git-remote-https' 'origin' 'https://ProjectURL'

Thanks you very much.

gkalpak commented 6 years ago

What command have you used to do the cloning? Have you followed the instructions from here?

thonglm1608 commented 6 years ago

@gkalpak: This is my command: GIT_CURL_VERBOSE=1 GIT_TRACE=1 git clone https://PrtojectURL. I've been try with another command: git pull origin develop or git push origin develop and the error message alway is: "fatal: unable to access 'https://ProjectURL': OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to svc...com:443"

gkalpak commented 6 years ago

This doesn't seem like a valid URL. If you are trying to clone the tutorial, please follow the instructions here.

thonglm1608 commented 6 years ago

@gkalpak : This is private url so i can't show it. i'm sure use a valid url. My english is not good, if you don't understand please tell me.:(

gkalpak commented 6 years ago

It sounds like an issue in your network setting then (maybe a proxy or a firewall blocking access to the remote repository), as indicated by this line:

OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to :

In any case, this is not related to the Angular tutorial, so nothing we could help you with 😕

jcaes commented 6 years ago

I have the same problem, Do you know how I could fix it?!

git pull origin mybranch

fatal: unable to access 'https://usuario@github.com/inite/upstream.git/': SSL connect error

Go info about my instance.

curl --version

curl 7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 NSS/3.18 Basic ECC zlib/1.2.3 libidn/1.18 libssh2/1.4.2 Protocols: tftp ftp telnet dict ldap ldaps http file https ftps scp sftp Features: GSS-Negotiate IDN IPv6 Largefile NTLM SSL libz

openssl version

OpenSSL 1.0.1e-fips 11 Feb 2013

git --version

git version 2.5.0

Thanks a lot!!!

smartree commented 6 years ago

Network env config concerning, but just try change: git clone https://github.com/angular/angular-phonecat.git from up to down, git clone git://github.com/angular/angular-phonecat.git Then go on to find your solution.

shegzytom commented 6 years ago

Hi, Kindly help with this issue fatal: unable to access 'https://github.com/OmarElGabry/chat.io.git/': OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to github.com:443

smartree commented 6 years ago

CentOS You can try first: sudo yum update nss or plus: sudo yum update openssh or plus all related lib: sudo yum update openssh nss curl libcurl

Still not work? try: env GIT_SSL_NO_VERIFY=true git clone https://github.com/Project/Name.git

bossajie commented 6 years ago

I am behind the proxy, there's an error when I am doing a push Error: fatal: unable to access 'https://github.com/ajiejot/TestGit.git/': OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to github.com:443

bimalkjha commented 6 years ago

@ajiejot The problem is the use of https in the url. You should use git clone git@github.com:ajiejot/TestGit.git command after configuring the SSH Key for your github id. Thanks.

mrgoodrich commented 6 years ago

It could be different for you, but

git config --global credential.helper wincred

worked for me on Windows. It was working before I received this message, fyi.

gssarwar commented 6 years ago

Hi , while i am adding remote git hub repository to IntelliJ IDEA Community Edition 2018.2.2 x64 ide then getting below error OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to github.com:443

Kindly help me to resolve it. Git version is 2.18.0 ide : IntelliJ IDEA Community Edition 2018.2.2 x64

amyqian379 commented 5 years ago

Hello Guys,

could you please help with this issue?

aos-cube version: 0.2.63 Cloning into 'gcc-arm-none-eabi'... fatal: unable to access 'https://gitee.com/alios-things/gcc-arm-none-eabi-win32.git/': OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to gitee.com:443 Cloning into 'OpenOCD'... fatal: unable to access 'https://gitee.com/alios-things/openocd-win32.git/': OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to gitee.com:443 Making config file for first time INFO: Could not find files for the given pattern(s). build/aos_toolchain_arm-none-eabi.mk:42: *** can not find compiler toolchain, please download "gcc-arm-none-eabi-5_4-2016q3-20160926-win32.zip" from "https://launchpad.net/gcc-arm-embedded/+download" and unzip to C:/Users/mqian/Alios-Things/build/compiler/gcc-arm-none-eabi/Win32 folder. Stop.

Git version is 2.19.2

sjhsjh commented 5 years ago

because i am using vpn!!!close vpn will work!

ROBBTECH commented 4 years ago

It worked for me after removing the file causing an error .git/refs/remotes/origin/

pythondev0101 commented 4 years ago

because i am using vpn!!!close vpn will work!

yes, this is because of vpn

webkhushboo commented 4 years ago

Do we have a solution to this yet? I am facing the same problem couldn't find solution over the internet yet. :( image

Did you find the solution for this error ? I am not able to fix it.

u54256 commented 2 years ago

@webkhushboo, your git ID does not have permissions, you need to check your git id permissions. you can use github desktop app.

dilansampath commented 2 years ago
  1. sign in the GitHub
  2. enter the interface: "Personal settings", then click "SSH Keys"
  3. please confirm whether you have put the 'id_rsa.pub' that generated by the command 'ssh-keygen -t rsa ' on windows into github
  4. if not,click 'Add SSH key' and put the 'id_rsa.pub' into it.

I hope it works for you,and if it works please replay

at last this worked. thanks a lot.