Closed sudheer82 closed 11 months ago
!curl -sL https://pypi.python.org/pypi/pynvim/json
and does it print JSON data successfully?:!curl =sL https://pypi.python.org/pypi/pynvim/json
curl: (3) URL rejected: Bad hostname
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
curl: (35) schannel: next InitializeSecurityContext failed: Unknown error (0x80092012) - The revoc
ation function was unable to check revocation for the certificate.
shell returned 35
-sL
, not =sL
. Try :!curl --verbose -fL https://pypi.python.org/pypi/pynvim/json
for debugging.
From the output, there was an issue while validating the certificate. What's the output of curl --version
?
Anyway this does not seem relevant to pynvim.
Closing as no response was received and this doesn't seem to be a problem of neovim/pynvim. Try to fix curl
(certificate issues) in the command line (or run them within the neovim).
I have used -sL
only. it was a typo in the comment
Yes, let me know if the problem still persists.
I also encountered the same problem. I feel this may be a network configuration issue. I am using wsl, so in windows, I executed: netsh winsock reset, and the problem was solved after restarting my PC.
Sorry to hear that, but if you don't provide what exactly happened in curl's output there's nothing much to be helped with or improved. Not sure whether the network was really unavailable, or network/internet was fine but only the curl on WSL was buggy and stopped working.
any fixes? i'm on arch and i have the excat same issue when im connect with my home network. When i turn on a vpn or connect through my mobile tethering everything goes fine
Curl is installed in my windows system. I could individually run
curl https://pypi.python.org/pypi/pynvim/json
and no error. However, when i runneovim :checkhealth
, facing this error in the report.: checkhealth
output: