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

From: Ronald Klop <ronald-lists_at_klop.ws>
Date: Thu, 02 Jul 2026 08:00:25 UTC



Op maandag 29 juni 2026 21:57:17 (+02:00) schreef Enji Cooper (yaneurabeya):

> 
> > 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.
> Cheers,
> -Enji


I'm seeing the same error in my Jenkins setup form running git.
09:36:45 Caused by: hudson.plugins.git.GitException: Command "git fetch --tags --force --progress -- https://codeberg.org/ronaldklop/ci.git +refs/heads/*:refs/remotes/origin/*" returned status code 128:
09:36:45 stdout: 
09:36:45 stderr: fatal: unable to access 'https://codeberg.org/ronaldklop/ci.git/': TLS connect error: error:0A000126:SSL routines::unexpected eof while reading

I can restart the job multiple time and get the same error and then for unknown reason it works and continues fine.
This runs in bhyve FreeBSD 15.0-p10/amd64 using openssl 3.5.6.

If you can tell me what steps to take, I can add debug settings. It is a home setup so no maintenance window is needed.

Just did a commandline test outside of Jenkins on the same machine.
$ git clone https://codeberg.org/ronaldklop/ci.git
Cloning into 'ci'...
fatal: unable to access 'https://codeberg.org/ronaldklop/ci.git/': TLS connect error: error:0A000126:SSL routines::unexpected eof while reading

Can also reproduce this on FreeBSD 16/aarch64 with openssl 3.5.6.
I can't reproduce in a FreeBSD 14.4 jail on the aarch64 using openssl 3.0.20.

I thought it was something about codeberg.org until I saw this thread.

Hope this helps.

Regards,
Ronald.