SSL error from openhab.jfrog.io when installing fresh system

  • Platform information:
    • Hardware: PI4b 4GB
    • OS: openhabian install via Rasperry Pi imager
    • Java Runtime Environment: jdk 21
    • openHAB version:original 3.2 but now trying to install fresh openhab 5.1.4
  • Issue of the topic: system (linux install) is ok, but fetching openhab packages fails
    • already tried switching to IPv4, install via openhabian-config
  • Openhabian-config install try gives following log:
    openhab openhab-addons
    0 upgraded, 2 newly installed, 0 to remove and 77 not upgraded.
    Need to get 676 MB of archives.
    After this operation, 690 MB of additional disk space will be used.
    Ign:1 JFrog stable/main arm64 openhab all 5.1.4-1
    Ign:1 JFrog stable/main arm64 openhab all 5.1.4-1
    Ign:2 JFrog stable/main arm64 openhab-addons all 5.1.4-1
    Ign:1 JFrog stable/main arm64 openhab all 5.1.4-1
    Ign:2 JFrog stable/main arm64 openhab-addons all 5.1.4-1
    Ign:1 JFrog stable/main arm64 openhab all 5.1.4-1
    Err:1 JFrog stable/main arm64 openhab all 5.1.4-1
    SSL connection failed: error:0A000126:SSL routines::unexpected eof while reading / Success [IP: xxx.xxx.xxx.xxx 443]
    SSL connection failed: error:0A0000C6:SSL routines::packet length too long / Success [IP: xxx.xxx.xxx.xxx 443]
    Ign:2 JFrog stable/main arm64 openhab-addons all 5.1.4-1
    Ign:2 JFrog stable/main arm64 openhab-addons all 5.1.4-1
    Err:2 JFrog stable/main arm64 openhab-addons all 5.1.4-1
    SSL connection failed: error:0A0000C6:SSL routines::packet length too long / Success [IP: xxx.xxx.xxx.xxx 443]
    SSL connection failed: error:0A000126:SSL routines::unexpected eof while reading / Success [IP: xxx.xxx.xxx.xxx 443]
    E: Failed to fetch JFrog SSL connection failed: error:0A000126:SSL routines::unexpected eof while reading / Success [IP: xxx.xxx.xxx.xxx 443]
    E: Failed to fetch JFrog SSL connection failed: error:0A000126:SSL routines::unexpected eof while reading / Success [IP: xxx.xxx.xxx.xxx 443]
    E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
    FAILED

This looks like a temporary problem with the JFrog servers where the build artifacts for openHAB are placed for download by apt. My first recommendation is to wait a little and try again. If it persists. from the comand line run sudo apt update and watch for errors. Then run sudo apt install openhab and watch for errors. The errors may help narrow down the problem. But overall, this is out of our hands though. If JFrog has a messed up SSL certificate all we can do is ask them to fix it for us.

Thank you for the quick answer.

Will wait and check again tomorrow evening.

Still getting the SSL errors…

openhabian@openhabian:~ $ sudo apt-get update
[sudo] password for openhabian:

Hit:8 JFrog stable InRelease

openhabian@openhabian:~ $ sudo apt-get install openhab
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
The following NEW packages will be installed:

  • openhab*
    0 upgraded, 1 newly installed, 0 to remove and 82 not upgraded.
    Need to get 121 MB of archives.
    After this operation, 134 MB of additional disk space will be used.

    Err:1 JFrog stable/main arm64 openhab all 5.1.4-1
  • SSL connection failed: error:0A000126:SSL routines::unexpected eof while reading / Success [IP: 2a00:1450:4001:c17::cf 443]*
  • SSL connection failed: error:0A0000C6:SSL routines::packet length too long / Success [IP: 2a00:1450:4001:c17::cf 443]*
    E: Failed to fetch JFrog in/5.1.4/openhab_5.1.4-1_all.deb SSL connection failed: error:0A000126:SSL routines::unexpected eof while reading / Success [IP: 2a00:1450:4001:c17::cf 443]*
    E: Unable to fetch some archives, maybe run apt-get update or try with --fix-mis sing?

I’m not seeing any other reports of this problem so it doesn’t seem to be widespread and I just successfully installed using apt.

And it’s definitely an certificate/encryption problem between you and the JFrong repos. Are you behind any sort of firewall or proxy?

Maybe the openHABian image you downloaded is corrupted somehow. I’d try reburning the image just in case something became corrupted there. It’s unlikely but I can’t imagine what else could be wrong.