User Tools

Site Tools


proxmox:troubleshooting:nonvc_fails_to_connect_with_server_disconnected_code:1006

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
proxmox:troubleshooting:nonvc_fails_to_connect_with_server_disconnected_code:1006 [2021/07/21 11:27] peterproxmox:troubleshooting:nonvc_fails_to_connect_with_server_disconnected_code:1006 [2021/07/24 17:16] (current) peter
Line 3: Line 3:
 Trying to connect to a console within Proxmox returns the following error message: **Server disconnected (code: 1006)**. Trying to connect to a console within Proxmox returns the following error message: **Server disconnected (code: 1006)**.
  
-<WRAP info+<code bash
-**NOTE:**  The certificates are out of sync  +TASK ERRORcommand '/usr/bin/termproxy 5901 --path /nodes/pve --perm Sys.Console -- /bin/login -f root' failed: exit code 1 
- +</code>
-Regenerate them. +
- +
-</WRAP>+
  
 ---- ----
 +
 +===== Regenerate Certificates =====
  
 SSH into the Proxmox host. SSH into the Proxmox host.
Line 18: Line 17:
 systemctl restart pvedaemon.service systemctl restart pvedaemon.service
 systemctl restart pveproxy.service systemctl restart pveproxy.service
 +</code>
 +
 +<WRAP info>
 +**NOTE:**  The certificates are out of sync, so regenerate them.
 +</WRAP>
 +
 +----
 +
 +===== Revert to default SSL configuration =====
 +
 +<code bash>
 +rm -rf /etc/pve/pve-root-ca.pem
 +rm -rf /etc/pve/priv/pve-root-ca.key
 +rm -rf /etc/pve/nodes/pve/pve-ssl.pem
 +rm -rf /etc/pve/nodes/pve/pve-ssl.key
 +rm /etc/pve/pve-root-ca.pem /etc/pve/priv/pve-root-ca.key
 +
 +pvecm updatecerts -f
 +systemctl restart pveproxy
 </code> </code>
  
Line 49: Line 67:
 **NOTE:**  The vncproxy is failing. **NOTE:**  The vncproxy is failing.
 </WRAP> </WRAP>
 +
 +----
 +
 +===== Check if the websockify service is running =====
 +
 +<code bash>
 +ps aux |grep websoc
 +</code>
 +
 +<WRAP info>
 +**NOTE:**  The **socat** package needs to be installed on the server.
 +</WRAP>
 +
  
 ---- ----
proxmox/troubleshooting/nonvc_fails_to_connect_with_server_disconnected_code/1006.1626866846.txt.gz · Last modified: 2021/07/21 11:27 by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki