Loading

Usage Intelligence

Skip Feed

  1. The FlexNet server fails to correctly count the number of occupied licenses

    Hi Experts

     

    This appears to be a license management issue in FlexNet when handling our Codebeamer license file — the FlexNet dashboard is unable to correctly display the number of occupied licenses.

     

    We are able to consistently reproduce this issue on our side. To do so, simply configure two Codebeamer servers to connect to the same License server. Please refer to the related screenshots below:

     

    1758597119972 

    1758597148116 

    1758597065325 

     

    As you can see, there are 7 users logged into the two Codebeamer servers, but the license server counts only 4 licenses as occupied.

     

    Expand Post

  2. We need to know where our revenera usage intelligence data is hosted

    We have 3 products that utilize the revenera usage intelligence product and we need to identify were our revenera data is currently hosted for security and compliance reasons. The knowledge base suggested that it is hosted by 3rd parties in America and Europe, however that is a little vague and not specific for our data.


  3. Opt-out and server calls

    According to the opt-out mechanism documentation: https://docs.revenera.com/ui560/cpp_windows/Content/helplibrary/Opt_Out_Mechanism.htm , "The ruiOptOut() function Instructs the SDK to send a message to the server to indicate that this user is opting-out (if not already sent in previous sessions) and disables all further functionality and communication with the server."

    If I understand this correctly, we can still make API calls (such as ruiSetCustomProperty or ruiTrackEvent) but none of these will result in any of that data being sent to the server, right?

    By "communication with the server", I presume this means the URL given in ruiCreateConfig will not be called: https://docs.revenera.com/ui560/cpp_windows/Content/helplibrary/Initializing_the_Configuration.htm?Highlight=ruiCreateConfig (see "serverURL (const char*)").

    The reason I ask is that one of our users of our software is reporting that they are still seeing calls being made to that "serverURL". It is my understanding that this should not happen. Can you please let me know if this is not necessarily true and whether there is something we should be doing differently in the opt-out case.

    Expand Post

  4. Subject: Authentication Issue with API - 400 Error "Cookie Missing"

    Hello everyone,

    I'm encountering a problem while attempting to authenticate with a specific API. After following the official documentation to establish a connection and sending an authentication request using Python's 'requests' library, I consistently receive a 400 error with the following message: '{"error": {"code": "400.002.002", "description": "Cookie Missing"}}'.

    Here is a simplified snippet of my code:

    '''python

    import requestsimport json

     

    Charger les paramètres à partir du fichier JSONs = json.load(open("settings.json", "r", encoding="utf-8"))

     

    Extraire le nom d'utilisateur et le mot de passeusername = s['REVENERA']['USER']password = s['REVENERA']['PASSWORD']

     

    Extract header valuescontent_type = s['headers']['Content-Type']rui_client = s['headers']['RUI-Client']rui_client_version = s['headers']['RUI-Client-Version']origin = s['headers']['Origin']

     

     

    user = {    "user": username,    "password": password}

     

    Setup the headers dictionaryheaders = {        "Content-Type": content_type,    "RUI-Client": rui_client,    "RUI-Client-Version": rui_client_version,    "Origin": origin   }

     

    URL d'authentification de l'APIURL = "https://analytics-api.revenera.com/v3/auth/web "URL_V3 = "https://api.revulytics.com/auth/login "

     

    Création d'une session pour maintenir les cookieswith requests.Session() as session:            Faire la requête d'authentification avec les en-têtes et le corps corrects        response = session.post(URL, json=user, headers=headers)        print(response.cookies)

     

            Vérifiez la réussite de l'authentification        if response.ok:            print("Authentification réussie")            L'ID de session et éventuellement d'autres données peuvent être extraits ici            session_id = response.json().get("sessionId")            print("ID de session :", session_id)        else:            print(f"Échec de l'authentification: {response.status_code} - {response.text}")

     

    Exécuter la fonction d'authentification (Cette ligne sera décommentée dans le script final) authenticate_and_execute()   

    '''

    I ensure the session is initiated, and all headers required by the documentation are included. However, the error seems to indicate a missing cookie in my request, although the documentation does not explicitly mention the need for such a cookie for authentication.

    Has anyone encountered this type of error before? Is there an additional step or a specific header I might have missed to transmit or receive the required cookie?

    Any help or suggestion would be greatly appreciated.

    Thank you in advance for your support.

    Expand Post

    1 of 3
    • AkSharma (Flexera Software)

      We have updated the v3 API documentation  with additional instructions required for authentication. 

      Thanks

  5. Subject: Request for Authentication Process Clarification and Issue Reporting for API Data Retrieval

    Dear Revenera Community,

    I am currently integrating the Usage Intelligence Reporting API into our system and have encountered a challenge with the authentication process, specifically regarding the expected header parameters for the API requests. In addition, I am using Python for the implementation, and I have encountered an error with the code "400.002.002" stating "Cookie Missing". Could you guide me on how to correctly set up the authentication headers, and also advise on the correct handling of cookies within Python to avoid this error?

    The areas needing clarification are:

    1. **Content-Type**: Should this be 'application/json' for all requests?

     

    2. **RUI-Client**: Should this be the name of our application?

     

    3. **RUI-Client-Version**: Does this refer to the API version or our application's version?

     

    4. **Origin**: Should we use 'https://analytics.revenera.com ' or our application's URL?

    Your guidance on these matters would be greatly appreciated to ensure a smooth integration process.

    Best regards,

    Expand Post

    1 of 4
    • AAshok (Flexera Software)

      Hi @jenseggerath ,

      Thank you for your feedback. We are continuously working on improving the documentation and will update it with relevant explanations to address the unanswered questions. Your input is valuable, and we appreciate your patience as we strive to enhance our documentation.

      Thanks

      Expand Post

End of Feed
8 Chatter Feed Items
ALL CONVERSATIONS
UNSOLVED
ARTICLES
54 Posts
158 Articles

Related Topics

    Loading
    Usage Intelligence