Search code examples
ubuntuopensslnvm

OpenSSL SSL_ERROR_SYSCALL in connection to raw.githubusercontent.com:443


I'm trying to install nvm on my computer. I'm running linux feature on windows 10. When I run the command curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.34.0/install.sh | bash I get the error message curl: (35) OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to raw.githubusercontent.com:443

I tried to reset the proxy settings as mentioned in a topic with the same subject, but I did not succeed in solving the problem. I saw that there are some solutions to this, but none of them mention that linux is running on windows. Does anyone have any idea how to solve this?


Solution

  • I was seeing the same error on my machine. It turned out to be my antivirus program. I'm using Kaspersky...

    The fix for me was the following:

    1. Open Kaspersky.
    2. Click the gear icon at the bottom left.
    3. Click "Additional" tab and go to the "Network" settings.
    4. Choose "Do not scan encrypted connections."
    5. Restart windows and try the curl download again.

    Hope that helps!