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

Daemon throws several logs about granting the license when building the app

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • Icon: Not Evaluated Not Evaluated
    • None
    • 3.4.0
    • None
    • macOS

       

      Steps:

      1. I run the damon in the cli mode connected to the on-prem server.
      2. I run the Qt Creator (I got the license - single entry)
      3. I opened the example Bluetooth low energy. 
      4. I build and run the app

      Actual: I see 6 entries for granted qtframework license (11111111), each with a different client id

      2025-04-25 19:50:57 [INFO] [licenser]: Granted cached license. License id: 11111111, user: "lukaszkosiorowski", reservation id: 295ad726-65d5-4833-a261-115af0f86e79, client id: 9
      2025-04-25 19:50:57 [INFO] [licenser]: Granted cached license. License id: 11111111, user: "lukaszkosiorowski", reservation id: 295ad726-65d5-4833-a261-115af0f86e79, client id: 8
      2025-04-25 19:50:57 [INFO] [licenser]: Granted cached license. License id: 11111111, user: "lukaszkosiorowski", reservation id: 295ad726-65d5-4833-a261-115af0f86e79, client id: 11
      2025-04-25 19:50:57 [INFO] [licenser]: Granted cached license. License id: 11111111, user: "lukaszkosiorowski", reservation id: 295ad726-65d5-4833-a261-115af0f86e79, client id: 12
      2025-04-25 19:50:57 [INFO] [licenser]: Granted cached license. License id: 11111111, user: "lukaszkosiorowski", reservation id: 295ad726-65d5-4833-a261-115af0f86e79, client id: 10
      2025-04-25 19:50:58 [INFO] [licenser]: Granted cached license. License id: 11111111, user: "lukaszkosiorowski", reservation id: 295ad726-65d5-4833-a261-115af0f86e79, client id: 15 

      the same happens when the there is no available license:

      2025-04-25 20:09:08 [WARNING] [licenser]: Rejected license request for client id 22: "There are no free licenses available in the license pool."
      2025-04-25 20:09:08 [WARNING] [licenser]: Rejected license request for client id 20: "There are no free licenses available in the license pool."
      2025-04-25 20:09:08 [WARNING] [licenser]: Rejected license request for client id 19: "There are no free licenses available in the license pool."
      2025-04-25 20:09:08 [WARNING] [licenser]: Rejected license request for client id 23: "There are no free licenses available in the license pool."
      2025-04-25 20:09:09 [WARNING] [licenser]: Rejected license request for client id 21: "There are no free licenses available in the license pool."
      2025-04-25 20:09:09 [WARNING] [licenser]: Rejected license request for client id 29: "There are no free licenses available in the license pool." 

      Note: It doesn't happen to all the apps and it might not be a bug, but I reported it as it looks like an inconsistency. 

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

            arttu.tarkiainen Arttu Tarkiainen
            lkos Łukasz Kosiorowski
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes