Cant connect to web interface. PVEPROXY error

kenyoukenme

New Member
Aug 27, 2019
12
1
1
29
hello guys.

I have a proxmox 5.x installed on top of Debian 9, local.
I followed the official guide for installing proxmox in debian 9 , but i cant connect to the web interface.

========================================================================
1. I "nmap [ip address] -p 8006" :
Host is up (0.00014s latency).
PORT STATE SERVICE
8006/tcp open unknown

2. pve-manager and pvedaemon are both active and runnin

3. command "wget --no-check-certificate https://192.168.10.249:8006 " outputs:
Connecting to 192.168.10.249:8006... connected.

4. "sudo lsof -i -n -P | grep -i 8006" :

COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
pveproxy 2641 www-data 6u IPv6 35102 0t0 TCP *:8006 (LISTEN)
pveproxy 3751 www-data 6u IPv6 35102 0t0 TCP *:8006 (LISTEN)
pveproxy 3752 www-data 6u IPv6 35102 0t0 TCP *:8006 (LISTEN)
pveproxy 3753 www-data 6u IPv6 35102 0t0 TCP *:8006 (LISTEN)

*i it find wierd that port 8006 isnt listening to ipv4, while most port listen to both

5. connecting to 192.168.10.249:8006 doesnt output anything, it just reloads forever.

6. "sudo systemctl status pveproxy":

Loaded: loaded (/lib/systemd/system/pveproxy.service; enabled; vendor preset: enabled)
Active: active (running) since Wed 2019-08-28 14:07:54 PST; 1min 15s ago
Process: 2506 ExecStart=/usr/bin/pveproxy start (code=exited, status=0/SUCCESS)
Main PID: 2641 (pveproxy)
Tasks: 4 (limit: 4915)
Memory: 119.8M
CPU: 2.701s
CGroup: /system.slice/pveproxy.service
├─2641 pveproxy
├─3611 pveproxy worker
├─3612 pveproxy worker
└─3613 pveproxy worker

ug 28 14:15:27 DEBIAN09 pveproxy[4729]: worker exit
Aug 28 14:15:27 DEBIAN09 pveproxy[2641]: worker 4729 finished
Aug 28 14:15:27 DEBIAN09 pveproxy[2641]: starting 1 worker(s)
Aug 28 14:15:27 DEBIAN09 pveproxy[4730]: worker exit
Aug 28 14:15:27 DEBIAN09 pveproxy[2641]: worker 4732 started
Aug 28 14:15:27 DEBIAN09 pveproxy[4732]: /etc/pve/local/pve-ssl.pem: failed to use local certificate chain (cert_file or cert) at /usr/share/perl5/PVE/APIServer/AnyEvent.pm line 1687.
Aug 28 14:15:27 DEBIAN09 pveproxy[2641]: worker 4730 finished
Aug 28 14:15:27 DEBIAN09 pveproxy[2641]: starting 1 worker(s)
Aug 28 14:15:27 DEBIAN09 pveproxy[2641]: worker 4733 started
Aug 28 14:15:27 DEBIAN09 pveproxy[4733]: /etc/pve/local/pve-ssl.pem: failed to use local certificate chain (cert_file or cert) at /usr/share/perl5/PVE/APIServer/AnyEvent.pm line 1687.

~
=========================================================

thank you guys in advance!
 
7. sudo pvecm updatecerts -f:

(re)generate node files
generate new node certificate
Error Loading request extension section v3_req
139744995070016:error:220A4076:X509 V3 routines:a2i_GENERAL_NAME:bad ip address:../crypto/x509v3/v3_alt.c:441:value=fe80::32e1:71ff:fe87:b0ed%enp2s0
139744995070016:error:22098080:X509 V3 routines:X509V3_EXT_nconf:error in extension:../crypto/x509v3/v3_conf.c:47:name=subjectAltName, value=IP:127.0.0.1,IP:::1,DNS:localhost,IP:fe80::32e1:71ff:fe87:b0ed%enp2s0,DNS:DEBIAN09,DNS:DEBIAN09.wylog.info
unable to generate pve certificate request:
command 'openssl req -batch -new -config /tmp/pvesslconf-5723.tmp -key /etc/pve/nodes/DEBIAN09/pve-ssl.key -out /tmp/pvecertreq-5723.tmp' failed: exit code 1
 
Are you really certain that you want Debian 9 and PVE 5? It would make your life a lot easier to just install the PVE 6 ISO.
 
my issues have been resolved. turns out my hostname is wrong (i must use the same hostname i gave to my computer) and i made a self-signed certificate (thats the reason i can't connect tho all the daemon and ports are open and running).

SORRY FOR NOT CLOSING THIS THREAD.