New Feature Announcement: Master Your Email Delivery with the Mail Delivery Center

"The WebSocket handshake failed" when using the cPanel Terminal

When utilizing the Terminal feature within cPanel, you may encounter an error message that reads "Error: The WebSocket handshake failed." This issue often arises if you're accessing cPanel through a proxy sub-domain, such as https://cpanel.yourdomain.com.

To resolve this, we recommend the following methods to access the cPanel -> Terminal:

  1. Directly using your server's IP address: https://$ipaddress:2083
  2. Accessing cPanel through your domain: https://$domain.tld/cpanel
  3. Using the cPanel sub-domain format: https://cpanel.$domain.tld

If you're still facing difficulties after trying these links, consider disconnecting from any proxy servers or VPNs, as these can sometimes interfere with the connection. Additionally, testing the Terminal feature in different web browsers may help to isolate the issue.

  • 300 Users Found This Useful
Was this answer helpful?

Related Articles

 Connect to your server via SSH

SSH allows secure file transfer and remote logins over the internet. Your connection via SSH is...

 How to force your site to use SSL (HTTPS) using

First of all, you will need to install an SSL certificate to your siteOnce your certificate is...

 How do I change PHP versions, or change my PHP settings / config?

The process of setting your PHP version and the 'variables' (such as memory_limit values) differs...

 How do I install a free SSL via cPanel?

Installing an SSL certificate in cPanel is easy! Best of all, it's free with WebGee!Important:...

 How to send emails in WordPress using the WP SMTP Mail plugin

Instead of using the default PHP mail() function, you can send emails using our SMTP services via...

Powered by WHMCompleteSolution