How can I fix the error: The licensing server was invalid or could not be reached ?

Many times this error can be fixed by restarting the Plesk panel:

/etc/init.d/psa restart

Make sure your openssl and curl packages are up to date:

// Centos / RHEL
yum update openssl curl

// Debian / Ubuntu
apt-get update  openssl curl


You can run the following command to see if your server can connect to the licensing server. You should get a response of Verify return code: 0 (ok) if the connection was successful.

openssl s_client -connect www.danami.com:443

If you get the error:

openssl s_client -connect www.danami.com:443 - returns:
socket: Bad file descriptor
connect:errno=9

Make sure that you aren't blocking the licensing server IP addresses: IPv4 198.27.80.6 and IPv6 2607:5300:60:2106:: Imunify360 is known to block our server IPs for some reason.

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

I get the a 502 gateway error when clicking on the application. How can I fix this?

This can usually be fixed by just restarting the Plesk interface:/etc/init.d/psa restart

How can I fix the error: warn: Use of uninitialized value $type in numeric eq (==) at /usr/share/perl5/Mail/SpamAssassin/Conf/Parser.pm ?

When you run an anti-spam-check (rules) you see these errors: May 15 13:59:32.279 [20306] warn:...

How can I fix the error: The VPS iptables rule limit (numiptent) is too low?

This error means that your service provider is limiting the amount if iptables rules (numiptent)...

How can I fix "The query to URIBL was blocked." in the spam log?

Do not use free public DNS servers like Google DNS, OpenDNS or Level3 for nameservers in your...

How can I test that the Anti-spam and Anti-virus is working?

How to test SpamAssassin Note: Greylisting must be disabled for the recipient domain before...