Licensing Error Through VPN

Hello,


We have encountered a problem regarding Ansys Electronics Desktop licenses. Both server and client are using VPN connections. Server has license server 2020R1 and client is using version 2018.

With the hosts file modified, client is able to ping the server and telnet 1055 and 2325 ports that license server utilizes. However, it could not retrieve the license from server when there is still license available.

I have read several threads on the forum and I have checked that the exact server name is defined in client end. Also, regarding the concerns over VPN. Both client and server will return the same IP address ( server has to specify to ping with "-4" options). Again, it is really weird since client has no problem ping the server and telnet both ports.

Also, client could not find %TEMP%/.ansys folder therefore there is no .out file for diagnostics.

Any help is greatly appreciated and thank you in advance!

Thanks,

Yunlin

Comments

  • mmadoremmadore Forum Coordinator

    @owenviva Please ensure that you can also communicate with the ansyslmd port. You may need to set this to a static port so you can open the firewalls and VPN for that port. To set it to a static port, please modify your license file's VENDOR line by adding PORT= and then restarting the license manager.

    For example, to set to port 1056:

    VENDOR ansyslmd PORT=1056


    Thank you,

    Matt

  • Hello Matt,

    Thank you for your kind reply. I followed your advice and add a static port to ansyslmd. Now the client is able to telnet all 3 ports. However, client is still getting license error. I copied a very interesting piece of log file below:

    2020/11/12 11:16:48 CLIENT_ACCEPT 1/1/4/4 66736:19.51.63.53

    2020/11/12 11:16:58 HANDSHAKE_ERROR 1/1/4/4 66736:19.51.63.53

    System error: 0 "".

    Looks like the client is able to find the server. But for whatever reason, there is a handshake error preventing the client from obtaining the license. It Would you please shed some light on how to solve this issue?

    Thanks and stay safe,

    Yunlin

  • mmadoremmadore Forum Coordinator

    Can you run this command and share the output?

    "C:\Program Files\ANSYSEM\Shared Files\Licensing\winx64\lmutil" lmstat -a -c [email protected]<server>

    Note: Replace <server> with actual server information (hostname, fqdn, or IP address)

  • Hello Matt,

    Please find the output below:

    lmutil - Copyright (c) 1989-2015 Flexera Software LLC. All Rights Reserved.

    Flexible License Manager status on Thu 11/12/2020 14:43


    [Detecting lmgrd processes...]

    License server status: [email protected]

      License file(s) on WGC104HBYTMV2: E:\ANSYS_License_Manager\Shared Files\Licensing\license_files\ansyslmd.lic:


    WGC104HBYTMV2: license server UP (MASTER) v11.16.4


    Vendor daemon status (on WGC104HBYTMV2):


     ansyslmd: UP v11.16.4

    Feature usage info:


    Users of ansoft_distrib_engine: (Total of 2 licenses issued; Total of 0 licenses in use)

    .

    .

    .

    I am not posting all licenses to bore you. But all of them have 0 licenses in use.



    Please let me know if you need any more information from me to solve the issue.

    Thanks,

    Yunlin

  • Hello Matt,

    Please find the output below:

    lmutil - Copyright (c) 1989-2015 Flexera Software LLC. All Rights Reserved.

    Flexible License Manager status on Thu 11/12/2020 14:43


    [Detecting lmgrd processes...]

    License server status: [email protected]

      License file(s) on WGC104HBYTMV2: E:\ANSYS_License_Manager\Shared Files\Licensing\license_files\ansyslmd.lic:


    WGC104HBYTMV2: license server UP (MASTER) v11.16.4


    Vendor daemon status (on WGC104HBYTMV2):


     ansyslmd: UP v11.16.4

    Feature usage info:


    Users of ansoft_distrib_engine: (Total of 2 licenses issued; Total of 0 licenses in use)


    Users of optimetrics: (Total of 1 license issued; Total of 0 licenses in use)


    Users of electronics_desktop: (Total of 1 license issued; Total of 0 licenses in use)


    Users of m2dfs_ac: (Total of 1 license issued; Total of 0 licenses in use)


    Users of m2dfs_ax: (Total of 1 license issued; Total of 0 licenses in use)


    Users of m2dfs_ckt: (Total of 1 license issued; Total of 0 licenses in use)


    Users of m2dfs_cn: (Total of 1 license issued; Total of 0 licenses in use)


    Users of m2dfs_ed: (Total of 1 license issued; Total of 0 licenses in use)


    Users of m2dfs_es: (Total of 1 license issued; Total of 0 licenses in use)


    Users of m2dfs_gui: (Total of 5 licenses issued; Total of 0 licenses in use)


    Users of m2dfs_ms: (Total of 1 license issued; Total of 0 licenses in use)


    Users of m2dfs_par: (Total of 1 license issued; Total of 0 licenses in use)


    Users of m2dfs_post: (Total of 2 licenses issued; Total of 0 licenses in use)


    Users of m2dfs_qs_solve: (Total of 5 licenses issued; Total of 0 licenses in use)


    Users of m2dfs_solve: (Total of 1 license issued; Total of 0 licenses in use)


    Users of m2dfs_th: (Total of 1 license issued; Total of 0 licenses in use)


    Users of m2dfs_tran: (Total of 1 license issued; Total of 0 licenses in use)


    Users of m3dfs_gui: (Total of 1 license issued; Total of 0 licenses in use)


    Users of m3dfs_qs_solve: (Total of 1 license issued; Total of 0 licenses in use)


    Users of m3dfs_solve: (Total of 1 license issued; Total of 0 licenses in use)


    Users of maxwell_desktop: (Total of 5 licenses issued; Total of 0 licenses in use)


    Users of maxwlspc: (Total of 1 license issued; Total of 0 licenses in use)


    Users of pemag: (Total of 1 license issued; Total of 0 licenses in use)


    Users of pexprt: (Total of 1 license issued; Total of 0 licenses in use)


    Users of rmxprt_bcm: (Total of 1 license issued; Total of 0 licenses in use)


    Users of rmxprt_ecm: (Total of 1 license issued; Total of 0 licenses in use)


    Users of rmxprt_gui: (Total of 1 license issued; Total of 0 licenses in use)


    Users of rmxprt_im: (Total of 1 license issued; Total of 0 licenses in use)


    Users of rmxprt_sym: (Total of 1 license issued; Total of 0 licenses in use)


    Users of schem_gui: (Total of 1 license issued; Total of 0 licenses in use)


    Users of simplorer_control: (Total of 1 license issued; Total of 0 licenses in use)


    Users of simplorer_CProgrInterface: (Total of 1 license issued; Total of 0 licenses in use)


    Users of simplorer_gui: (Total of 1 license issued; Total of 0 licenses in use)


    Users of simplorer_LibSMPS: (Total of 1 license issued; Total of 0 licenses in use)


    Users of simplorer_modelica: (Total of 1 license issued; Total of 0 licenses in use)


    Users of simplorer_sim_entry: (Total of 1 license issued; Total of 0 licenses in use)


    Users of simplorer_vhdlams: (Total of 1 license issued; Total of 0 licenses in use)


    Please let me know if you need any more information from me to solve the issue.

    Thanks,

    Yunlin

  • Hello Matt,

    Please find the output below:

    lmutil - Copyright (c) 1989-2015 Flexera Software LLC. All Rights Reserved.

    Flexible License Manager status on Thu 11/12/2020 14:43


    [Detecting lmgrd processes...]

    License server status: [email protected]

      License file(s) on WGC104HBYTMV2: E:\ANSYS_License_Manager\Shared Files\Licensing\license_files\ansyslmd.lic:


    WGC104HBYTMV2: license server UP (MASTER) v11.16.4


    Vendor daemon status (on WGC104HBYTMV2):


     ansyslmd: UP v11.16.4

    Feature usage info:


    Users of ansoft_distrib_engine: (Total of 2 licenses issued; Total of 0 licenses in use)


    Users of optimetrics: (Total of 1 license issued; Total of 0 licenses in use)


    Users of electronics_desktop: (Total of 1 license issued; Total of 0 licenses in use)


    Users of m2dfs_ac: (Total of 1 license issued; Total of 0 licenses in use)


    Users of m2dfs_ax: (Total of 1 license issued; Total of 0 licenses in use)


    Users of m2dfs_ckt: (Total of 1 license issued; Total of 0 licenses in use)


    Users of m2dfs_cn: (Total of 1 license issued; Total of 0 licenses in use)


    Users of m2dfs_ed: (Total of 1 license issued; Total of 0 licenses in use)


    Users of m2dfs_es: (Total of 1 license issued; Total of 0 licenses in use)


    Users of m2dfs_gui: (Total of 5 licenses issued; Total of 0 licenses in use)


    Users of m2dfs_ms: (Total of 1 license issued; Total of 0 licenses in use)


    Users of m2dfs_par: (Total of 1 license issued; Total of 0 licenses in use)


    Users of m2dfs_post: (Total of 2 licenses issued; Total of 0 licenses in use)


    Users of m2dfs_qs_solve: (Total of 5 licenses issued; Total of 0 licenses in use)


    Users of m2dfs_solve: (Total of 1 license issued; Total of 0 licenses in use)


    Users of m2dfs_th: (Total of 1 license issued; Total of 0 licenses in use)


    Users of m2dfs_tran: (Total of 1 license issued; Total of 0 licenses in use)


    Users of m3dfs_gui: (Total of 1 license issued; Total of 0 licenses in use)


    Users of m3dfs_qs_solve: (Total of 1 license issued; Total of 0 licenses in use)


    Users of m3dfs_solve: (Total of 1 license issued; Total of 0 licenses in use)


    Users of maxwell_desktop: (Total of 5 licenses issued; Total of 0 licenses in use)


    Users of maxwlspc: (Total of 1 license issued; Total of 0 licenses in use)


    Users of pemag: (Total of 1 license issued; Total of 0 licenses in use)


    Users of pexprt: (Total of 1 license issued; Total of 0 licenses in use)


    Users of rmxprt_bcm: (Total of 1 license issued; Total of 0 licenses in use)


    Users of rmxprt_ecm: (Total of 1 license issued; Total of 0 licenses in use)


    Users of rmxprt_gui: (Total of 1 license issued; Total of 0 licenses in use)


    Users of rmxprt_im: (Total of 1 license issued; Total of 0 licenses in use)


    Users of rmxprt_sym: (Total of 1 license issued; Total of 0 licenses in use)


    Users of schem_gui: (Total of 1 license issued; Total of 0 licenses in use)


    Users of simplorer_control: (Total of 1 license issued; Total of 0 licenses in use)


    Users of simplorer_CProgrInterface: (Total of 1 license issued; Total of 0 licenses in use)


    Users of simplorer_gui: (Total of 1 license issued; Total of 0 licenses in use)


    Users of simplorer_LibSMPS: (Total of 1 license issued; Total of 0 licenses in use)


    Users of simplorer_modelica: (Total of 1 license issued; Total of 0 licenses in use)


    Users of simplorer_sim_entry: (Total of 1 license issued; Total of 0 licenses in use)


    Users of simplorer_vhdlams: (Total of 1 license issued; Total of 0 licenses in use)


    Please let me know if you need any more information from me to solve the issue.

    Thanks,

    Yunlin

  • Hello Matt,

    Please find the output below:

    lmutil - Copyright (c) 1989-2015 Flexera Software LLC. All Rights Reserved.

    Flexible License Manager status on Thu 11/12/2020 14:43


    [Detecting lmgrd processes...]

    License server status: [email protected]

      License file(s) on WGC104HBYTMV2: E:\ANSYS_License_Manager\Shared Files\Licensing\license_files\ansyslmd.lic:


    WGC104HBYTMV2: license server UP (MASTER) v11.16.4


    Vendor daemon status (on WGC104HBYTMV2):


     ansyslmd: UP v11.16.4

    Feature usage info:


    Users of ansoft_distrib_engine: (Total of 2 licenses issued; Total of 0 licenses in use)


    Users of optimetrics: (Total of 1 license issued; Total of 0 licenses in use)


    Users of electronics_desktop: (Total of 1 license issued; Total of 0 licenses in use)


    Users of m2dfs_ac: (Total of 1 license issued; Total of 0 licenses in use)


    Users of m2dfs_ax: (Total of 1 license issued; Total of 0 licenses in use)


    Users of m2dfs_ckt: (Total of 1 license issued; Total of 0 licenses in use)


    Users of m2dfs_cn: (Total of 1 license issued; Total of 0 licenses in use)


    Users of m2dfs_ed: (Total of 1 license issued; Total of 0 licenses in use)


    Users of m2dfs_es: (Total of 1 license issued; Total of 0 licenses in use)


    Users of m2dfs_gui: (Total of 5 licenses issued; Total of 0 licenses in use)


    Users of m2dfs_ms: (Total of 1 license issued; Total of 0 licenses in use)


    Users of m2dfs_par: (Total of 1 license issued; Total of 0 licenses in use)


    Users of m2dfs_post: (Total of 2 licenses issued; Total of 0 licenses in use)


    Users of m2dfs_qs_solve: (Total of 5 licenses issued; Total of 0 licenses in use)


    Users of m2dfs_solve: (Total of 1 license issued; Total of 0 licenses in use)


    Users of m2dfs_th: (Total of 1 license issued; Total of 0 licenses in use)


    Users of m2dfs_tran: (Total of 1 license issued; Total of 0 licenses in use)


    Users of m3dfs_gui: (Total of 1 license issued; Total of 0 licenses in use)


    Users of m3dfs_qs_solve: (Total of 1 license issued; Total of 0 licenses in use)


    Users of m3dfs_solve: (Total of 1 license issued; Total of 0 licenses in use)


    Users of maxwell_desktop: (Total of 5 licenses issued; Total of 0 licenses in use)


    Users of maxwlspc: (Total of 1 license issued; Total of 0 licenses in use)


    Users of pemag: (Total of 1 license issued; Total of 0 licenses in use)


    Users of pexprt: (Total of 1 license issued; Total of 0 licenses in use)


    Users of rmxprt_bcm: (Total of 1 license issued; Total of 0 licenses in use)


    Users of rmxprt_ecm: (Total of 1 license issued; Total of 0 licenses in use)


    Users of rmxprt_gui: (Total of 1 license issued; Total of 0 licenses in use)


    Users of rmxprt_im: (Total of 1 license issued; Total of 0 licenses in use)


    Users of rmxprt_sym: (Total of 1 license issued; Total of 0 licenses in use)


    Users of schem_gui: (Total of 1 license issued; Total of 0 licenses in use)


    Users of simplorer_control: (Total of 1 license issued; Total of 0 licenses in use)


    Users of simplorer_CProgrInterface: (Total of 1 license issued; Total of 0 licenses in use)


    Users of simplorer_gui: (Total of 1 license issued; Total of 0 licenses in use)


    Users of simplorer_LibSMPS: (Total of 1 license issued; Total of 0 licenses in use)


    Users of simplorer_modelica: (Total of 1 license issued; Total of 0 licenses in use)


    Users of simplorer_sim_entry: (Total of 1 license issued; Total of 0 licenses in use)


    Users of simplorer_vhdlams: (Total of 1 license issued; Total of 0 licenses in use)


    Thank you for looking into this issue!

  • mmadoremmadore Forum Coordinator

    What are the errors the end users are seeing? Can you try setting this environment variable on the client machine?

    FLEXLM_TIMEOUT=60000000 (under system environment variables)


    These errors are irrelevant as the Electronics products don't access the ansysli_server.

    2020/11/12 11:16:48 CLIENT_ACCEPT 1/1/4/4 66736:19.51.63.53

    2020/11/12 11:16:58 HANDSHAKE_ERROR 1/1/4/4 66736:19.51.63.53

    System error: 0 "".


    Thanks,

    Matt

  • Hello Matt,

    The user sees error massage: "Failed to check out license 'xxx'. Cannot connect to license server (FLEXlm Error-15)." Specifying FLEXLM_TIMEOUT=60000000 in system variable does not help. I am letting client to upgrade to 2020 and see if it could help.

    Thank you for looking into it,

    Yunlin

Sign In or Register to comment.