Applicable to:
- Plesk for Windows
Symptoms
-
Plesk GUI menus require a significant amount of time to load
- Attempts to install or update extensions via Plesk > Extensions always end up in a queued task which does not get executed anytime soon
-
Browser DevTools (F12) shows errors such as the following 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 -
The
C:\Parallels\Plesk\admin\logs\php_error.logcontains multiple errors such as the following:CONFIG_TEXT: [2025-08-20 17:52:56] 141428:68a5ef58168ce ERR [panel] Request to ws-server failed with response: 403 Forbidden
Cause
The PleskWebSocket service (ws-server) is either down completely or it is stuck in a state that does not allow it to function properly.
Resolution
-
Connect to the server via RDP
-
Go to Windows Start > Services > Plesk Web Socket Service > Right-click > Restart
-
If the issue persists, reinstall the
PleskWebSocketand restart the service by 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
Please sign in to leave a comment.