proxmox:troubleshooting:nonvc_fails_to_connect_with_server_disconnected_code:1006
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
proxmox:troubleshooting:nonvc_fails_to_connect_with_server_disconnected_code:1006 [2021/07/21 08:19] – created peter | proxmox:troubleshooting:nonvc_fails_to_connect_with_server_disconnected_code:1006 [2021/07/24 17:16] (current) – peter | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Proxmox - Troubleshooting - noNVC fails to connect with Server disconnected (code: 1006) ====== | ====== Proxmox - Troubleshooting - noNVC fails to connect with Server disconnected (code: 1006) ====== | ||
+ | |||
+ | Trying to connect to a console within Proxmox returns the following error message: **Server disconnected (code: 1006)**. | ||
+ | |||
+ | <code bash> | ||
+ | TASK ERROR: command '/ | ||
+ | </ | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ===== Regenerate Certificates ===== | ||
SSH into the Proxmox host. | SSH into the Proxmox host. | ||
Line 7: | Line 17: | ||
systemctl restart pvedaemon.service | systemctl restart pvedaemon.service | ||
systemctl restart pveproxy.service | systemctl restart pveproxy.service | ||
+ | </ | ||
+ | |||
+ | <WRAP info> | ||
+ | **NOTE: | ||
+ | </ | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ===== Revert to default SSL configuration ===== | ||
+ | |||
+ | <code bash> | ||
+ | rm -rf / | ||
+ | rm -rf / | ||
+ | rm -rf / | ||
+ | rm -rf / | ||
+ | rm / | ||
+ | |||
+ | pvecm updatecerts -f | ||
+ | systemctl restart pveproxy | ||
</ | </ | ||
Line 37: | Line 66: | ||
<WRAP info> | <WRAP info> | ||
**NOTE: | **NOTE: | ||
+ | </ | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ===== Check if the websockify service is running ===== | ||
+ | |||
+ | <code bash> | ||
+ | ps aux |grep websoc | ||
+ | </ | ||
+ | |||
+ | <WRAP info> | ||
+ | **NOTE: | ||
+ | </ | ||
+ | |||
+ | |||
+ | ---- | ||
+ | |||
+ | ===== Another Approach ===== | ||
+ | |||
+ | Obtain a certificate to allow the Proxmox web interface to work over https. | ||
+ | |||
+ | Then, add this certificate to the list of trusted certificates on the remote PC being used to access Proxmox. | ||
+ | |||
+ | <code bash> | ||
+ | openssl s_client -showcerts -connect 192.168.1.95: | ||
+ | </ | ||
+ | |||
+ | <WRAP info> | ||
+ | **NOTE: | ||
+ | |||
+ | * **192.168.1.95: | ||
+ | * **pve.pem** is the output file of the certificate. | ||
+ | |||
+ | Then just add this certificate and set the rights to it **Always trust**. | ||
+ | |||
+ | Reload the Proxmox web page and access to the console should work. | ||
+ | |||
</ | </ | ||
proxmox/troubleshooting/nonvc_fails_to_connect_with_server_disconnected_code/1006.1626855578.txt.gz · Last modified: 2021/07/21 08:19 by peter