Web interface isnt working

paxuist

New Member
Jul 24, 2014
4
0
1
Hello ,

I change the network structure (stop working with bond) and restart the server .
Server and the VM'S back up and ssh is also responding , the problem is that the web interface stop working . it show's me :


ERR_SSL_PROTOCOL_ERROR

root@vps02:/var/log# pveversion -vproxmox-ve-2.6.32: 3.2-121 (running kernel: 2.6.32-27-pve)
pve-manager: 3.2-1 (running version: 3.2-1/1933730b)
pve-kernel-2.6.32-27-pve: 2.6.32-121
lvm2: 2.02.98-pve4
clvm: 2.02.98-pve4
corosync-pve: 1.4.5-1
openais-pve: 1.1.4-3
libqb0: 0.11.1-2
redhat-cluster-pve: 3.2.0-2
resource-agents-pve: 3.9.2-4
fence-agents-pve: 4.0.5-1
pve-cluster: 3.0-12
qemu-server: 3.1-15
pve-firmware: 1.1-2
libpve-common-perl: 3.0-14
libpve-access-control: 3.0-11
libpve-storage-perl: 3.0-19
pve-libspice-server1: 0.12.4-3
vncterm: 1.1-6
vzctl: 4.0-1pve4
vzprocps: 2.0.11-2
vzquota: 3.1-2
pve-qemu-kvm: 1.7-4
ksm-control-daemon: 1.1-1
glusterfs-client: 3.4.2-1


Please help
 
Hello paxuist,

I change the network structure (stop working with bond) and restart the server .

Did you adapt /etc/hosts (and /etc/hostname) accordingly?

What says

Code:
netstat -l | grep 8006
?

Kind regards

Mr.Holmes
 
hello
i have a similiar problem - i changed something at the network setting - had to reboot. since the server ist not reachable in the LAN.
i have changed interface deleted all entry and just added Eth0 with IP, subnetmask, gateway and so on...
now the Server is visibel in the LAN i can log in with local consol, login with Teraterm via IP, i can start the web gui - but i can't login... ;-)

in my case the the netstat would be
~# netstat -l | grep 8006
tcp 0 0 *:8006 *:* LISTEN

have a nice day
vinc
 
Hello paxuist,



Did you adapt /etc/hosts (and /etc/hostname) accordingly?

What says

Code:
netstat -l | grep 8006
?

Kind regards

Mr.Holmes

Hi ,

/etc/hosts :

127.0.0.1 localhost.localdomain localhost
*.*.*.* vps02.* vps02 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



/etc/hostname :

vps02


netstat -l | grep 8006 :

tcp 0 0 *:8006 *:* LISTEN
 
Hello

Googling "ERR_SSL_PROTOCOL_ERROR" I´ve got the impression there is a problem with SSL certificate. I am not familiar with that stuff but maybe https://pve.proxmox.com/wiki/HTTPSCertificateConfiguration from proxmox-wiki helps.

For an (SSL-) expert a trace (both server and client side) might be helpful, e.g.
Code:
tcpdump -i vmbr0 -e -n > traceportal

If it has any relevance I don´t know, but what you showed as *.*.*.* in your recent post from /etc/hosts has to be the proper server IP-address (that´s what I meant saying "Did you adapt /etc/hosts (and /etc/hostname) accordingly?")

Success

Mr.Holmes
 
Last edited:
Hello

Googling "ERR_SSL_PROTOCOL_ERROR" I´ve got the impression there is a problem with SSL certificate. I am not familiar with that stuff but maybe https://pve.proxmox.com/wiki/HTTPSCertificateConfiguration from proxmox-wiki helps.

For an (SSL-) expert a trace (both server and client side) might be helpful, e.g.
Code:
tcpdump -i vmbr0 -e -n > traceportal

If it has any relevance I don´t know, but what you showed as *.*.*.* in your recent post from /etc/hosts has to be the proper server IP-address (that´s what I meant saying "Did you adapt /etc/hosts (and /etc/hostname) accordingly?")

Success

Mr.Holmes

Hi ,

I try to change the certificate , nothing helps .
In /etc/hosts ofcourse i have the right ip address in there instead of *.*.*.* .

The web gui still not working .

When i try to start the pvedaemon i get :

root@vps02:/etc/pve# service pvedaemon restart
Restarting PVE Daemon: pvedaemonstart-stop-daemon: warning: failed to kill 22435: No such process
unable to create socket - IO::Socket::INET: Address already in use
(warning).

It could be the problem ?
 
Hello paxuist,

When i try to start the pvedaemon i get :

root@vps02:/etc/pve# service pvedaemon restart
Restarting PVE Daemon: pvedaemonstart-stop-daemon: warning: failed to kill 22435: No such process
unable to create socket - IO::Socket::INET: Address already in use
(warning).

It could be the problem ?

The above shows that something is not ok. But I have to declare I cannot interpret it....

What I experienced already a lot of times: changes on the "main" network-interface (i.e. which you define during installation with IP-address, hostname etc.) cause potential problems.

Does anybody else have any idea?

If not, I´d consider in such a case

- reconfiguration of the network settings as they were before
- if not acceptable: reinstall with the proper settings during installation process

Kind regards

Mr.Holmes
 
Hello ,

Issue isnt resolved yet .
In the access log of pveproxy i can see 403 errors when i try to get the web interface :

[15/Oct/2014:22:11:24 +0300] "-" 403 -
[15/Oct/2014:22:11:25 +0300] "-" 403 -
[15/Oct/2014:22:11:25 +0300] "-" 403 -
[15/Oct/2014:22:11:25 +0300] "-" 403 -
[15/Oct/2014:22:11:27 +0300] "-" 403 -
[15/Oct/2014:22:11:27 +0300] "-" 403 -
[15/Oct/2014:22:11:27 +0300] "-" 403 -
[15/Oct/2014:22:11:27 +0300] "-" 403 -
[15/Oct/2014:22:11:30 +0300] "-" 403 -
[15/Oct/2014:22:11:30 +0300] "-" 403 -
[15/Oct/2014:22:11:30 +0300] "-" 403 -
[15/Oct/2014:22:11:30 +0300] "-" 403 -

Web interface worked fine untill i change the /etc/network/interfaces to this & reboot the server (maybe there is some problem here ? ofcourse in the ip address and the gateway i have the real ip's ) :

# network interface settings
auto lo
iface lo inet loopback


auto eth0
iface eth0 inet manual


iface eth1 inet manual


iface eth2 inet manual


iface eth3 inet manual


auto vmbr0
iface vmbr0 inet static
address SERVER-IP-ADDRESS
netmask 255.255.255.224
gateway GATEWAY-IP-ADDRESS
bridge_ports eth0
bridge_stp off
bridge_fd 0
 
Did you try already to reinstall the host or to install parallel system with the proper network configuration for a test?