Skip to content

False positives due to "context deadline exceeded (Client.Timeout exceeded while awaiting headers)" #1456

@SeanKilleen

Description

@SeanKilleen

Describe the bug

I think this might be a duplicate of #934, but I'm unsure if the workaround there is still the case.

I've been running Gatus for around a week now in prod. I'm running it as an Azure Container app. I think this is possibly crucial information: I started using Gatus because of random rolling false positives that would happen in another tool (uptime-kuma), also hosted in an Azure Container app.

Suddenly today, 18 alerts for apps on the same 3 servers (hosted by a provider I"ll call "the managed provider" -- not a big cloud provider, more of a hosted VM provider), while all the monitors for other endpoints remained up.

During the apparent outage, I could reach all endpoints. The issue remained until I stopped the Azure Container App for Gatus and restarted it. (no configuration change, etc.) At that time, all alerts resolved themselves.

...however, after a few minutes of starting up again, 14 endpoints were once again marked as down.

In each instance, the error is the same: Get "[the url]": context deadline exceeded (Client.Timeout exceeded while awaiting headers)

What do you see?

Repeated false positives with context deadline exceeded (Client.Timeout exceeded while awaiting headers), only for a certain subset of our alerts pointing to a certain hosting provider.

What do you expect to see?

No false positives.

List the steps that must be taken to reproduce this issue

No response

Version

v5.33.1

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions