Skip to main content
Twingate

Twingate Controller outage

Degraded Lasted 2h 33m · started · Twingate's page

Level
confirmed
Worst impact
Degraded
Components
Authentication - Enterprise, Public API, Admin Console, Authorization, Connector Heartbeat
Regions
us
Down Index
23of 100

What to do

  • Check whether you use Twingate Authentication - Enterprise, Public API, Admin Console, Authorization and 1 more in us. Check your stack

    Paste a package.json, lockfile, Terraform or a list of domains at down.guide/stack to see every provider you depend on.
  • Confirm your retries, queues and scheduled jobs caught up after the 2h 33m it lasted.

    Anything that failed between 2022-06-03 04:16 UTC and 2022-06-03 06:49 UTC may need a replay.
  • Subscribe to Twingate's feed to hear about the next one first. RSS feed

    https://down.guide/feed?provider=twingate works in Slack (/feed subscribe), Discord feed bots and any RSS reader.

Updates from Twingate 5

  1. investigating

    Controller is currently experiencing an outage. Our team is investigating the issue.

    provider

  2. investigating

    During a planned Kubernetes version upgrade, our application started to fail. We failed to our standby region/cluster, but it has the same issue. We are downgrading Kubernetes version and continuing to working on the issue.

    provider

  3. monitoring

    After reverting back the Kubernetes version and failing back to our previously Active cluster, we see Twingate Service recovered. We continue to monitor.

    provider

  4. resolved

    We are marking the incident as resolved. We will provide post-mortem notes as soon as we have them.

    provider

  5. postmortem

    **Summary** On June 3rd at 3 AM UTC, Twingate started a regular Kubernetes upgrade on its main cluster. This maintenance is usually done once a month and has been performed successfully many times prior to this upgrade. It includes a version upgrade of the cluster followed by a version upgrade of node-pools, completed one at a time. Around 4:01 AM UTC, HTTP 502 errors started on our cloud load balancer instance indicating an issue with the service. While these errors were a small portion of the overall volume of requests at first, around 4:15 AM the system was fully overloaded and it turned into a full outage. Shortly after, we failed to our standby cluster in a different region of our cloud provider, but saw the same issue happening on our standby cluster too. We downgraded our active clusters node pools to the previous Kubernetes version. This added extra capacity and then we failed back to our active cluster at 5:05 AM UTC. Recovery started immediately and the service was fully recovered at 5:10 AM UTC. **Root cause** After a detailed investigation, we found that during the upgrade, network connectivity between internal components was not stable, triggering failures and retries. As a result of our application being overloaded, we failed to answer load balancer health checks which caused the 502 errors. We are working with our cloud provider to analyze why the network instability happened during the upgrade. **Corrective actions** We have initiated a number of improvements: * Completed: We increased our main application capacity, tuned application and network settings between mentioned services, upgraded our in-memory key-value store, and added PDB \(pod destruction budget\). * Short-term: We will continue to tune the application and network settings between various components of Twingate. We found a bug with how our our client handles 502 errors and we are working on our client to handle the 502 errors better. * Medium-term: We are looking into two major changes: 1\) implementing Circuit Breaker functionality so our main application can stay up when a downstream service goes down, and 2\) implement a multi-region active-active setup on our cloud provider, which will enable us to better control Kubernetes upgrades \(as well as other code and configuration changes\).

    provider

Reports count in aggregate; nothing about you is shown.

Corrections

None so far.

Something wrong on this page? Report an error or send us a note. Every fix is listed here.

Questions about DWN-1b20889337

Is Twingate still down?

No, this incident was resolved 2022-06-03 06:49 UTC. For Twingate's live state, see https://down.guide/twingate.

How long did it last?

2h 33m, from 2022-06-03 04:16 UTC to 2022-06-03 06:49 UTC, by the times Twingate posted.

What was affected?

Twingate named Authentication - Enterprise, Public API, Admin Console, Authorization and 1 more in us.

What caused it?

Twingate hasn't published a root cause. If it does, it shows here.

Where does this come from?

Twingate's official status page, https://status.twingate.com, quoted verbatim. down.guide's own probes, reports and social counts are labeled as ours.