This is an old revision of the document!
What to do when failed to contact License server?
When your server failed to contact license server, please check the following before logging any ticket.
Is your server DNS ok?
To check your DNS, Run:
ping gooogle.com
Does it return the right result? Don't try to ping our license server since it is not allowed.
~> ping google.com PING google.com (172.217.12.206) 56(84) bytes of data. 64 bytes from lga25s63-in-f14.1e100.net (172.217.12.206): icmp_seq=1 ttl=128 time=10.1 ms 64 bytes from lga25s63-in-f14.1e100.net (172.217.12.206): icmp_seq=2 ttl=128 time=11.3 ms 64 bytes from lga25s63-in-f14.1e100.net (172.217.12.206): icmp_seq=3 ttl=128 time=12.5 ms
Does telnet work?
If your DNS ok, you can try to telnet our license server by using port 443, can try license and license2.
telnet license.litespeedtech.com 443 telnet license2.litespeedtech.com 443
~> telnet license.litespeedtech.com 443 Trying 35.171.237.73... Connected to license.litespeedtech.com. Escape character is '^]'. ^] telnet> quit Connection closed.
If you see above, it means your server can connect to LiteSpeed license server without any problem.
Does curl work?
Run curl command:
curl -I -k https://license.litespeedtech.com curl -I -k https://license2.litespeedtech.com
~> curl -I -k https://license.litespeedtech.com HTTP/1.1 404 Not Found Date: Tue, 05 Jun 2018 18:54:16 GMT Accept-Ranges: bytes Server: LiteSpeed Alt-Svc: quic=":443"; ma=2592000; v="35,37,38,39" Connection: Keep-Alive
If you see the above, it means your server connected to license server without any problem. Don't worry about “404 Not Found”. and it is normal.
Check your service provider
If your server can connect to license server without any problem but still return “failed to contact license server”, most likely your datacenter blocks the license server. You will need to contact your service provider to fix it.