broken GUI

piatkos

New Member
Sep 24, 2015
7
0
1
Hello,

I have a quite fresh install of Proxmox 3.4-6. My problem was a name of the node, which I wanted to change.
I found this site: elkano.org / blog/how-to-reset-cluster-configuration-in-proxmox-2/ and followed that instruction. Now I see that it's not for my version, but it's too late :(

Everything works quite fine, but not GUI. Can you help me to bring it back? :)

thanks in advance
Piatkos
 
Hi,
do you have changed the hostname?
Is your /etc/hosts right?

Does /etc/pve reflects your node-name?

See
Code:
ls -lsa /etc/pve/nodes/

root@proxmox1:~# find /etc/pve -type l -ls
     2    0 lrwxr-x---   1 root     www-data        0 Jan  1  1970 /etc/pve/local -> nodes/proxmox1
     4    0 lrwxr-x---   1 root     www-data        0 Jan  1  1970 /etc/pve/openvz -> nodes/proxmox1/openvz
    40    0 lrwxr-x---   1 root     www-data        0 Jan  1  1970 /etc/pve/qemu-server -> nodes/proxmox1/qemu-server
Udo
 
Hi,
do you have changed the hostname?

That was my goal.

Is your /etc/hosts right?

Code:
cat /etc/hosts
127.0. 0.1 localhost_localdomain localhost
192. 168. 214.24 intra_ik_local intra pvelocalhost


# The following lines are desirable for IPv6 capable hosts


::1     ip6-localhost ip6-loopback
fe00:  :0 ip6- localnet
ff00:  :0 ip6- mcastprefix
ff02:  :1 ip6- allnodes
ff02:  :2 ip6- allrouters
ff02:  :3 ip6- allhosts

Does /etc/pve reflects your node-name?


Code:
#ls  -lsa /etc/pve/nodes/
total 0
0 drwxr-x--- 2 root www-data 0 Sep 24 20:34 .
0 drwxr-x--- 2 root www-data 0 Jan  1  1970 ..
0 drwxr-x--- 2 root www-data 0 Sep 24 20:34 intra

# find /etc/pve/ -type l -ls
     8    0 lrwxr-x---   1 root     www-data        0 Jan  1  1970 /etc/pve/local -> nodes/intra
     2    0 lrwxr-x---   1 root     www-data        0 Jan  1  1970 /etc/pve/openvz -> nodes/intra/openvz
    23    0 lrwxr-x---   1 root     www-data        0 Jan  1  1970 /etc/pve/qemu-server -> nodes/intra/qemu-server

where intra was my original name of node that I wanted to change.

Piatkos

PS
some changes in code due to restriction od pasting links in post.
 
That was my goal.



Code:
cat /etc/hosts
127.0. 0.1 localhost_localdomain localhost
192. 168. 214.24 intra_ik_local intra pvelocalhost


# The following lines are desirable for IPv6 capable hosts


::1     ip6-localhost ip6-loopback
fe00:  :0 ip6- localnet
ff00:  :0 ip6- mcastprefix
ff02:  :1 ip6- allnodes
ff02:  :2 ip6- allrouters
ff02:  :3 ip6- allhosts




Code:
#ls  -lsa /etc/pve/nodes/
total 0
0 drwxr-x--- 2 root www-data 0 Sep 24 20:34 .
0 drwxr-x--- 2 root www-data 0 Jan  1  1970 ..
0 drwxr-x--- 2 root www-data 0 Sep 24 20:34 intra

# find /etc/pve/ -type l -ls
     8    0 lrwxr-x---   1 root     www-data        0 Jan  1  1970 /etc/pve/local -> nodes/intra
     2    0 lrwxr-x---   1 root     www-data        0 Jan  1  1970 /etc/pve/openvz -> nodes/intra/openvz
    23    0 lrwxr-x---   1 root     www-data        0 Jan  1  1970 /etc/pve/qemu-server -> nodes/intra/qemu-server

where intra was my original name of node that I wanted to change.

Piatkos

PS
some changes in code due to restriction od pasting links in post.

Hi Piatkos,
looks not bad. Does your gui displayed nothing?

Have you restarted the webserver?
Code:
service pveproxy restart
Any hint in /var/log/pveproxy/access.log ?

Udo
 
Hi Piatkos,
looks not bad. Does your gui displayed nothing?

Have you restarted the webserver?
Code:
service pveproxy restart

yes..

Code:
[COLOR=#777777][FONT=Segoe UI]ERR_EMPTY_RESPONSE[/FONT][/COLOR]

Any hint in /var/log/pveproxy/access.log ?

Not at all :(
Just
Code:
192.168.214.15 - - [24/Sep/2015:22:16:55 +0200] "GET / HTTP/1.1" 200 575

Piatkos
 
I've tried with another browser and GUI was shown.
After login I've got an error: Connection error - server offline?

P.
 
In /var/log/syslog:
Code:
Sep 24 23:07:17 intra pveproxy[150353]: problem with client 192.168.214.154; rsa_padding_check_pkcs1_type_1: block type is not 01
Sep 24 23:07:18 intra pveproxy[150353]: EV: error in callback (ignoring): Can't call method "push_write" on an undefined value at /usr/share/perl5/PVE/HTTPServer.pm line 295.
 
Hello,

anyone have any solutions for me? I still can't use proxmox GUI :(
Still : "Connection error - server offline?"

Any idea?

Piatkos
 
Any hints? I'm experiencing this error on every node in my cluster. No name changes for nodes or anything like that. Several nodes were upgraded from proxmox 3, several are fresh installs.

I can only see login form in web gui. After entering correct user/password I receive nothing from server. syslog contains many of these lines
Code:
Nov  3 10:41:14 s05 pveproxy[18697]: EV: error in callback (ignoring): Can't call method "push_write" on an undefined value at /usr/share/perl5/PVE/HTTPServer.pm line 295.
Nov  3 10:41:15 s05 pveproxy[18699]: EV: error in callback (ignoring): Can't call method "push_write" on an undefined value at /usr/share/perl5/PVE/HTTPServer.pm line 295.
Nov  3 10:41:15 s05 pveproxy[18699]: problem with client 10.0.0.254; rsa_eay_public_decrypt: data too large for modulus
Nov  3 10:41:16 s05 pveproxy[18699]: problem with client 10.0.0.254; rsa_eay_public_decrypt: data too large for modulus
Nov  3 10:41:18 s05 pveproxy[18699]: EV: error in callback (ignoring): Can't call method "push_write" on an undefined value at /usr/share/perl5/PVE/HTTPServer.pm line 295.
Nov  3 10:41:19 s05 pveproxy[18699]: problem with client 10.0.0.254; rsa_eay_public_decrypt: data too large for modulus
Nov  3 10:41:19 s05 pveproxy[18699]: EV: error in callback (ignoring): Can't call method "push_write" on an undefined value at /usr/share/perl5/PVE/HTTPServer.pm line 295.
Nov  3 10:41:20 s05 pveproxy[18699]: problem with client 10.0.0.254; rsa_eay_public_decrypt: data too large for modulus

I've tried to make new certs for pveproxy but it didn't help. Found several other posts about similar problems but most of them are related to hostname changes and have no solution.
 
did you already connect with another browser?

I a bit out of ideas as it seems you already checked all possible reason.

You can consider using our commercial services, I am sure our team will find the reason if the can login directly on your host.
 
Yes, I've tried different browser. I even tried curl.

Code:
# curl -skv https://10.0.0.5:8006/ > /dev/null
* Hostname was NOT found in DNS cache*   Trying 10.0.0.5...
* Connected to 10.0.0.5 (10.0.0.5) port 8006 (#0)
* successfully set certificate verify locations:
*   CAfile: none
  CApath: /etc/ssl/certs
* SSLv3, TLS handshake, Client hello (1):
} [data not shown]
* SSLv3, TLS handshake, Server hello (2):
{ [data not shown]
* SSLv3, TLS handshake, CERT (11):
{ [data not shown]
* SSLv3, TLS handshake, Server key exchange (12):
{ [data not shown]
* SSLv3, TLS handshake, Server finished (14):
{ [data not shown]
* SSLv3, TLS handshake, Client key exchange (16):
} [data not shown]
* SSLv3, TLS change cipher, Client hello (1):
} [data not shown]
* SSLv3, TLS handshake, Finished (20):
} [data not shown]
* SSLv3, TLS change cipher, Client hello (1):
{ [data not shown]
* SSLv3, TLS handshake, Finished (20):
{ [data not shown]
* SSL connection using TLSv1.0 / DHE-RSA-AES256-SHA
* Server certificate:
*        subject: OU=PVE Cluster Node; O=Proxmox Virtual Environment; CN=s05.local
*        start date: 2015-11-03 10:31:46 GMT
*        expire date: 2025-10-31 10:31:46 GMT
*        issuer: CN=Proxmox Virtual Environment; OU=1d48db0551ee7e5e9bbde7ebdc311e1a; O=PVE Cluster Manager CA
*        SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
> GET / HTTP/1.1
> User-Agent: curl/7.38.0
> Host: 10.0.0.5:8006
> Accept: */*
>
< HTTP/1.1 200 OK
< Cache-Control: max-age=0
< Connection: Keep-Alive
< Date: Wed, 04 Nov 2015 16:58:54 GMT
< Pragma: no-cache
* Server pve-api-daemon/3.0 is not blacklisted
< Server: pve-api-daemon/3.0
< Content-Length: 1210
< Content-Type: text/html; charset=utf-8
< Expires: Wed, 04 Nov 2015 16:58:54 GMT
<
{ [data not shown]
* Connection #0 to host 10.0.0.5 left intact
Everything as it should be. Adding login cookie.
Code:
# curl -skvH 'Cookie: PVEAuthCookie=PVE%3Agoga@pve%3A563A389E%3A%3A2SPUzkB2qUK16LR5+vv4zXoHYyfS45IUizp7r56T0PGlgEnYeet0uQFxwFwlDRLuecOYqg9TAzOcNes07NskfBMjqdWBU+V6r/iRYIBtpz8BBvf+VR1W6WHqW0o27cThShSd2BKRbYTq14jqWrFK48ql0OcpjjLAu/5eo3Mv6yFwFky8hNf8s3yT2n+Roy+aoocAjLqaW9aF2hkF+anz9EaYVKewLqJbTbczTbIZ17DeHJlVC1hXaf0N0k/7G2H7iKHuWoqHTIC2frcyJSMDmfXQ+qiqv6W+Zsmj9tyazcnK10xFi09Zq7ravxjxTOsg3wsmXjsUJU2M5SeVIOiYhw%3D%3D' https://10.0.0.5:8006/ > /dev/null
* Hostname was NOT found in DNS cache
*   Trying 10.0.0.5...
* Connected to 10.0.0.5 (10.0.0.5) port 8006 (#0)
* successfully set certificate verify locations:
*   CAfile: none
  CApath: /etc/ssl/certs
* SSLv3, TLS handshake, Client hello (1):
} [data not shown]
* SSLv3, TLS handshake, Server hello (2):
{ [data not shown]
* SSLv3, TLS handshake, CERT (11):
{ [data not shown]
* SSLv3, TLS handshake, Server key exchange (12):
{ [data not shown]
* SSLv3, TLS handshake, Server finished (14):
{ [data not shown]
* SSLv3, TLS handshake, Client key exchange (16):
} [data not shown]
* SSLv3, TLS change cipher, Client hello (1):
} [data not shown]
* SSLv3, TLS handshake, Finished (20):
} [data not shown]
* SSLv3, TLS change cipher, Client hello (1):
{ [data not shown]
* SSLv3, TLS handshake, Finished (20):
{ [data not shown]
* SSL connection using TLSv1.0 / DHE-RSA-AES256-SHA
* Server certificate:
*        subject: OU=PVE Cluster Node; O=Proxmox Virtual Environment; CN=s05.local
*        start date: 2015-11-03 10:31:46 GMT
*        expire date: 2025-10-31 10:31:46 GMT
*        issuer: CN=Proxmox Virtual Environment; OU=1d48db0551ee7e5e9bbde7ebdc311e1a; O=PVE Cluster Manager CA
*        SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
> GET / HTTP/1.1
> User-Agent: curl/7.38.0
> Host: 10.0.0.5:8006
> Accept: */*
> Cookie: PVEAuthCookie=PVE%3Agoga@pve%3A563A389E%3A%3A2SPUzkB2qUK16LR5+vv4zXoHYyfS45IUizp7r56T0PGlgEnYeet0uQFxwFwlDRLuecOYqg9TAzOcNes07NskfBMjqdWBU+V6r/iRYIBtpz8BBvf+VR1W6WHqW0o27cThShSd2BKRbYTq14jqWrFK48ql0OcpjjLAu/5eo3Mv6yFwFky8hNf8s3yT2n+Roy+aoocAjLqaW9aF2hkF+anz9EaYVKewLqJbTbczTbIZ17DeHJlVC1hXaf0N0k/7G2H7iKHuWoqHTIC2frcyJSMDmfXQ+qiqv6W+Zsmj9tyazcnK10xFi09Zq7ravxjxTOsg3wsmXjsUJU2M5SeVIOiYhw%3D%3D
>
* Empty reply from server
* Connection #0 to host 10.0.0.5 left intact
And everything else ends like that. So, I assume this has nothing related to browsers. More likely this is the bug in pveproxy.
 
Last edited:
99 % of such issues are browser issues, therefore people point you to this.

do you run latest stable version? if not, update to make sure that we do not hunt a already fixed issue, and post the output of

> pveversion -v
 

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!