---
# System prepended metadata

title: SLA Intermediate API Issues

---

Issues:

1. 
    I sometimes get this error message, not consistently:

    "connection establishment was cancelled"
    
1. Bad response to query for getAvgFileDownloadDuration()
```
  prometheus-bee.mainnet.internal/api/v1/query?query=rate(beekeeper_check_data_durability_file_download_duration_seconds_sum{job="dev-bee-gateway"}[86400s])/rate(beekeeper_check_data_durability_file_download_duration_seconds_count{job="dev-bee-gateway"}[86400s])
  RESPONSE:
  {
    "status": "success",
    "data": {
      "resultType": "vector",
      "result": [
        {
          "metric": {
            "job": "dev-bee-gateway"
          },
          "value": [
            1702451363.764,
            "NaN"
          ]
        }
      ]
    }
  }
```