Details
-
Task
-
Resolution: Done
-
P2: Important
-
None
-
None
Description
On Win11, how to reprocude:
- stop qtlicd service
- stop qt license server service
- delete data.sqlite
- start http GET request to http://localhost:8080/api/v2/status
- start qt license server service
Following logs generated to qt-license-server-wrapper.out:
2023-11-02 10:00:52 - info: Starting Qt License server... {} 2023-11-02 10:00:52 - info: SSL disabled {} 2023-11-02 10:00:52 - info: Qt Site License service running at port 8080 {} 2023-11-02 10:00:52 - info: Returning license usage status. # <------ GET request {} 2023-11-02 10:00:54 - info: Returning license usage status. {} 2023-11-02 10:00:55 - info: Instantiation sequence... {} 2023-11-02 10:00:55 - info: Reading license entitlement file from disk.. {} 2023-11-02 10:00:55 - info: Entitlement file detected, content is.. { "licenses": [ { "name": "Site License", "sfid": "a1SDJ0000018OqC2AU", "license_number__c": "10950891", "lease_time_days__c": 1, "maximum_users_overage__c": 100, "concurrent_users__c": 100, "email_domains__c": "", "expiry_date__c": "2024-03-31", "active__c": true, "product__c": "Qt for Application Development", "product_code__c": "8240-SITE", "qt4_license_key__c": "BGKX-FM5-F4M-2CX-822DH-2XVV7-F459", "qt5_license_key__c": "BGKR-FX4-F4M-S7X-822DH-2XVV7-38C1", "schema__c": "Full Commercial", "checksum__c": "f7bc003824dc445ba4d1047eaf4b05ce9fbe80787aaba5afccd23018cd0ac9e5" } ] } 2023-11-02 10:00:55 - info: Local server loaded with newest license data.. {} 2023-11-02 10:00:55 - info: Extra configuration enabled and ACL file found. Skipping.. {} 2023-11-02 10:00:55 - info: Local server ready.. {} 2023-11-02 10:00:55 - info: Checking ACL config for license with number 10950891 ... {} 2023-11-02 10:00:55 - info: Start generating ACL config for license with number 10950891 ... {} 2023-11-02 10:00:55 - info: Add default ACL type for license number 10950891: blacklist {}
Added # <---- pointer to line in question.
Before server has initiated the entitlement.json file, the server returns only empty array
[]
in stead of normal json:
[ { "license": "10950891", "name": "Site License", "seat_amount": 100, "active_seats": 0, "remaining_seats": 100, "utilization_rate": "0.00%" } ]