help error on pveproxy

anaxor

New Member
Nov 28, 2024
4
0
1
Hey. I got the following error in my system log, maybe there is anyone who has an idea on how to get rid of it?

Nov 28 11:30:41 proxmox-test pveproxy[15918]: panic: sv_setpvn_fresh called with negative strlen -1 at /usr/lib/x86_64-linux-gnu/perl5/5.36/AnyEvent/Handle.pm line 2083.
Nov 28 11:30:45 proxmox-test pveproxy[15917]: panic: sv_setpvn_fresh called with negative strlen -1 at /usr/lib/x86_64-linux-gnu/perl5/5.36/AnyEvent/Handle.pm line 2083.
Nov 28 11:30:46 proxmox-test pveproxy[15918]: worker exit
Nov 28 11:30:46 proxmox-test pveproxy[1143]: worker 15918 finished
Nov 28 11:30:46 proxmox-test pveproxy[1143]: starting 1 worker(s)
Nov 28 11:30:46 proxmox-test pveproxy[1143]: worker 16024 started
Nov 28 11:30:50 proxmox-test pveproxy[15917]: worker exit
Nov 28 11:30:50 proxmox-test pveproxy[1143]: worker 15917 finished
Nov 28 11:30:50 proxmox-test pveproxy[1143]: starting 1 worker(s)
Nov 28 11:30:50 proxmox-test pveproxy[1143]: worker 16028 started
Nov 28 11:31:29 proxmox-test pveproxy[16024]: panic: sv_setpvn_fresh called with negative strlen -1 at /usr/lib/x86_64-linux-gnu/perl5/5.36/AnyEvent/Handle.pm line 2083.
Nov 28 11:31:34 proxmox-test pveproxy[16024]: worker exit
Nov 28 11:31:34 proxmox-test pveproxy[1143]: worker 16024 finished
Nov 28 11:31:34 proxmox-test pveproxy[1143]: starting 1 worker(s)
Nov 28 11:31:34 proxmox-test pveproxy[1143]: worker 16140 started
Nov 28 11:31:41 proxmox-test pveproxy[16028]: panic: sv_setpvn_fresh called with negative strlen -1 at /usr/lib/x86_64-linux-gnu/perl5/5.36/AnyEvent/Handle.pm line 2083.
Nov 28 11:31:45 proxmox-test pveproxy[15976]: panic: sv_setpvn_fresh called with negative strlen -1 at /usr/lib/x86_64-linux-gnu/perl5/5.36/AnyEvent/Handle.pm line 2083.
Nov 28 11:31:46 proxmox-test pveproxy[16028]: worker exit
Nov 28 11:31:46 proxmox-test pveproxy[1143]: worker 16028 finished


in file Handle.pm =

LINE 2083---> while (defined ($tmp = Net::SSLeay::read ($self->{tls}))) {
unless (length $tmp) {
$self->{_on_starttls}
and (delete $self->{_on_starttls})->($self, undef, "EOF during handshake"); # ???
&_freetls;

if ($self->{on_stoptls}) {
$self->{on_stoptls}($self);
return;
} else {
# let's treat SSL-eof as we treat normal EOF
delete $self->{_rw};
$self->{_eof} = 1;
}

I have -> reinstalled proxmox several times, on several harddrives of the same PC.
This pc is used for internal testing and therefore we wanted to build an isolated enviornment. Actually I do not think that we will have any problem in doing this but it annoying to not know what is going on, yes, I am newbie in these stuff so please be patient.
Please just let me know if you need any other information.

Not only that this error is disturbing but it seems that I cannot stay connected on console(shell) too much because it will close with an error "Connection closed, error 1006".
While I can open shells in other programs, it is still annoying not knowing what is going on. maybe has anyone any idea?

Thank you in advance, much appreciated.


Edit: Console on windows freeze as well, not only linux/debian fedora etc. It comes back in few seconds but this glitch is annoying and should not exist.
I have not even installed any VMs, shell from proxmox freeze anyway,



root@proxmox-test ~ # pveversion -v
proxmox-ve: 8.3.0 (running kernel: 6.8.12-4-pve)
pve-manager: 8.3.0 (running version: 8.3.0/c1689ccb1065a83b)
proxmox-kernel-helper: 8.1.0
proxmox-kernel-6.8: 6.8.12-4
proxmox-kernel-6.8.12-4-pve-signed: 6.8.12-4
ceph-fuse: 17.2.7-pve3
corosync: 3.1.7-pve3
criu: 3.17.1-2
glusterfs-client: 10.3-5
ifupdown2: 3.2.0-1+pmx11
ksm-control-daemon: 1.5-1
libjs-extjs: 7.0.0-5
libknet1: 1.28-pve1
libproxmox-acme-perl: 1.5.1
libproxmox-backup-qemu0: 1.4.1
libproxmox-rs-perl: 0.3.4
libpve-access-control: 8.2.0
libpve-apiclient-perl: 3.3.2
libpve-cluster-api-perl: 8.0.10
libpve-cluster-perl: 8.0.10
libpve-common-perl: 8.2.9
libpve-guest-common-perl: 5.1.6
libpve-http-server-perl: 5.1.2
libpve-network-perl: 0.10.0
libpve-rs-perl: 0.9.0
libpve-storage-perl: 8.2.9
libspice-server1: 0.15.1-1
lvm2: 2.03.16-2
lxc-pve: 6.0.0-1
lxcfs: 6.0.0-pve2
novnc-pve: 1.5.0-1
proxmox-backup-client: 3.2.9-1
proxmox-backup-file-restore: 3.2.9-1
proxmox-firewall: 0.6.0
proxmox-kernel-helper: 8.1.0
proxmox-mail-forward: 0.3.1
proxmox-mini-journalreader: 1.4.0
proxmox-offline-mirror-helper: 0.6.7
proxmox-widget-toolkit: 4.3.1
pve-cluster: 8.0.10
pve-container: 5.2.2
pve-docs: 8.3.1
pve-edk2-firmware: 4.2023.08-4
pve-esxi-import-tools: 0.7.2
pve-firewall: 5.1.0
pve-firmware: 3.14-1
pve-ha-manager: 4.0.6
pve-i18n: 3.3.1
pve-qemu-kvm: 9.0.2-4
pve-xtermjs: 5.3.0-3
qemu-server: 8.3.0
smartmontools: 7.3-pve1
spiceterm: 3.3.0
swtpm: 0.8.0+pve1
vncterm: 1.8.0
zfsutils-linux: 2.2.6-pve1
 

Attachments

  • proxmox.jpg
    proxmox.jpg
    87.8 KB · Views: 3
Last edited:
Hi,
I Looked over the Errors.
1) Did you reinstall Proxmox with the same ISO?
2) Try to update the system apt update -> apt full-upgrade
The Problems regarding Perl / SSL might be solvable via reinstall of the Modules

Bash:
apt install --reinstall libanyevent-perl libio-socket-ssl-perl

And last check OpenSSL Version
Bash:
openssl version
 
1 )I have tryied multiple ISO and version of proxmox. Installed proxmox 7 as well to see if an older version will help, no chance. I still have the same errors.

2) Already done that.

root@proxmox-test ~ # apt install --reinstall libanyevent-perl libio-socket-ssl-perl
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
0 upgraded, 0 newly installed, 2 reinstalled, 0 to remove and 0 not upgraded.
Need to get 613 kB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 http://ftp.at.debian.org/debian bookworm/main amd64 libanyevent-perl amd64 7.170-2+b3 [394 kB]
Get:2 http://ftp.at.debian.org/debian bookworm/main amd64 libio-socket-ssl-perl all 2.081-2 [219 kB]
Fetched 613 kB in 0s (4,382 kB/s)
(Reading database ... 45930 files and directories currently installed.)
Preparing to unpack .../libanyevent-perl_7.170-2+b3_amd64.deb ...
Unpacking libanyevent-perl (7.170-2+b3) over (7.170-2+b3) ...
Preparing to unpack .../libio-socket-ssl-perl_2.081-2_all.deb ...
Unpacking libio-socket-ssl-perl (2.081-2) over (2.081-2) ...
Setting up libanyevent-perl (7.170-2+b3) ...
Setting up libio-socket-ssl-perl (2.081-2) ...
Processing triggers for man-db (2.11.2-2) ...
root@proxmox-test ~ # openssl version
OpenSSL 3.0.15 3 Sep 2024 (Library: OpenSSL 3.0.15 3 Sep 2024)
root@proxmox-test ~ #


Still, with the command that you gave, no luck.

I did search a bit before posting here, asking chatgpt gave a few ways (commands) but nothing worked.

This is why I was hoping to be my resort to post in here, because of course I could get an answer from people who have had the same problem.

Still hopping.

Thank you in advance!
 
Hi there again,
Try running the pveproxy with debug mode 1 and look at the output, might be some helpful information there. Also did you do a memtest, not sure if it is ram related but thats something I do when I have such strange errors. I also found this Post might apply to your installation.
 
A lot of information in this debug but there is not much that I understand.

and about that post, yes, we are using 2 interfaces but exactly that is why we made this proxmox server to test on it on multiple vlans.

Both interfaces are connected to mikrotik CRS112-8G-4S-IN on trunk ports.

A memory test I did before/between installing proxmox again and again and again.

As I installed proxmox multiple times to try stuff, I have installed it on other hdds as well because we have 3 hdds inside our PC.



root@proxmox-test ~ # pveproxy start --debug
worker[63905]: PVE::APIServer::AnyEvent +1820: (eval): ACCEPT FH10 CONN1
worker[63905]: PVE::APIServer::AnyEvent +1820: (eval): Setting TLS to autostart
worker[63905]: PVE::APIServer::AnyEvent +1870: client_do_disconnect: close connection AnyEvent::Handle=HASH(0x55fde8126958)
worker[63905]: PVE::APIServer::AnyEvent +1870: client_do_disconnect: CLOSE FH10 CONN0
worker[63905]: PVE::APIServer::AnyEvent +1820: (eval): ACCEPT FH10 CONN1
worker[63905]: PVE::APIServer::AnyEvent +1820: (eval): Setting TLS to autostart
worker[63905]: PVE::APIServer::AnyEvent +1870: client_do_disconnect: close connection AnyEvent::Handle=HASH(0x55fde81204e0)
worker[63905]: PVE::APIServer::AnyEvent +1870: client_do_disconnect: CLOSE FH10 CONN0
worker[63905]: PVE::APIServer::AnyEvent +1820: (eval): ACCEPT FH10 CONN1
worker[63905]: PVE::APIServer::AnyEvent +1820: (eval): Setting TLS to autostart
worker[63905]: PVE::APIServer::AnyEvent +1862: client_do_disconnect: close connection AnyEvent::Handle=HASH(0x55fde812bc48)
worker[63905]: PVE::APIServer::AnyEvent +1862: client_do_disconnect: CLOSE FH10 CONN0
worker[63907]: PVE::APIServer::AnyEvent +1820: (eval): ACCEPT FH10 CONN1
worker[63907]: PVE::APIServer::AnyEvent +1820: (eval): Setting TLS to autostart
worker[63907]: PVE::APIServer::AnyEvent +1820: (eval): ACCEPT FH11 CONN2
worker[63907]: PVE::APIServer::AnyEvent +1820: (eval): Setting TLS to autostart
worker[63907]: PVE::APIServer::AnyEvent +1870: client_do_disconnect: close connection AnyEvent::Handle=HASH(0x55fde8126988)
worker[63907]: PVE::APIServer::AnyEvent +1870: client_do_disconnect: CLOSE FH10 CONN1
worker[63907]: PVE::APIServer::AnyEvent +1870: client_do_disconnect: close connection AnyEvent::Handle=HASH(0x55fde812c278)
worker[63907]: PVE::APIServer::AnyEvent +1870: client_do_disconnect: CLOSE FH11 CONN0
worker[63906]: PVE::APIServer::AnyEvent +1820: (eval): ACCEPT FH10 CONN1
worker[63906]: PVE::APIServer::AnyEvent +1820: (eval): Setting TLS to autostart
worker[63905]: PVE::APIServer::AnyEvent +1820: (eval): ACCEPT FH10 CONN1
worker[63905]: PVE::APIServer::AnyEvent +1820: (eval): Setting TLS to autostart
worker[63906]: PVE::APIServer::AnyEvent +1820: (eval): ACCEPT FH13 CONN2
worker[63907]: PVE::APIServer::AnyEvent +1820: (eval): ACCEPT FH10 CONN1
worker[63906]: PVE::APIServer::AnyEvent +1820: (eval): Setting TLS to autostart
worker[63907]: PVE::APIServer::AnyEvent +1820: (eval): Setting TLS to autostart
worker[63906]: PVE::APIServer::AnyEvent +1820: (eval): ACCEPT FH14 CONN3
worker[63906]: PVE::APIServer::AnyEvent +1820: (eval): Setting TLS to autostart
worker[63907]: PVE::APIServer::AnyEvent +1870: client_do_disconnect: close connection AnyEvent::Handle=HASH(0x55fde8160fa8)
worker[63907]: PVE::APIServer::AnyEvent +1870: client_do_disconnect: CLOSE FH10 CONN0
worker[63906]: PVE::APIServer::AnyEvent +1870: client_do_disconnect: close connection AnyEvent::Handle=HASH(0x55fde81a1ce8)
worker[63906]: PVE::APIServer::AnyEvent +1870: client_do_disconnect: CLOSE FH13 CONN2
worker[63906]: PVE::APIServer::AnyEvent +1820: (eval): ACCEPT FH13 CONN3
worker[63906]: PVE::APIServer::AnyEvent +1820: (eval): Setting TLS to autostart
worker[63906]: PVE::APIServer::AnyEvent +1870: client_do_disconnect: close connection AnyEvent::Handle=HASH(0x55fde81d9060)
worker[63906]: PVE::APIServer::AnyEvent +1870: client_do_disconnect: CLOSE FH14 CONN2
worker[63907]: PVE::APIServer::AnyEvent +1820: (eval): ACCEPT FH10 CONN1
worker[63907]: PVE::APIServer::AnyEvent +1820: (eval): Setting TLS to autostart
worker[63907]: PVE::APIServer::AnyEvent +1820: (eval): ACCEPT FH11 CONN2
worker[63907]: PVE::APIServer::AnyEvent +1820: (eval): Setting TLS to autostart
worker[63906]: PVE::APIServer::AnyEvent +1862: client_do_disconnect: close connection AnyEvent::Handle=HASH(0x55fde81c62a0)
worker[63906]: PVE::APIServer::AnyEvent +1862: client_do_disconnect: CLOSE FH13 CONN1
worker[63906]: PVE::APIServer::AnyEvent +1862: client_do_disconnect: close connection AnyEvent::Handle=HASH(0x55fde8126970)
worker[63906]: PVE::APIServer::AnyEvent +1862: client_do_disconnect: CLOSE FH10 CONN0
worker[63907]: PVE::APIServer::AnyEvent +1862: client_do_disconnect: close connection AnyEvent::Handle=HASH(0x55fde81076f8)
worker[63907]: PVE::APIServer::AnyEvent +1862: client_do_disconnect: CLOSE FH11 CONN1
worker[63907]: PVE::APIServer::AnyEvent +1820: (eval): ACCEPT FH11 CONN2
worker[63907]: PVE::APIServer::AnyEvent +1820: (eval): Setting TLS to autostart
worker[63906]: PVE::APIServer::AnyEvent +1820: (eval): ACCEPT FH10 CONN1
worker[63906]: PVE::APIServer::AnyEvent +1820: (eval): Setting TLS to autostart
worker[63907]: PVE::APIServer::AnyEvent +1870: client_do_disconnect: close connection AnyEvent::Handle=HASH(0x55fde812bb28)
worker[63907]: PVE::APIServer::AnyEvent +1870: client_do_disconnect: CLOSE FH11 CONN1
worker[63907]: PVE::APIServer::AnyEvent +1820: (eval): ACCEPT FH11 CONN2
worker[63907]: PVE::APIServer::AnyEvent +1820: (eval): Setting TLS to autostart
worker[63905]: PVE::APIServer::AnyEvent +1862: client_do_disconnect: close connection AnyEvent::Handle=HASH(0x55fde7e52d48)
worker[63905]: PVE::APIServer::AnyEvent +1862: client_do_disconnect: CLOSE FH10 CONN0
worker[63906]: PVE::APIServer::AnyEvent +1870: client_do_disconnect: close connection AnyEvent::Handle=HASH(0x55fde8120690)
worker[63906]: PVE::APIServer::AnyEvent +1870: client_do_disconnect: CLOSE FH10 CONN0
worker[63906]: PVE::APIServer::AnyEvent +1820: (eval): ACCEPT FH10 CONN1
worker[63906]: PVE::APIServer::AnyEvent +1820: (eval): Setting TLS to autostart
worker[63905]: PVE::APIServer::AnyEvent +1820: (eval): ACCEPT FH10 CONN1
worker[63906]: PVE::APIServer::AnyEvent +1820: (eval): ACCEPT FH13 CONN2
worker[63905]: PVE::APIServer::AnyEvent +1820: (eval): Setting TLS to autostart
worker[63906]: PVE::APIServer::AnyEvent +1820: (eval): Setting TLS to autostart
worker[63906]: PVE::APIServer::AnyEvent +1870: client_do_disconnect: close connection AnyEvent::Handle=HASH(0x55fde81c64f8)
worker[63906]: PVE::APIServer::AnyEvent +1870: client_do_disconnect: CLOSE FH13 CONN1
worker[63905]: PVE::APIServer::AnyEvent +1870: client_do_disconnect: close connection AnyEvent::Handle=HASH(0x55fde812bd08)
worker[63905]: PVE::APIServer::AnyEvent +1870: client_do_disconnect: CLOSE FH10 CONN0
worker[63906]: PVE::APIServer::AnyEvent +1820: (eval): ACCEPT FH13 CONN2
worker[63906]: PVE::APIServer::AnyEvent +1820: (eval): Setting TLS to autostart
worker[63905]: PVE::APIServer::AnyEvent +1820: (eval): ACCEPT FH10 CONN1
worker[63905]: PVE::APIServer::AnyEvent +1820: (eval): Setting TLS to autostart
worker[63907]: PVE::APIServer::AnyEvent +1862: client_do_disconnect: close connection AnyEvent::Handle=HASH(0x55fde8161590)
worker[63907]: PVE::APIServer::AnyEvent +1862: client_do_disconnect: CLOSE FH10 CONN1
worker[63906]: PVE::APIServer::AnyEvent +1862: client_do_disconnect: close connection AnyEvent::Handle=HASH(0x55fde812ba50)
worker[63906]: PVE::APIServer::AnyEvent +1862: client_do_disconnect: CLOSE FH10 CONN1
worker[63906]: PVE::APIServer::AnyEvent +1862: client_do_disconnect: close connection AnyEvent::Handle=HASH(0x55fde80f1f08)
worker[63906]: PVE::APIServer::AnyEvent +1862: client_do_disconnect: CLOSE FH13 CONN0
worker[63907]: PVE::APIServer::AnyEvent +1862: client_do_disconnect: close connection AnyEvent::Handle=HASH(0x55fde8120618)
worker[63907]: PVE::APIServer::AnyEvent +1862: client_do_disconnect: CLOSE FH11 CONN0
worker[63907]: PVE::APIServer::AnyEvent +1820: (eval): ACCEPT FH10 CONN1
worker[63907]: PVE::APIServer::AnyEvent +1820: (eval): Setting TLS to autostart
worker[63906]: PVE::APIServer::AnyEvent +1820: (eval): ACCEPT FH10 CONN1
worker[63906]: PVE::APIServer::AnyEvent +1820: (eval): Setting TLS to autostart
worker[63907]: PVE::APIServer::AnyEvent +1870: client_do_disconnect: close connection AnyEvent::Handle=HASH(0x55fde818e398)
worker[63907]: PVE::APIServer::AnyEvent +1870: client_do_disconnect: CLOSE FH10 CONN0
worker[63906]: PVE::APIServer::AnyEvent +1870: client_do_disconnect: close connection AnyEvent::Handle=HASH(0x55fde81db758)
worker[63906]: PVE::APIServer::AnyEvent +1870: client_do_disconnect: CLOSE FH10 CONN0
worker[63907]: PVE::APIServer::AnyEvent +1820: (eval): ACCEPT FH10 CONN1
worker[63906]: PVE::APIServer::AnyEvent +1820: (eval): ACCEPT FH10 CONN1
worker[63907]: PVE::APIServer::AnyEvent +1820: (eval): Setting TLS to autostart
worker[63906]: PVE::APIServer::AnyEvent +1820: (eval): Setting TLS to autostart
worker[63906]: PVE::APIServer::AnyEvent +1820: (eval): ACCEPT FH13 CONN2
worker[63906]: PVE::APIServer::AnyEvent +1820: (eval): Setting TLS to autostart
worker[63907]: PVE::APIServer::AnyEvent +1820: (eval): ACCEPT FH11 CONN2
worker[63907]: PVE::APIServer::AnyEvent +1820: (eval): Setting TLS to autostart
worker[63906]: PVE::APIServer::AnyEvent +1870: client_do_disconnect: close connection AnyEvent::Handle=HASH(0x55fde81d8ef8)
worker[63906]: PVE::APIServer::AnyEvent +1870: client_do_disconnect: CLOSE FH13 CONN1
worker[63907]: PVE::APIServer::AnyEvent +1870: client_do_disconnect: close connection AnyEvent::Handle=HASH(0x55fde81fe738)
worker[63907]: PVE::APIServer::AnyEvent +1870: client_do_disconnect: CLOSE FH11 CONN1
worker[63907]: PVE::APIServer::AnyEvent +1820: (eval): ACCEPT FH11 CONN2
worker[63907]: PVE::APIServer::AnyEvent +1820: (eval): Setting TLS to autostart
worker[63906]: PVE::APIServer::AnyEvent +1820: (eval): ACCEPT FH13 CONN2
worker[63906]: PVE::APIServer::AnyEvent +1820: (eval): Setting TLS to autostart
worker[63905]: PVE::APIServer::AnyEvent +1862: client_do_disconnect: close connection AnyEvent::Handle=HASH(0x55fde812b4c8)
worker[63905]: PVE::APIServer::AnyEvent +1862: client_do_disconnect: CLOSE FH10 CONN0
worker[63907]: PVE::APIServer::AnyEvent +1862: client_do_disconnect: close connection AnyEvent::Handle=HASH(0x55fde8107fb0)
worker[63907]: PVE::APIServer::AnyEvent +1862: client_do_disconnect: CLOSE FH10 CONN1
^Croot@proxmox-test ~ #

root@proxmox-test ~ # journalctl -u pveproxy -f
Dec 03 16:40:47 proxmox-test systemd[1]: pveproxy.service: Deactivated successfully.
Dec 03 16:40:47 proxmox-test systemd[1]: Stopped pveproxy.service - PVE API Proxy Server.
Dec 03 16:40:47 proxmox-test systemd[1]: pveproxy.service: Consumed 3.437s CPU time.
Dec 03 16:41:48 proxmox-test systemd[1]: Starting pveproxy.service - PVE API Proxy Server...
Dec 03 16:41:49 proxmox-test pveproxy[64111]: starting server
Dec 03 16:41:49 proxmox-test pveproxy[64111]: starting 3 worker(s)
Dec 03 16:41:49 proxmox-test pveproxy[64111]: worker 64112 started
Dec 03 16:41:49 proxmox-test pveproxy[64111]: worker 64113 started
Dec 03 16:41:49 proxmox-test pveproxy[64111]: worker 64114 started
Dec 03 16:41:49 proxmox-test systemd[1]: Started pveproxy.service - PVE API Proxy Server.
Dec 03 16:42:29 proxmox-test pveproxy[64114]: panic: sv_setpvn_fresh called with negative strlen -1 at /usr/lib/x86_64-linux-gnu/perl5/5.36/AnyEvent/Handle.pm line 2083.
Dec 03 16:42:34 proxmox-test pveproxy[64114]: worker exit
Dec 03 16:42:34 proxmox-test pveproxy[64111]: worker 64114 finished
Dec 03 16:42:34 proxmox-test pveproxy[64111]: starting 1 worker(s)
Dec 03 16:42:34 proxmox-test pveproxy[64111]: worker 64250 started
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!