Applicable to:
- Plesk for Windows
Symptoms
-
Plesk panel is slow: Plesk menus take a considerable amount of time to load.
-
Browser DevTools (F12) shows the following errors under Console tab:
Failed to load resource: the server responded with a status of 404 (Not Found)
:8443/manifest.webmanifest?1607564336:1 Manifest: Line: 1, column: 1, Syntax error.
WebSocket connection to 'wss://example.com:8443/ws' failed: Error during WebSocket handshake: Unexpected response code: 502
Cause
PleskWebSocket service is down.
Resolution
-
Connect to the server via RDP.
-
Go to Windows Start > Services page and restart
PleskWebSocket
service by right-click onPleskWebSocket
> Restart. -
If the issue persists reinstall
PleskWebSocket
and restart the service using CMD commands below:plesk sbin nssmmng --reinstall-service --name=PleskWebSocket
net start PleskWebSocket
If the command nssmmng
above returns the error like:
Service PleskWebSocket is not registered
at (NSSM::Adapter::reinstallService line 85)
at reinstallService(PleskWebSocket)(NSSM::Adapter::reinstallService line 96)
at Unable to execute console command: '--reinstall-service'(vconsoleapp::start line 95)
at Unable to execute command: '"D:\Program Files (x86)\Plesk\admin\bin64\nssmmng" --reinstall-service "--name=PleskWebSocket"'(vconsoleapp::run line 117)exit status 1
then, Reinstall PleskWebSocket as follows:
plesk php %plesk_dir%/admin/plib/Upgrade/upgrade.php --run-task 2020-02-11-01-27-43 --method upgrade
Those with access to source code may retrieve The --run-task 2020-02-11-01-27-43 part with:
# /projects/plesk (master)
$ grep -r PleskWebSocket ./common
./common/php/plib/Upgrade/Task/clean/2020-02-11-01-27-43_InstallPleskWebSocketService.php: * InstallPleskWebSocketService
./common/php/plib/Upgrade/Task/clean/2020-02-11-01-27-43_InstallPleskWebSocketService.php:class InstallPleskWebSocketService implements Interface_Task
./common/php/plib/Upgrade/Task/clean/2020-02-11-01-27-43_InstallPleskWebSocketService.php: '--name=PleskWebSocket',
Comments
0 comments
Please sign in to leave a comment.