Giter VIP home page Giter VIP logo

Comments (8)

wookayin avatar wookayin commented on August 16, 2024
  • Does that happen always -- not a temporary problem?
  • What is your neovim version?
  • Can you try !curl -sL https://pypi.python.org/pypi/pynvim/json and does it print JSON data successfully?

from pynvim.

sudheer82 avatar sudheer82 commented on August 16, 2024
  1. Yes, the error occurs always
  2. NVIM v0.9.4
  3. Output of :!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

from pynvim.

wookayin avatar wookayin commented on August 16, 2024

-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.

from pynvim.

wookayin avatar wookayin commented on August 16, 2024

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).

from pynvim.

sudheer82 avatar sudheer82 commented on August 16, 2024

I have used -sL only. it was a typo in the comment

from pynvim.

wookayin avatar wookayin commented on August 16, 2024

Yes, let me know if the problem still persists.

from pynvim.

ILOT-code avatar ILOT-code commented on August 16, 2024

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.

from pynvim.

wookayin avatar wookayin commented on August 16, 2024

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.

from pynvim.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.