Cannot access another node "Connection errorError Connection error - server offline?"

willydwi77

Member
Jul 11, 2020
3
0
21
30
Hello, I'm a bit confused here. I have two nodes (pve1 and pve2) that are combined into a single cluster called "melinda2". The issue is, when I open pve1, I can access pve2 from the website interface. However, when I open pve2 and try to access pve1, it says "Error Connection error - server offline?" So, what is happening here?

Previously, I changed the IP addresses of both nodes, but I have already updated them in the files `/etc/network/interfaces`, `/etc/hosts`, and `/etc/pve/coronsync.conf`.

Here for the pvecm status

Code:
root@pve1:~# pvecm status
Cluster information
-------------------
Name:             melinda2
Config Version:   2
Transport:        knet
Secure auth:      on

Quorum information
------------------
Date:             Fri Jan  3 16:10:48 2025
Quorum provider:  corosync_votequorum
Nodes:            2
Node ID:          0x00000001
Ring ID:          1.107d
Quorate:          Yes

Votequorum information
----------------------
Expected votes:   2
Highest expected: 2
Total votes:      2
Quorum:           2
Flags:            Quorate

Membership information
----------------------
    Nodeid      Votes Name
0x00000001          1 192.168.70.100 (local)
0x00000002          1 192.168.70.101

###################################################################

root@pve2:~# pvecm status
Cluster information
-------------------
Name:             melinda2
Config Version:   2
Transport:        knet
Secure auth:      on

Quorum information
------------------
Date:             Fri Jan  3 16:11:20 2025
Quorum provider:  corosync_votequorum
Nodes:            2
Node ID:          0x00000002
Ring ID:          1.107d
Quorate:          Yes

Votequorum information
----------------------
Expected votes:   2
Highest expected: 2
Total votes:      2
Quorum:           2
Flags:            Quorate

Membership information
----------------------
    Nodeid      Votes Name
0x00000001          1 192.168.70.100
0x00000002          1 192.168.70.101 (local)



Screenshot 2025-01-03 160758.png

Screenshot 2025-01-03 160933.png
 
Verify /etc/hosts and compare for both hosts. Both files should contain complete and identical information - in fact you can copy one to the other.

"ping pve1" and "ping pve2" should work on both nodes with the same success.

Warning: do not change the names. The cluster may fell apart. (Background: https://pve.proxmox.com/wiki/Renaming_a_PVE_node)

Edit 2: you know you should have a third vote on the long run, don't you? --> https://pve.proxmox.com/pve-docs/pve-admin-guide.html#_corosync_external_vote_support
 
Last edited:

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!