curl backup fails sometimes with unexpected eof while reading
-
Hi,
we use the curl [1] backup method since years without issue, but actual with Debian 13 and pfSense 2.8.1 we got sometimes this error during download the backup:
curl: (56) OpenSSL SSL_read: OpenSSL/3.5.1: error:0A000126:SSL routines::unexpected eof while reading, errno 0
Error in the pfSense logs:
2025/09/16 14:51:42 [crit] XX#XX: *XX SSL_write() failed (13: Permission denied) while processing HTTP/2 connection, client: 192.168.14.23, server: 0.0.0.0:443
The backup abort in this moment and is not complete, here are the options:
curl -L -k --cookie cookies.txt --cookie-jar cookies.txt \ --data-urlencode "download=download" \ --data-urlencode "backupdata=yes" \ --data-urlencode "backupssh=yes" \ --data-urlencode "__csrf_magic=$(head -n 1 csrf.txt)" \ [...]
We try now to disable the RRD files, maybe this help.
Any idea whats wrong here?
curl 8.14.1
OpenSSL 3.5.1 1 Jul 2025[1] https://docs.netgate.com/pfsense/en/latest/backup/remote-backup.html#using-curl
Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.