Terminal in cPanel is giving an error on launch: Error: The WebSocket handshake failed at 7:45:2
Asked Answered
A

5

8

I need to run composer, but soon as I open Terminal from the cPanel, an error notification pops up saying that the web socket handshake failed.

I hit the reconnect button, and the second identical error pops up.

Error on opening cPanel Terminal

How should I get around this error? I'm not really familiar with Terminal on cPanel, or with Websockets, so appreciate a considerate reply. Thanks!

Aholah answered 5/3, 2019 at 2:42 Comment(0)
G
14

I had a similar error and solved it by logging in to the cPanel using https://example.com/cpanel or https://ipaddress:2083 instead. Login again and try reconnecting to the terminal.

If it still doesn't work, this article suggests trying other web browsers. Also, make sure to disconnect from any VPN you might be connected to.

Gogh answered 6/5, 2020 at 21:7 Comment(0)
V
3

Recently I fetch this issue. Solve issue by Cpanel Shared IP address.
Example: https://70.32.23.83:2083 enter image description here

Viscount answered 30/1, 2022 at 12:39 Comment(0)
A
2

I used example.com/cpanel instead of cpanel.example.com to login to cpanel and it fixed the issue for me.

Arawakan answered 1/2, 2021 at 20:20 Comment(0)
W
0

This happened to me once while inadvertently using vpn to connect.

This happened to me once when I inadvertently connected to my cpanel using a vpn. The issue went away after I disconnected vpn. A possible solution might be to turn off your vpn. Thank you, Ram!

Warrantee answered 14/3, 2019 at 19:8 Comment(2)
I see, let me be more explicit then... This happened to me once when I inadvertently connected to my cpanel using a vpn. The issue went away after I disconnected vpn. A possible solution might be to turn off your vpn. Thank you, Ram!Warrantee
Thanks @yodele! However I'm not using a VPN to connect. Nor am I using TOR either.Aholah
D
0

offing vpn worked for me aftering spenting time thinking.

Dachi answered 29/1, 2021 at 11:44 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.