Web: Proxy loop detected

janzun

New Member
Mar 19, 2011
28
0
1
Spain
Hi,

Im trying a pve 2.1 cluster with ten servers. One of then crashed (mainboard ko), and I removed the node from the cluster, then i reinstaled pve in a new server with the old hostname, and then i joinned it again in cluster. Now I cant enter to the server thought web panel because it says "Proxy loop detected".

Could it be due to reinstall it with the same hostname? And... what can we do in this case?

root@virtualnc05:~# cat /etc/hostname
virtualnc05
root@virtualnc05:~# cat /etc/hosts
127.0.0.1 localhost.localdomain localhost
1.2.3.5 virtualnc05.inteco.es virtualnc05 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

Thanks.
 
how did you join again?
 
Please can you check

# cat /etc/pve/.members

if that contains the correct IPs

How do we change these if the settings are incorrect? This file is read-only so I'm guessing the data is populated from another location? Also, if we are in a cluster, do we change just the one node or the file on all nodes?
 
How do we change these if the settings are incorrect? This file is read-only so I'm guessing the data is populated from another location? Also, if we are in a cluster, do we change just the one node or the file on all nodes?

We detect the IP by looking up hostname via /etc/hosts.
 
We detect the IP by looking up hostname via /etc/hosts.

I've updated the two nodes to what they should be, /etc/pve/.members is now displaying:

"01": { "id": 1, "online": 0},
"02": { "id": 2, "online": 0},
"03": { "id": 3, "online": 0},
"04": { "id": 4, "online": 1, "ip": "192.168.8.14"},
"05": { "id": 5, "online": 0},
"07": { "id": 7, "online": 0},
"08": { "id": 8, "online": 0},
"06": { "id": 6, "online": 0},
"09": { "id": 9, "online": 0},
"10": { "id": 10, "online": 0},
"12": { "id": 11, "online": 1, "ip": "192.168.8.22"},
"13": { "id": 12, "online": 1, "ip": "192.168.8.23"},
"14": { "id": 13, "online": 1, "ip": "192.168.8.24"},
"16": { "id": 15, "online": 1, "ip": "192.168.8.26"},
"18": { "id": 16, "online": 1, "ip": "192.168.8.28"},
"17": { "id": 14, "online": 1, "ip": "192.168.8.27"},
"19": { "id": 17, "online": 1, "ip": "192.168.8.29"},
"20": { "id": 18, "online": 0},
"11": { "id": 19, "online": 1, "ip": "192.168.8.21"},
"15": { "id": 20, "online": 1, "ip": "192.168.8.25"}

Not sure what's going on here now, all nodes in the UI are showing red, not green... I don't want to restart our cluster as it's production and in use, help with this will be greatly received. PVECM S reports only 5 active subsystems (not even sure what this is) but pvecm n displays all nodes. All displaying 704 in the Inc column except for 'master node' and 12?
 
Last edited:
On all node not marked online, you can try

# service pve-cluster restart
# service pvedaemon restart
# service pvestatd restart
# service apache2 restart
 

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!