Applicable to:
- Plesk for Linux
Symptoms
-
Plesk interface is unresponsive or Plesk shows the message that the license key is expired
-
The following error is shown in Plesk and in
/var/log/plesk/panel.log
file:PLESK_ERROR: ERR [1] Token validation failed: Can not connect to 'ka.plesk.com' (6:6). Please check connection to 'ka.plesk.com' or contact Plesk support: <a href='https://www.plesk.com/support/' target='_blank'>https://www.plesk.com/support/</a>.; ; KV network error (ka.plesk.com: cURL cannot communicate with license server https://ka.plesk.com/jsonrest/pkp/20/verify-key (): Couldn't resolve host name(6)
-
Retrieving the license from CLI fails with one of the following messages:
# plesk bin license --retrieve
Updating Plesk license key:
[2017-11-24 05:18:02] ERR [panel] KeyUpdate Result code: 2 Unspecified error
[2017-11-24 05:18:02] ERR [panel] KeyUpdate Result desc: License key is not prolongated yet
# plesk bin license --retrieve
Updating Plesk license key:
2018-09-02T21:25:04+01:00 ERR (3): KeyUpdate Result code: 2 Network failure
2018-09-02T21:25:04+01:00 ERR (3): KeyUpdate Result desc: Couldn't resolve host name -
Telnet connection to
ka.plesk.com
works correctly:# telnet ka.plesk.com
Trying 195.214.233.80...
Connected to ka.plesk.com.
Escape character is '^]'. -
The next command is executed correctly (Do not mind the error):
# curl https://ka.plesk.com/jsonrest/pkp/20/verify-key
Authorization failed -
DNS records of
ka.plesk.com
cannot be resolved against some of the configured nameservers:# cat /etc/resolv.conf
nameserver 203.0.112.2
nameserver 8.8.8.8
# dig ka.plesk.com @203.0.112.2
...
;; connection timed out; no servers could be reached
Cause
DNS server misconfiguration.
Resolution
-
Resolve the issue on the side of the DNS server or remove the misconfigured DNS server from the interface settings
-
Connect to the server via SSH and reinstall license key manually:
# plesk bin license --install A00000-A00000-A00000-A00000-A00000
Comments
1 comment
I had the same problem:
[root@plesk ~]# dig ka.plesk.com @8.8.8.8
; <<>> DiG 9.11.4-P2-RedHat-9.11.4-26.P2.el7_9.15 <<>> ka.plesk.com @8.8.8.8
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 10616
;; flags: qr rd ra; QUERY: 1, ANSWER: 3, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 512
;; QUESTION SECTION:
;ka.plesk.com. IN A
;; ANSWER SECTION:
ka.plesk.com. 82 IN A 195.214.233.81
ka.plesk.com. 82 IN A 195.214.233.82
ka.plesk.com. 82 IN A 195.214.233.80
;; Query time: 18 msec
;; SERVER: 8.8.8.8#53(8.8.8.8)
;; WHEN: Sat Nov 04 12:40:34 GMT 2023
;; MSG SIZE rcvd: 89
[root@plesk ~]# telnet ka.plesk.com 443
Trying 195.214.233.82...
Connected to ka.plesk.com.
Escape character is '^]'.
But when I tried to update the license it failed with cannot contact server. I had to manually install the license key. Nothing was being blocked through the firewall.....Maybe a problem with the license server?
Please sign in to leave a comment.