Product:
Search Type:

[FIX]Plesk cannot retrieve license key.

Article ID: 3969 
Last Review: Feb,26 2008
APPLIES TO:
  • Plesk for Windows

SYMPTOMS

Plesk cannot retrieve license key. The following error appears:

Key Update Status:
Unable to update Plesk Key. An error occurred while processing your key.

You can try to update it later. The key cannot be upgraded due to the network failure during connection with the Key Authority server. Please check that your Internet connection is configured, you can resolve and access ka.swsoft.com and your firewall enables outgoing connections to TCP port 5224.

 

However it is possible to telnet to ka.swsoft.com on port 5224.

CAUSE

When Plesk sends request to KA server it generates special XML packet. Data for this packet is taken from Plesk database `key_history` table.

In case the data is corrupted it cannot be retrieved.

Example of corrupted records in MySQL database:

mysql> select id, plesk_key_id from key_history; +----+----------------------------------------------+ | id | plesk_key_id                                 | +----+----------------------------------------------+ |  1 | plsk000000000000                             |
|  2 | Φ^uxì~└╔♥╒─╖à°Nx▄ΩL╠»<a;φ╓*f5►┘₧⌐┤æ@t⌠║b▄+í♠ |
|  3 | Φ^uxì~└╔♥╒─╖à°Nx▄ΩL╠»<a;φ╓*f5►┘₧⌐┤æ@t⌠║b▄+í♠ |
|  4 | PLSK005268120000                             |
|  5 | PLSK004332790001                             |
|  6 | PLSK004332790002                             | +----+----------------------------------------------+
6 rows in set (0.00 sec)

RESOLUTION

Records with ID 2 and 3 are corrupted. To fix the problem it is necessary to remove them.
E.g.
mysql> delete from key_history where id=2 or id=3; Query OK, 2 rows affected (0.03 sec)

Please provide feedback on this article

Did this article help you solve your issue?
Yes
No
Partially
I do not know yet
 
Strongly Agree   Strongly Disagree
  9 8 7 6 5 4 3 2 1
The article is easy to understand
The article is accurate
Additional Comments:
*Please provide us with your email address in case we need to contact you.
*Please type the code you can see.
* - required fields