"The WebSocket handshake failed" when using the cPanel Terminal

In the event that you receive an error message stating "Error: The WebSocket handshake failed" when trying to use the Terminal feature in cPanel, in our experience this can happen in the event that you are accessing cPanel via a proxy sub-domain, such as https://cpanel.yourdomain.com

To fix this, we suggest trying the following links to access cPanel -> Terminal:


In the event that none of these help, try disconnecting from any proxies or VPNs that you may be using, and also trying with other web browsers.

Was this answer helpful? 1 Users Found This Useful (10 Votes)