# Requests slowed by reconnects

> From 17:14 to 17:48, maintenance steps run back to back made almost every connected client disconnect and reconnect, in three waves. While they reconnected, requests to our servers took up to about 2 seconds instead of about 40 ms, and at the worst about 1 in 16 got no answer. No alert fired, and we found the slowdown two hours later.

Started Nov 30 17:14 UTC; ended Nov 30 17:48 UTC, 34 min. Worst level: Partial outage.
https://ur.io/outages/2026-11-30-2

On the evening of Nov 30 we were moving our hosted proxy service onto the servers that hold client connections and retiring older network equipment, and we ran the remaining steps back to back to finish quickly, at our busiest time of day. At 17:09 one step restarted the connection servers on four of our machines at once. Each old server handed its clients over to its replacement during the next several minutes, so between 17:12 and 17:26 almost every connected client, about 238,000, disconnected and reconnected. A reconnecting client signs in again and sets up its connections, and these requests queued in our servers: from 17:14, requests took 0.5 to 1.9 seconds on average instead of about 40 ms, and at the worst about 1 in 16 got no answer. The reconnects also added about a fifth to the traffic crossing the network equipment that links our servers, which was already near its limit, and it dropped packets between our servers and our cache. Requests were answered as usual again by 17:28. Two later steps, at 17:33 and 17:42, moved network addresses that about 47,000 and then 35,000 clients were still connected through, and each cut those connections at once. As they reconnected, requests again took up to about 2 seconds for a minute or two. From 17:48 requests were answered as usual. No alert fired, and we found the slowdown two hours later, while investigating another outage that evening.

## Phases

| From (UTC) | To (UTC) | Level | What people saw |
|---|---|---|---|
| Nov 30 17:14 | Nov 30 17:25 | Partial outage | Almost every client reconnected within minutes: requests took 0.5 to 1.9 seconds, up to 1 in 16 got no answer, and up to a fifth of providers and an eighth of clients were briefly disconnected at a time. |
| Nov 30 17:25 | Nov 30 17:28 | Degraded | Clients had reconnected and our servers worked through the requests that had queued up: responses were still slow, but almost every request was answered. |
| Nov 30 17:28 | Nov 30 17:33 | Healthy | Requests were answered as usual. |
| Nov 30 17:33 | Nov 30 17:37 | Partial outage | A network change cut the connections of about a fifth of connected clients at once; as they reconnected, requests took up to about 2 seconds and new connections were set up at about half the usual pace. |
| Nov 30 17:37 | Nov 30 17:42 | Degraded | Requests were a little slow while the last disconnected clients came back. |
| Nov 30 17:42 | Nov 30 17:45 | Partial outage | A second network change cut the connections of about one in seven connected clients at once; as they reconnected, requests again took up to about 2 seconds. |
| Nov 30 17:45 | Nov 30 17:48 | Degraded | Clients had reconnected, and requests were a little slow while our servers caught up. |

## Key moments

- Nov 30 17:09: Maintenance restarts the connection servers on four of our machines at once. Each old server hands its clients over to its replacement during the next several minutes.
- Nov 30 17:14: Requests start to slow as clients reconnect. Between 17:12 and 17:26 almost every connected client, about 238,000, reconnects, up to about 36,000 a minute. The extra traffic pushes the network equipment that links our servers past its limit, and it drops packets between our servers and our cache.
- Nov 30 17:24: The slowdown peaks: requests take up to about 1.9 seconds on average, and about 1 in 16 gets no answer.
- Nov 30 17:28: Requests are answered as usual again.
- Nov 30 17:33: A step moves one of the network addresses clients connect through from older network equipment onto our servers. The connections of about 47,000 clients still using it drop at once, and as they reconnect from 17:35, requests take up to about 2 seconds again for a minute or two.
- Nov 30 17:42: A second address move drops the connections of about 35,000 more clients, with the same effect.
- Nov 30 17:48: Requests are answered as usual again, and clients are back to their usual number by 17:49. No alert had fired: we found the slowdown two hours later, while investigating another outage.

## Who was affected

- **People using the apps and our API.** From 17:14 to 17:48, requests to our servers were slow, 0.5 to 1.9 seconds on average at the worst points instead of about 40 ms. Over the whole outage about 1 in 55 requests got no answer, against about 1 in 220 usually, and in the worst minute about 1 in 16. Almost every connected client was disconnected and reconnected once between 17:12 and 17:26, and the clients on the two moved addresses, about 47,000 and 35,000, were disconnected again at 17:33 and 17:42. At the lowest, at 17:35, about 4 in 5 of the usual number of clients were connected. The traffic our connection servers carried held at its usual level, except for about a minute after each address move, when it fell by up to a fifth. We did not measure how many people noticed.
- **Providers.** Up to about a fifth of providers were disconnected at a time while they reconnected: at the lowest, 82% of the usual number were connected at 17:17 and 83% at 17:43. Each time they were back within a few minutes.
- **Hosted proxy customers.** New connections through our hosted proxy waited longer for a route: up to about 1.4 seconds in the first wave, 2.2 in the second and 1.2 in the third, against 0.2 to 0.3 seconds usually. We did not measure failed proxy requests.
- **Data.** No data was lost.

## What went wrong

- **Too many clients moved.** One step restarted the connection servers on four machines in parallel, a group of servers every minute or so. Each restart waited only until the new server was ready, not until the old one had handed off its clients, so the hand-offs overlapped, and about 238,000 clients reconnected within 14 minutes. A reconnecting client signs in again and sets up its connections, and these requests piled up in our servers, up to 13,000 at once, so every request took longer, even simple ones. We already knew to restart these servers in small groups with time to settle in between. This time we ran the steps back to back, at our busiest time of day, to finish the maintenance quickly.
- **No network headroom.** The servers in our data center reach each other and our cache through network equipment that forwards their traffic in software, and at that hour it was already near its limit. The reconnects doubled the data our cache sent and added about a fifth to the packets on our internal network, to about 2.5 million a second, and packets between our servers and our cache were lost: our servers resent about three times as many packets as usual, and every lost packet made a request wait. Our database and the servers themselves had capacity to spare. We believe the equipment dropped the packets, because it is the one device on all of the affected paths and our servers' own network cards dropped none, but we don't record its counters, so we can't confirm it.
- **Address moves cut connections.** Two later steps moved network addresses that clients connect through from older network equipment onto our servers. Before each move we stopped giving out the old address, but a connected client looks up our addresses again only when it reconnects, so about 47,000 and then about 35,000 clients were still on the old addresses and lost their connections at once when they moved.
- **Nothing alerted us.** None of our alerts watches how long requests take, how many go unanswered, or how many clients are connected, and the maintenance's own checks only confirmed that each step had applied. The slowdown went unnoticed during the maintenance, and we found it two hours later, while investigating another outage that evening.

## What we changed

- Planned (2026-11-30): Restart connection servers one small group at a time, and start the next group only when the last one has handed off its clients and requests are back to their usual speed.
- Planned (2026-11-30): Before moving a network address, move the connections still using it gradually, and move the address only when almost no clients are left on it.
- Planned (2026-11-30): Alert when requests are slow or go unanswered, or when the number of connected clients drops quickly, and watch those signals during any maintenance.

## Still open

- Move the traffic between our servers onto a hardware switch, so this equipment no longer forwards it in software.
- Record the network equipment's own packet counters, so we can measure where packets are lost.

Published 2026-11-30; last updated 2026-11-30.
