Skip to content

[Bug]: Health / When inside a container, endpoints not found. #2656

Open
@JerryNixon

Description

@JerryNixon

When DAB is running in its MCR container, health checks do not use the proper port.

{
  "status": "Unhealthy",
  "version": "1.5.29",
  "app-name": "dab_oss_1.5.29",
  "configuration": {
    "rest": true,
    "graphql": true,
    "caching": false,
    "telemetry": false,
    "mode": "Development"
  },
  "checks": [
    {
      "status": "Healthy",
      "name": "MSSQL",
      "tags": [
        "data-source"
      ],
      "data": {
        "response-ms": 0,
        "threshold-ms": 1000
      }
    },
    {
      "status": "Unhealthy",
      "name": "Color",
      "exception": "One or more errors occurred. (Connection refused (localhost:55644))",
      "tags": [
        "rest",
        "endpoint"
      ],
      "data": {
        "response-ms": -1,
        "threshold-ms": 1000
      }
    },
    {
      "status": "Unhealthy",
      "name": "Color",
      "exception": "One or more errors occurred. (Connection refused (localhost:55644))",
      "tags": [
        "graphql",
        "endpoint"
      ],
      "data": {
        "response-ms": -1,
        "threshold-ms": 1000
      }
    }
  ]
}

Metadata

Metadata

Assignees

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions