Uploaded image for project: 'SiteWhere'
  1. SITEWHERE-284

Accessing REST services for stopped tenant results in server error

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.7.0
    • Component/s: Web
    • Labels:
      None

      Description

      If a tenant is in a stopped state and a client accesses the REST services using valid credentials and tenant auth token, the server generates an error. The tenant engine state should be checked as part of the auth token verification process. Rather than generating a 500 status code it should return a 503 indicating the service is not currently available.

        Attachments

          Activity

            People

            • Assignee:
              dadams Derek Adams [Administrator]
              Reporter:
              dadams Derek Adams [Administrator]
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: