7

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!

Ihsan
  • 140
  • 1
  • 1
  • 12

5 Answers5

11

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.

Jacob Lockard
  • 1,195
  • 9
  • 24
Ekwoge Blaise
  • 111
  • 1
  • 4
2

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

Monzur Alam
  • 512
  • 4
  • 11
1

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

sArGE29490
  • 11
  • 1
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!

Bhargav Rao
  • 50,140
  • 28
  • 121
  • 140
yodele
  • 1
  • 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! – yodele Mar 15 '19 at 23:50
  • Thanks @yodele! However I'm not using a VPN to connect. Nor am I using TOR either. – Ihsan Mar 17 '19 at 12:58
0

offing vpn worked for me aftering spenting time thinking.