Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
3 tasks done
caneta opened this issue Sep 22, 2021 · 6 comments
Open
3 tasks done

Comments

@caneta
Copy link

caneta commented Sep 22, 2021

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"
  • Type:
    • Question
  • OS:
    • WSL 2: Ubuntu 20.04 instance on Windows 10
  • Vim:
    • Neovim
@SuperCuber
Copy link

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
Copy link

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

@kimmoeklund
Copy link

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
Copy link

Same here with Windows11 & WSL2.

@crusoexia
Copy link

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
Copy link

ilovin commented Oct 29, 2023

when using ssh:

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants