Cách sửa lỗi unable to contact license server

When your server fails to contact the license server, it may be an easy fix on your end. Please check the following before you log a ticket.

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

If your DNS is ok, you can try to telnet to our license server by using port 443. Try

~> 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

0 and/or

~> 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

1.

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 the above, it means your server can connect to LiteSpeed's license server without any problem.

Run the following curl commands:

curl -I -k //license.litespeedtech.com curl -I -k //license2.litespeedtech.com

~> curl -I -k //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 the license server without any problem. Don't worry about “404 Not Found”. It is normal.

Check your DNS server and Disable IPv6 DNS server

Check if there's any IPv6 DNS nameserver. Our license server does not like IPv6 mapped IPv4 addresses.

cat /etc/resolv.conf

nameserver 62.50.161.166 nameserver 217.149.113.30 nameserver 2620:0:ccc::2 nameserver 2620:0:ccd::2 nameserver 2001:4860:4860::8888

If so, comment out the IPv6 server records and try to verify license again.

nameserver 62.50.161.166 nameserver 217.149.113.30

nameserver 2620:0:ccc::2

nameserver 2620:0:ccd::2

nameserver 2001:4860:4860::8888

If your server can connect to the license server without any problem but it still returns “failed to contact license server”, most likely your datacenter blocks the license server. You will need to contact your service provider to fix it.

If you would like to add our license server IPs to whitelist, you can add whatever the following resolved to:

license.litespeedtech.com license2.litespeedtech.com

At the time is writing, they are 34.231.236.27 and 167.99.112.67, but they may be changed and you will need to check IPs yourself to make sure.

If you are no longer able to get a license after trying to Check-In/Check-Out License using Active Directory, you may need to 'reset' the license file and try again.

1. First, we need to get to the folder where license data is stored. You can do this one of two ways]

  • Open a File Explorer window and navigate to the following folder:

C:\Users\YOUR_USERNAME\AppData\Roaming\DESTINI Estimator

  • OR Copy and paste the below into the navigation bar in the File Explorer window:

%appdata%\DESTINI Estimator

2. Delete this file - msalcache.bin3

3. Now close and relaunch Estimator.

4. When the license window pops up, click Active Directory and sign in with your company email and password [if you're unsure about what these might be, please consult your IT admin for help with Active Directory login access].

ISSUE 2: License is Expired

If you have checked out a license that is now expired and you are unable to check in to get a new license, you need to manually delete the license file from your PC. This process is similar to the above:

1. Navigate to the directory C:\Users\USERNAME\AppData\Roaming\DESTINI Estimator or copy and paste the following into the navigation bar of File Explorer [as shown in Step 1 of the above guide in this article]:

%appdata%\DESTINI Estimator

2. Delete the file ending in the extension '.lic' [this file has a long name of random letters and numbers, as shown below].

3. Close and relaunch Estimator

4. When the license window pops up, click Active Directory and sign in with your company email and password [if you're unsure about what these might be, please consult your IT admin for help with Active Directory login access].

If you're still having issues after trying these two troubleshooting tips, please open a ticket with Beck Tech Support.

ISSUE 3: The License Window is grayed out or not visible - On-Prem Clients

This issue is more than likely caused by your I.T. department group policy that is restricting the Chromium browser we use for our license platform.

Here are the steps to fix this for the user/s that are affected - you will have to do this on every upgrade. These have to be done by your IT or someone with Admin access.

1. Go to location - C:\Program Files\Beck Technology\DESTINI Estimator Team\App and log for the file Estimator.exe.config

Chủ Đề