Skip to content

OpenSSL error breaking nimble and every package #10281

@timotheecour

Description

@timotheecour

yet another justification for the need for nimble-wide CI (PR #10247): a recent commit broke a number of packages on osx

./nimble test
   Warning: Using env var NIM_LIB_PREFIX: /Users/timothee/git_clone//nim//Nim/
  Executing task test in /Users/timothee/git_clone/nim/nimble/nimble.nimble
Hint: used config file '/Users/timothee/git_clone/nim/Nim/config/nim.cfg' [Conf]
Hint: used config file '/Users/timothee/.config/nim/nim.cfg' [Conf]
Hint: used config file '/Users/timothee/git_clone/nim/Nim/config/config.nims' [Conf]
Hint:  [Link]
Hint: operation successful (66232 lines compiled; 2.207 sec total; 114.164MiB peakmem; Debug Build) [SuccessX]
Hint: /Users/timothee/git_clone/nim/nimble/tests/tester  [Exec]
[OK] can compile with --os:windows
    Reading config file at /Users/timothee/.config/nimble/nimble.ini
   Warning: Using env var NIM_LIB_PREFIX: /Users/timothee/git_clone//nim//Nim/
    Setting Nim stdlib prefix to /Users/timothee/git_clone//nim//Nim/
    Setting Nim stdlib path to /Users/timothee/git_clone/nim/Nim/lib
       Info Hint: used config file '/Users/timothee/git_clone/nim/Nim/config/nim.cfg' [Conf]
  Verifying dependencies for aporiaScenario@0.1.0
    Reading official package list
    Prompt: No local packages.json found, download it from internet? -> [forced yes]
Downloading official package list
     Trying http://google.com
   Warning: Downloaded packages.json file is invalid, discarding.
     Trying http://google.com/404
   Warning: Could not download: 404 Not Found
     Trying http://irclogs.nim-lang.org/packages.json
   Warning: Could not download: Please upgrade your OpenSSL library, it does not support the necessary protocols. OpenSSL error is: error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure
     Trying http://nim-lang.org/nimble/packages.json
     Trying https://github.com/nim-lang/packages/raw/master/packages.json
   Warning: Could not download: Please upgrade your OpenSSL library, it does not support the necessary protocols. OpenSSL error is: error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version
     Error: /Users/timothee/git_clone/nim/nimble/src/nimble.nim(1118) nimble
        ... /Users/timothee/git_clone/nim/nimble/src/nimble.nim(1056) doAction
        ... /Users/timothee/git_clone/nim/nimble/src/nimble.nim(474) install
        ... /Users/timothee/git_clone/nim/nimble/src/nimble.nim(346) installFromDir
        ... /Users/timothee/git_clone/nim/nimble/src/nimble.nim(168) processDeps
        ... /Users/timothee/git_clone/nim/nimble/src/nimblepkg/packageinfo.nim(369) resolveAlias
        ... /Users/timothee/git_clone/nim/nimble/src/nimblepkg/packageinfo.nim(271) getPackage
        ... /Users/timothee/git_clone/nim/nimble/src/nimblepkg/packageinfo.nim(241) readPackageList
        ... /Users/timothee/git_clone/nim/nimble/src/nimblepkg/packageinfo.nim(229) fetchList
        ... Refresh failed
        ... Could not download: Please upgrade your OpenSSL library, it does not support the necessary protocols. OpenSSL error is: error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version

Note:

my openssl is already up to date though
brew upgrade openssl
Error: openssl 1.0.2q already installed

potential cause

#10230 /cc @treeform @alaviss

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions