Re: OpenSSL SSL_read: OpenSSL/3.5.7: error:0A000126:SSL

From: Marius Schamschula <lists_at_schamschula.com>
Date: Wed, 01 Jul 2026 13:44:24 UTC
Enji,

At the time (about a week ago) both the host and the jail were provisioned with 15.1-RELEASE (i.e. p0) using freebsd-update and the usual provisioning of a new Poudriere jail. I don’t update build jails as I often keep one machine back on the previous release.

In the meantime the host is onto p1. I will update the jail before the next run.

Marius
--
Marius Schamschula




> On Jul 1, 2026, at 1:01 AM, Enji Cooper (yaneurabeya) <yaneurabeya@gmail.com> wrote:
> 
> 
>> On Jun 30, 2026, at 10:57 PM, Enji Cooper (yaneurabeya) <yaneurabeya@gmail.com> wrote:
>> 
>>> 
>>> On Jun 29, 2026, at 12:57 PM, Enji Cooper (yaneurabeya) <yaneurabeya@gmail.com> wrote:
>>> 
>>>> 
>>>> On Jun 28, 2026, at 9:43 PM, A FreeBSD User <freebsd@walstatt-de.de> wrote:
>>>> 
>>>> Hello,
>>>> 
>>>> while updating sources and ports tree via git, many times these days I somehow hit a timeout /
>>>> which terminates sometimes poudriere.
>>>> 
>>>> Hosts involved: recent CURRENT since a couple of months.
>>>> 
>>>> [...]
>>>> [00:00:00] Updating portstree "head" with git+https...fatal: unable to access
>>>> 'https://git.freebsd.org/ports.git/': OpenSSL SSL_read: OpenSSL/3.5.7: error:0A000126:SSL
>>>> routines::unexpected eof while reading, errno 0
>>>> 
>>>> What is going wrong here and how can I mitigate/repair this issue?
>>>> 
>>>> Thanks in adavnce,
>>> 
>>> Hi,
>>> This is on my radar. I’ll try to provide more information by the end of the day.
>> 
>> Hi oh,
>> Thanks to Marius, I was just reminded of this. Is your poudriere jail largely up to date with “state of the art” OpenSSL [1]?
>> Between you and Marius, poudriere (so far) seems to be a common denominator in your issues.
>> It’s been a while since I’ve setup a poudriere jail. I can try doing this; having more details about the jail versions and the affected pieces of software and their dependencies would be helpful (it would reduce the amount of needle-in-a-haystack work I would need to do).
>> Thank you,
>> -Enji
> 
> I forgot to include the link in my last reply for [1]. In particular, version mismatches could be causing problems with software that leverages libssl. The basic gist from that GitHub issue in [1] is that “upgrading software versions fixed the problem I was seeing”, so my gut feeling is that it might be a problem with a jail’s userspace binaries being out of sync with the corresponding ports software versions.
> -Enji
> 
> 1. https://github.com/openssl/openssl/issues/18866#issuecomment-1194219601