Cloudhouse.Container.Usage fails with message "You must configure either file based or API based logging."

08/05/2019 Cliff Hobbs   ID: 343763


The application fails to run in a Container when it has been deployed using the HTTPS Usage Reporting and reports the following error:

ERROR Cloudhouse.Container.Usage.UsageStoreFactory - You must configure either file based or API based logging.


The usage API is unable to report usage via HTTPS because no URL has been specified in the configuration.


To fix this issue:

  1. In the root of the Container, open Metadata.json in a text editor.
  2. Include the AuthUrl and UsageReportingUrl as shown below.
    "PackageId": "Appname_identifer",
    "IsTelemetryEnabled": true,
    "TelemetryApiUrl": "",
    "Icon": "%DefaultDir%\\Cloudhouse.Container.Run.exe",
    "Name": "Appname",
    "Version": "",
    "Publisher": "",
    "AuthUrl": "",
    "UsageReportingUrl": ""
  1. Save the file.
Was this article helpful?

Table of Contents

    Can't find what you're looking for?

    Contact Support