Skip to content

Instantly share code, notes, and snippets.

Created April 2, 2017 13:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/cff9a7bea7efcc915fd8b8de68069fd4 to your computer and use it in GitHub Desktop.
Save anonymous/cff9a7bea7efcc915fd8b8de68069fd4 to your computer and use it in GitHub Desktop.
git unable to fetch over https
git version 2.12.2
) git clone https://github.com/tj/git-extras.git
15:27:12.882657 git.c:371 trace: built-in: git 'clone' 'https://github.com/tj/git-extras.git'
Cloning into 'git-extras'...
15:27:12.883344 run-command.c:369 trace: run_command: 'git-remote-https' 'origin' 'https://github.com/tj/git-extras.git'
fatal: unable to access 'https://github.com/tj/git-extras.git/': error:0B06A041:x509 certificate routines:build_chain:malloc failure
strace
======
write(2, "15:29:22.502324 run-command.c:36"..., 12715:29:22.502324 run-command.c:369 trace: run_command: 'git-remote-https' 'origin' 'https://github.com/tj/git-extras.git'
) = 127
pipe([7, 8]) = 0
clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f20fd54f9d0) = 30375
close(8) = 0
read(7, "", 1) = 0
close(7) = 0
close(3) = 0
close(6) = 0
dup(5) = 3
fcntl(3, F_GETFL) = 0 (flags O_RDONLY)
write(4, "capabilities\n", 13) = 13
fstat(3, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0
read(3, "fetch\noption\npush\ncheck-connecti"..., 4096) = 38
write(4, "option progress true\n", 21) = 21
read(3, "ok\n", 4096) = 3
write(4, "option verbosity 1\n", 19) = 19
read(3, "ok\n", 4096) = 3
dup(5) = 6
fcntl(6, F_GETFL) = 0 (flags O_RDONLY)
close(6) = 0
write(4, "list\n", 5) = 5
read(3, fatal: unable to access 'https://github.com/tj/git-extras.git/': error:0B06A041:x509 certificate routines:build_chain:malloc failure
"", 4096) = 0
setting MALLOC_CHECK_ doesn't produce any results.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment