Hello, everyone!
This post describes how to handle the failure to log in to the VM using VNC because the host where the VM resides cannot communicate with each other.
Problem Description
The browser displays the message "Failed to connect to server (code: 1006)"
Problem Analysis
Failed to login VM using VNC because the host where the VM is located cannot communicate.
Solution
1) Check the check_token result in the nova-console file. If the result is false, it indicates that the token expires.
2) View the operation logs of the connection server in the /var/log/fusionsphere/operate/nova-api file.
3) Ping the IP address of the host in the log. If the IP address cannot be pinged, check the network.
4)Check the nova-novncproxy file for error information. If no error is found, ping the host in the preceding log on the node where the novncproxy is located to check whether the ping operation is successful. If the ping operation fails, check the network.
That's all, thanks!