Uploaded image for project: 'Qt License server'
  1. Qt License server
  2. QLS-1612

Client Unable to Reserve License – Error Encountered

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • 3.5.0
    • 3.3.2
    • None
    •  Linux Ubuntu 22.04.5 LTS
    • Linux/X11
    • License server development 41

    Description

      I use the license service Client from tag 3.3.2 on Linux Ubuntu 22.04.5 LTS.

      I use it within the server aplication (AI Assistnat Server) started by Qt Creator.

      Error encountered is: "Not able to get the TCP port for license service"

      In logs you can see multiple attempts: "License service is being started up by another process, waiting"

      After a few attempts, the client gets the error mentioned above.

      Moreover, even in successful cases (when a license can be reserved) I sometimes see "License service is being started up by another process, waiting"

      To make sure qtlicd does not inherit file descriptors, I started it before Qt Creator with the following script:
       
      #!/bin/zsh
       /home/lie/Qt/Tools/LicenseService/qtlicd
      ./qtcreator-install_debug/bin/qtcreator # it runs our AI Assistant plugin which uses a license service client

      The error is sporadic. So far, I have not encountered it on Windows or MacOS.

      Logs attached.
       

      Attachments

        1. lic_client_logs.txt
          12 kB
        2. proc_launcher.py
          2 kB
        3. successful_reserveation.txt
          6 kB
        4. unsuccessful_reserveation.txt
          5 kB

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              arttu.tarkiainen Arttu Tarkiainen
              lukasz.papierkowski Lukasz Papierkowski
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes