What changed on the portal
I build title-research software for an abstractor. Much of the work is searching a county's land records: who sold what to whom, which liens were released, which owners have died. One of the county portals it searches is the subject of this post.
Every night, my software ran three jobs against that portal. It built first-run search lists for cases that had none. It brought each saved search forward to the newest records, which abstractors call a date-down. And it checked names that were due for estate and vital records. The abstractor read the results in a morning briefing email.
On September 28, every new session on the portal started landing on a verification page instead of the search. At first it was a typed code in an image. By October 17 it was a slider you drag to the end of a track. The county's notice said it was added because of scripting tools and denial-of-service attacks.
The nightly run stopped working that night.
The tempting move
The obvious engineering reaction is to treat the check as an obstacle. It is a widget. Widgets can be studied.
I decided against it, and the reason is not technical. A human-verification check is the site owner telling you, in the plainest way they have, that they want a person at the keyboard. The county put it there on purpose, and said why. Software that gets around it is software doing exactly what the owner said they do not want. That is true however polite the request rate is, and however public the records are.
There is also a practical point. A portal operator who sees automated traffic slip past the check will make the check harder, or block the source outright. Then the abstractor loses the portal during business hours too.
The line I hold: the software never completes the check. A person does. The software works only inside the session the county then grants, and only for as long as the county keeps it open.
Keep the human in the one step
The check takes a person a few seconds. The retrieval behind it takes the software much longer, and that part is tedious for a person and well suited to software. So the design splits the work at the gate.
The abstractor completes the check from inside my app. The county grants a session, the same as it would in any browser. The app then runs the same three jobs the nightly used to run, inside that one session, while the abstractor does other work.
A few rules keep that honest:
- Nothing about the person's action is kept. It is used once for that check and discarded. It is never written to disk, the database or a log, so nothing exists that code could reuse later.
- No keep-alive. The county's session expires after about an hour idle. The app treats it as expired a few minutes early and does nothing to stretch it. When it ends, the next run asks a person again.
- A gated portal stops the run. If the session expires partway through, the run ends with a clear message instead of failing through every remaining case. The abstractor unlocks again and re-runs.
- The real fix stays open. Asking the county or the portal's vendor for an allow-list or a subscriber account is the only path back to unattended runs. Nothing in the design gets in the way of that.
Making the attended session cheap
An attended step only works if it is easy. If it takes ten clicks, people skip it.
The app has a Today page the abstractor already opens. A Portal card appears at the top of it only when it matters: when the portal is gated, when it is unlocked, or while a run is going. Gated, it says the portal is behind the county's verification check and offers one button, Unlock. That opens the check. Once it passes, the card shows when the session will lapse and a second button: run the date-down for all active cases. Progress shows live. The results land where the morning briefing already read them, so nothing downstream changed.
Health checks had to learn the difference too. Before, a gated portal looked like a broken one: a browser waited out a 60-second timeout and reported failure. Now a plain web request checks whether the portal redirects to the verification page, with no browser at all. A separate hourly check reports one of three states, up, gated or down, and emails on any change. A change from gated to up is the signal that the county lifted the check.
What it cost
- No more overnight work. The date-downs now happen when someone is at the desk, not while everyone sleeps.
- A person has to show up. If the abstractor does not unlock, nothing runs for that county that day.
- Runs are bounded by the session. I do not know whether the county's session has a hard limit beyond the idle timer. The run stops cleanly if it does.
It was still the right call. The work still gets done, in the same place, with the same results, and the abstractor spends seconds on the one part a person should do. The county gets what it asked for: a person behind every session.
Two mistakes I made along the way
The briefing went with the nightly. The morning email was sent by the same nightly job that did the searches. When I disabled the job after the gate appeared, the briefing stopped too. When I found it on October 17, it had not gone out since September 28. It is now its own scheduled job, email only, with no portal access.
I restarted the app in the middle of a run. The first real unlock passed on the first try. The run then completed 55 searches in 15 minutes, until I deployed an update and restarted the app. The session and the run's progress live in memory, so both were gone. The rule now: check the run's status before any restart.
If you build against someone else's portal
- Treat a human-verification check as a decision by the owner, not a bug to fix.
- Find the one step that needs a person, and make that step take seconds.
- Do the long work inside the session they grant, and let it end when they end it.
- Teach your health checks the difference between gated and down.
- Ask the operator for proper access. That is the only honest route back to unattended runs.