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

[Login] Getting server error when trying to log in with a test account

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3: Somewhat important
    • None
    • 3.3.0
    • Cloud Server
    • macOS
    • 1

    Description

      1. Send the request to REST API to login with test account created on https://test-account.qt.io/

      Expected: The user should be logged in or 401 error should be returned if account has no access. The same happens when logging in from terminal via qtlicensetool --login 

      Actual: Getting 'Internal Server Error' message. 

       

      Sample cURL:

      curl -X 'POST' \
        'https://qt-site-license-staging.herokuapp.com/api/v2/login' \
        -H 'accept: application/json' \
        -H 'Content-Type: application/json' \
        -d '{
        "host_type": "mac",
        "host_word_size": "64",
        "host_os": "macOS",
        "hw_id": "c31aa37762ef3bb84e09eeea0bc9bccb6b96a81b2657b1a356ec51709975a5ea",
        "hw_name": "user'\''s mac",
        "src": "squish_tester",
        "src_version": "8.0.0",
        "email": "lukasz.kosiorowski@qt.io",
        "password": "License#12"
      }' 

      Attachments

        Issue Links

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

          Activity

            People

              rikuzeng Zheng Zeng
              lkos Łukasz Kosiorowski
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes