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

Details

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

    Description

       

      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. 

      Attachments

        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
              lkos Łukasz Kosiorowski
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes