# Empty location list

> An update to the IP-address data we use to screen providers hid a third to half of the providers new connections could use from 11:44 to 22:20, and left some countries with none. Inside that stretch, a network stall of about 100 seconds at 11:47 left stuck database sessions holding our background tasks for two hours, and from 12:17 to 13:49 the location list was empty and most new connections failed. Outside those two hours, connections and traffic stayed at their usual levels.

Started Nov 29 11:44 UTC; ended Nov 29 22:20 UTC, 10 h 36 min. Worst level: Major outage.
https://ur.io/outages/2026-11-29

Our nightly release, which went out although automatic deploys were meant to be off, brought an update to the IP-address data we use to screen providers. From 11:44 it hid a third, and later half, of the providers that new connections could use, and some countries, Brazil among them, were left with none. At 11:47 a stall of about 100 seconds on our internal network cut our servers off from each other, the database and the cache included. Connections dropped and came back within minutes, but database sessions the stall had cut off stayed open and held the locks our background tasks need, so the tasks that refresh the location list could not run. At 12:17 the cached list expired, and until 13:49 it was empty in the apps and on ur.io, and connected clients fell to about half of normal. At 13:49 a two-hour timeout closed the stuck sessions, the tasks resumed, and connections were back to normal by 14:10. A fix that ends such sessions within two minutes ships with our next release. The previous IP-address data was back on our servers at 19:49, and the hidden providers were back by 22:20.

## Phases

| From (UTC) | To (UTC) | Level | What people saw |
|---|---|---|---|
| Nov 29 11:44 | Nov 29 11:48 | Degraded | An IP-address data update hid about a third of the providers new connections could use. |
| Nov 29 11:48 | Nov 29 11:52 | Major outage | A network stall of about 100 seconds cut our servers off from the database and the cache; connections dropped and almost no new ones opened. |
| Nov 29 11:52 | Nov 29 12:17 | Partial outage | Connections came back, but stuck database sessions kept the tasks that refresh the location list from running, and new connections ran at about three-quarters of normal. |
| Nov 29 12:17 | Nov 29 13:49 | Major outage | The location list expired and was empty for everyone; most new connections failed, and connected clients fell to about half of normal. |
| Nov 29 13:49 | Nov 29 14:10 | Partial outage | The stuck sessions timed out, the tasks resumed and the list came back; connections recovered over about 20 minutes. |
| Nov 29 14:10 | Nov 29 22:20 | Degraded | Connections were back to normal, but a third to half of the providers new connections could use were still hidden, and some countries had none. |

## Key moments

- Nov 29 10:58: Our nightly release, deployed although automatic deploys were meant to be off, brings the IP-address data update to our servers. It starts hiding providers.
- Nov 29 11:04: An alert fires: the update would hide more than half of the providers new connections can use.
- Nov 29 11:44: The update now hides about a third of those providers, and later about half.
- ~Nov 29 11:47: A network stall of about 100 seconds cuts our servers off from the database and the cache. Database sessions it cuts off stay open, holding the locks the tasks that refresh the location list need.
- Nov 29 12:17: The cached location list expires, and the list is empty for everyone.
- Nov 29 12:25: The first customer reports arrive. We first read them as local problems.
- Nov 29 13:49: A two-hour timeout closes the stuck sessions. The tasks resume in the same second, and the list is back.
- ~Nov 29 14:00: We find the two-hour stall from customer reports, after service has recovered.
- Nov 29 19:49: The previous IP-address data is back on our servers, and they start reloading it, one group at a time.
- Nov 29 22:20: The last servers reloaded it at 22:07, and the hidden providers are back.

## Who was affected

- **People using the apps.** From 12:17 to 13:49 the location list was empty in the apps and on ur.io, most new connections failed, and connected clients fell to about half of normal. Connections already open kept carrying traffic, at about two-thirds of normal or more. From 11:44 to 22:20 new connections could choose from only half to two-thirds of the usual providers, and some countries, Brazil among them, had none for hours. We did not measure how many people chose an affected country.
- **Providers.** Providers stayed connected throughout. From 11:44 to 22:20 up to about 27,000 more providers than usual were held back from new connections.
- **Data.** We know of no lost data.

## What went wrong

### Chapter 1: The empty list

- **An internal network stall.** From 11:47 the network inside our data center stalled for about 100 seconds, and every server lost touch with the others, the database and the cache included. We had seen stalls of a few seconds before; this one was far longer. New network equipment to end these stalls is planned.
- **Stuck database sessions.** Each of our background tasks holds a lock on a database session while it runs. The stall cut about 80 of those sessions off without the database noticing, so it kept them open, with their locks, until the operating system's two-hour default timeout closed them at 13:49. Until then our servers skipped every task whose lock was held, among them the tasks that keep the location list fresh, and 23 other kinds of background work. Everything else recovered within minutes.
- **No last-good list.** The location list is rebuilt every few seconds and cached for 30 minutes. When the cache expired at 12:17, our servers answered with an empty list rather than the last good one, so a stuck background task became an outage for everyone.
- **We noticed late.** Customer reports began at 12:25. We first read them as local problems, and found the stall from those reports at about 14:00, after service had recovered.

### Chapter 2: Hidden providers

- **Misclassified shared addresses.** We screen providers with a database of IP-address ranges built from public lists. A change to how we build it began treating every address on a public list of hijacked address blocks, and every exit address of two privacy relay services, as risky. Providers whose addresses fell in that space were held back from new connections: about 32,000 at the worst, against about 5,000 normally.
- **An unintended release.** Our nightly build is meant to publish without deploying while we hold releases. On Nov 29 it deployed to all our services between 10:40 and 11:01, so the data update reached production in one step, without the staged rollout we use for changes like it. We have not yet found why the hold did not apply.
- **A slow restore.** An alert fired at 11:04 and said only a corrected release would fix it, but we only started on it at about 18:40. The previous data was back on our servers at 19:49. Our servers load this data when they start, so each one had to restart, and the last ones did at 22:07; a restart step that left old processes running cost about an hour of that.

## What we changed

### Chapter 1: The empty list

- In progress (2026-11-29): Make database sessions cut off by a network failure end within two minutes instead of two hours, so a stall can't hold our background tasks for long; for this outage, the tasks would have resumed at about 11:53. The fix is ready and ships with our next release.

### Chapter 2: Hidden providers

- Done (2026-11-29): Restored the previous IP-address data on every server; the hidden providers were back by 22:20.
- Done (2026-11-29): The database build no longer treats every address on the hijacked-address list as risky.
  - [urnetwork/server@872d1e2](https://github.com/urnetwork/server/commit/872d1e2584a6): Merge fix/arindb-drop-not-pinned-1129: arindbctl stops pinning the Spamhaus DROP lists as address-level risk; the relay egress geofeeds stay pinned (owner 2026-11-29: stop pinning DROP)

## Still open

- Replace the network equipment behind the stalls on our internal network.
- Keep serving the last good location list when it can't be refreshed, instead of an empty one.
- An alert within minutes when the background tasks stop, or when the location list comes back empty.
- Make sure our nightly build can't deploy while releases are on hold.

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