Open BrandonCantrell opened 8 years ago
I met same error output and this workround is what I expected. Thank you.
This just happened to me to and the fix worked. To be a bit more specific for future people:
let git_proto =
line. For me it was on line 140 of ~/.vim/bundle/Vundle.vim/autoload/vundle/config.vim'https'
. Replace this with 'git'
Just for reference and so google will pick it up, this happened on the SDSC comet cluster, which is under Xsede's umbrella. I also had to install vundle using the git://
protocol
You can also add a line before calling Vundle in .vimrc
: let g:vundle_default_git_proto = 'git'
.
The result will be same as the way metioned by @madvoid
@ChaosJohn solution works like a charm. Thanks so much!
This is definitely unique to my environment, so please flag this as a possible future enhancement and not an issue with your code. At my work we have https inspection and provide our own CA certificate which seems to interfere with https traffic coming from github.
A workaround is to use the git:// protocol instead of https://. I have modified /autoload/vundle/config.vim in order to fix this for my environment. I'm not sure if logic could be added say "hey, we encountered an error with https, let's try git and http".
func! s:parse_name(arg) let arg = a:arg let git_proto = exists('g:vundle_default_git_proto') ? g:vundle_default_git_proto : 'git'
I just wanted to let you guys know. Below is the error output I'm seeing.
Thanks.
[2015-12-11 15:43:28] Plugin URI change detected for Plugi|~
n vim-sleuth |~
[2015-12-11 15:43:28] > Plugin vim-sleuth old URI: git://|~
github.com/tpope/vim-sleuth.git |~
[2015-12-11 15:43:28] > Plugin vim-sleuth new URI: https:|~
//github.com/tpope/vim-sleuth.git |~
[2015-12-11 15:43:28] |~
[2015-12-11 15:43:28] Plugin tpope/vim-sleuth |~
[2015-12-11 15:43:28] $ cd '/home/ggg/.vim/bundle/vi|~
m-sleuth' && git remote set-url origin 'https://github.com|~
/tpope/vim-sleuth.git' && git fetch && git reset --hard or|~
igin/HEAD && git submodule update --init --recursive |~
[2015-12-11 15:43:28] > fatal: unable to access 'https://g|~
ithub.com/tpope/vim-sleuth.git/': server certificate verif|~
ication failed. CAfile: /etc/ssl/certs/ca-certificates.crt|~
CRLfile: none