22 Nov

Troubleshooting ‘WebSocket Handshake Failed’ Error in cPanel’s Terminal Feature

Encountering the “Error: The WebSocket handshake failed” message while using the Terminal feature in cPanel can be frustrating, especially if you’re accessing cPanel through a sub-domain like https://cpanel.yourdomain.com.

Why does this error happen?

When you try to open the Terminal in cPanel, it uses something called a “socket.” This socket needs to confirm where you’re connecting from. If it detects a proxy, it stops working.

How to solve it:

Mostly, this happens when user uses third party DNS server such as Cloudflare. Cloudflare’s way of hiding your real IP address causes this problem. To fix it, try accessing cPanel using a server IP address or the server’s hostname instead of the Cloudflare-protected one.

By doing this, you can bypass the error and use the Terminal feature in cPanel hassle-free.

Here’s what you can try to fix it:

1. Use these links to access cPanel >> Terminal:

– https://server-ip-ipaddress:2083
– https://server-hostname:2083

If these links don’t work, try these steps:

– Turn off any proxies or VPNs you might be using.
– Try different web browsers to see if that helps.

If you’re still experiencing issues with this problem, please reach out to our support team for assistance via https://www.tetrahostbd.com/contact.