junegunn / vim-plug

:hibiscus: Minimalist Vim Plugin Manager
https://junegunn.github.io/vim-plug/
MIT License
34.14k stars 1.93k forks source link

PlugUpdate does not work on WSL 2 Ubuntu instance...missing proxy somewhere? #1133

Open caneta opened 3 years ago

caneta commented 3 years ago

I cannot run PlugUpdate: I get a timeout error for every plugin intalled, no connection for github.com, for example:

fatal: unable to access 'https://github.com/easymotion/vim-easymotion.git/': Failed to connect to github.com port 443: Connection timed out

I've configured proxy almost everywhere and I have no problems updating my ubuntu WSL instance or cloning a git repo...even insalling Vim Plug itself had no problems at all.

What am I missing?


NVIM v0.6.0-dev
Build type: RelWithDebInfo
LuaJIT 2.1.0-beta3
Compilation: /usr/bin/cc -g -O2 -fdebug-prefix-map=/build/neovim-5TiRAL/neovim-0.6.0~ubuntu1+git202109201154-490e09c6d-adeb5640f=. -fstack-protector-strong -Wformat -
Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -DNVIM_TS_HAS_SET_MATCH_LIMIT -O2 -g -Og -g -Wall -Wextra -pedantic -Wno-unused-parameter -Wstrict-protot
ypes -std=gnu99 -Wshadow -Wconversion -Wmissing-prototypes -Wimplicit-fallthrough -Wvla -fstack-protector-strong -fno-common -fdiagnostics-color=auto -DINCLUDE_GENERA
TED_DECLARATIONS -D_GNU_SOURCE -DNVIM_MSGPACK_HAS_FLOAT32 -DNVIM_UNIBI_HAS_VAR_FROM -DMIN_LOG_LEVEL=3 -I/build/neovim-5TiRAL/neovim-0.6.0~ubuntu1+git202109201154-490e
09c6d-adeb5640f/build/config -I/build/neovim-5TiRAL/neovim-0.6.0~ubuntu1+git202109201154-490e09c6d-adeb5640f/src -I/build/neovim-5TiRAL/neovim-0.6.0~ubuntu1+git202109
201154-490e09c6d-adeb5640f/.deps/usr/include -I/usr/include -I/build/neovim-5TiRAL/neovim-0.6.0~ubuntu1+git202109201154-490e09c6d-adeb5640f/build/src/nvim/auto -I/bui
ld/neovim-5TiRAL/neovim-0.6.0~ubuntu1+git202109201154-490e09c6d-adeb5640f/build/include
Compiled by buildd@lgw01-amd64-003

Features: +acl +iconv +tui
See ":help feature-compile"

   system vimrc file: "$VIM/sysinit.vim"
  fall-back for $VIM: "/usr/share/nvim"
SuperCuber commented 3 years ago

This happened to me as well when it tried to update several plugins at once (then it failed as described in #1132 after several retries)

I think this could be something on github's side - it happens to me when using git itself sometimes.

physicistgeng commented 3 years ago

same issue on macos with neovim, plugupdate doesn't work, fatal: unable to access 'https://github.com/

kimmoeklund commented 3 years ago

I have similar problems on Win11 + WSL2 Ubuntu (Ubuntu 20.04.3 LTS). Concurrent updates fail after being stuck for long time, but :PlugInstall1 works (runs only one git concurrently).

crusoexia commented 2 years ago

Same here with Windows11 & WSL2.

crusoexia commented 2 years ago

git config --global url.git://github.com/.insteadOf https://github.com/

This doing the trick for me. Force git to use ssh instead of https.

ilovin commented 1 year ago

when using ssh:

fatal: unable to connect to github.com:
github.com[0: 20.205.243.166]: errno=Resource temporarily unavailable