solusvm websocket wss 1006错误 Getting the error " Server disconnected (code:1006)" while accessing the VPS via NoVNC

kevin.Zhu 发布于:2022-5-15 18:17 分类:文摘  有 14 人浏览,获得评论 0 条  

以下两个步骤都需要操作, 特别是在使用自已申请的ssl 证书时;  


https://support.solus.io/hc/en-us/articles/360019947411-Getting-the-error-Server-disconnected-code-1006-while-accessing-the-VPS-via-NoVNC



https://bobcares.com/blog/solusvm-html5-and-vnc-consoles-not-working-how-we-fix-it/



During noVNC configuration, users need to set up SSL certificate for noVNC. It should be placed in the file /usr/local/solusvm/includes/nvnc/cert.pem/ with the following commands:

cat /usr/local/svmstack/nginx/ssl/ssl.crt /usr/local/svmstack/nginx/ssl/ssl.key > /usr/local/solusvm/includes/nvnc/cert.pem
systemctl restart svmstack-nginx.service