case studies from practice (general form only) · lesson 3 of 9 · sources checked 2026-11-20
empty proxy accounts that looked like weak browsers
This lesson tells the case of browser tools with low pass rates whose cause was a proxy refusal, and gives the triage that finds it.
status of this lesson: measured by mepurpose
A low pass rate for a browser tool looks like detection. But a proxy account with no credit refuses each request before it reaches the page, and the stored result can still blame the browser. If you publish that result, each reader gets the wrong cause.
objectives
- Name the first belief, the measurement, and the cause of the case.
- Identify what the proxy gateway, the target, and the stored result see when a proxy account has no credit.
- Separate a refusal of the proxy gateway from a block of the page before a result goes out.
- Write one shared list of refusal texts that the classifier and the alarm both read.
- Classify the error of the case, and select the earlier lessons that explain its mechanism.
new terms
how it works
The case has the six parts of The benchmark that caused its own detection (not yet published). It is a measurement error: the result gave the failure to the wrong part of the system.
the situation
The benchmark platform, my test system, publishes the pass rates of browser tools on test pages. Each attempt goes from the browser through a proxy to the page.
For example, a browser tool opens a test page through a proxy, and the page check gives pass or fail.
the first belief
The pass rates of some browser tools went down and stayed low. The first belief was that the detectors of the test pages caught these browsers.
For example, a browser tool that passed a page before now failed the same page. The belief gave that fail to the browser.
the measurement
The proxy gateway refused the requests of these attempts with status 407. The browser itself started and ran. The account behind the gateway was empty: it had no credit.
The charts in "Data" show what the platform recorded. One chart counts the refusal lines of the worker log by refusal text. The second chart counts the stored attempts with status 407.
the cause
The refusal was recorded against the browser. The stored row gave a fail to the browser tool, and no page saw a request.
For example, a row has the tool "browser 1", the result "fail", and the error text proxy refused the tunnel: status 407. The status comes from the proxy, not from the target.
A second fault hid the refusals. The engines print different error texts for one cause, and the refusal alarm knew only some of them. Thus the alarm missed the lines of the other texts.
Status 407 alone does not prove an empty account. A bad credential and a malformed user field can also give it. Thus the error text and the account state must both go into the diagnosis.
what each part sees
When a proxy account has no credit, each part of the path sees a different thing. For example, take one attempt of a healthy browser:
- The proxy gateway sees an account with no credit, and it refuses the request.
- The target sees no request at all.
- The stored result sees a fail of the browser, unless the system records the refusal on the proxy.
the correction
The correction puts each failure on the correct part of the system:
- An availability fact: the reason
proxy-rejectedon the proxy, not a fail of the browser. - A quarantine of the past rows. The rows stay in the store, but no published rate counts them.
- A check of the account before dispatch. When the gateway refuses the check, the jobs of that account wait.
- One shared list of refusal texts. The classifier and the alarm both read it, so a new text goes into both at one time.
In the stored data, no row with status 407 has a quarantine date. Thus each fail among these rows still counts against a tool.
the general lesson
Give each failure to the correct part of the system before you publish it. A low pass rate is a fact about the whole path, not only about the browser.
The check: before a result goes out, put each failed attempt through a triage tree. The first diagram shows it. For example, a capture of the tunnel exchange in your own lab shows if the status came from the proxy or from the page.
The tree asks five questions in this order:
- Did the tool start? A no gives the availability fact "tool did not start".
- Did the proxy gateway accept the request? A no gives the availability fact
proxy-rejected. - Is the egress blocked? The egress is the network path through which a request leaves the client side. A yes is not a result of the tool.
- Did the page give a block? A yes is the outcome "page block".
- Is the result readable? A yes gives the outcome pass or fail. A no goes to a person.
More detail on the triage tree is in Failure triage: attribution before publication.
the two sides
| automation side | detection side |
|---|---|
| The operator read low pass rates as detection of the browser. The stored result gave a refusal of the proxy to the browser tool. | The proxy gateway sees an account with no credit. The target sees no request at all. No detector made a decision. |
design decisions
| option | gain | cost | when it is correct |
|---|---|---|---|
| Record each failure as a fail of the tool | Simple | A proxy refusal goes into the result as detection. | Never |
| An availability fact with a closed list of reasons | The pass rate counts only attempts that reached the page. | One more record and one more counter | Each system that publishes a pass rate |
| Read status 407 as an empty account | Fast | A bad credential gives the same status. | Never alone. Read the error text and the account state. |
| A list of refusal texts in the alarm and a different list in the classifier | Each part can change alone. | The two lists drift apart, and the alarm misses texts. | Never |
| One shared list of refusal texts | A new text goes into the alarm and the classifier at one time. | One more file that two parts read | Each alarm that reads error texts |
| A delete of the past rows | The bad rows go away. | No record of the error stays. | Never |
| A quarantine of the past rows | No published rate counts the rows, and the record stays. | Each rate must read the quarantine mark. | Each correction of stored results |
diagram
The first diagram is the triage tree for one failed attempt.
triage of one failed attempt before a result goes out
The second diagram gives the six parts of a case.
the six parts of a case, in reading order
code example
The example keeps one list of refusal texts for the classifier and for the alarm. The texts and the log lines are synthetic, and the code sends no request.
Keep one list of proxy refusal texts for the classifier and the alarm filter. Show that the two agree on a synthetic log.
// One shared list of proxy refusal texts. The classifier and the alarm filter
// both read this list, so a new text goes into both at one time.
// The texts and the log lines are synthetic.
const PROXY_REFUSAL_TEXTS: readonly RegExp[] = [
/proxy refused the tunnel: status 407/i,
/tunnel failed with 407/i,
/proxy auth refused/i,
/upstream proxy said 407/i,
];
const isProxyRefusal = (line: string): boolean => PROXY_REFUSAL_TEXTS.some((t) => t.test(line));
// The classifier: a refusal is an availability fact on the proxy axis,
// not a fail of the browser.
function classify(line: string): "proxy-rejected" | "outcome" {
return isProxyRefusal(line) ? "proxy-rejected" : "outcome";
}
// The alarm filter: counts refusal lines with the same list.
function alarmCount(lines: string[]): number {
return lines.filter(isProxyRefusal).length;
}
const log: string[] = [
"engine 1: proxy refused the tunnel: status 407",
"engine 2: tunnel failed with 407",
"engine 3: upstream proxy said 407",
"engine 1: page loaded, check result fail",
"engine 2: job complete",
];
for (const line of log) console.log(`${classify(line).padEnd(14)} ${line}`);
const classified = log.filter((l) => classify(l) === "proxy-rejected").length;
console.log(`classifier refusals: ${classified}, alarm refusals: ${alarmCount(log)}`);
console.log(classified === alarmCount(log) ? "alarm and classifier agree" : "alarm and classifier differ");output
The class of each of five synthetic log lines, the two refusal counts, and the result of the compare.
proxy-rejected engine 1: proxy refused the tunnel: status 407
proxy-rejected engine 2: tunnel failed with 407
proxy-rejected engine 3: upstream proxy said 407
outcome engine 1: page loaded, check result fail
outcome engine 2: job complete
classifier refusals: 3, alarm refusals: 3
alarm and classifier agreeThe output shows three refusal lines with three different texts. The classifier and the alarm count the same lines, because they read one list.
data
one refusal cause with four error texts
status of this figure: measured by me
source: Benchmark platform, data (my test system): refusal lines of the worker log; date 2026-11-16; sample of 453; condition: Counts of log lines of one audit window. The refusal text is not in the later stored data.
data table
| error text | log lines |
|---|---|
| refusal text 1 | 192 |
| refusal text 2 | 119 |
| refusal text 3 | 119 |
| refusal text 4 | 23 |
These are measured values of the benchmark platform. The chart counts the refusal lines of the worker log for each refusal text. The four texts name one cause. Thus a filter that knows only some of the texts misses the lines of the others. The same log lines are in a different chart of Outcome alarms and the audit of production (not yet published).
attempts with a refusal status by provider
status of this figure: measured by me
source: Benchmark platform, data (my test system): attempts with a proxy refusal status; date 2026-11-03; sample of 1,291; condition: Attempts whose stored reason names status 407. None of these rows has a quarantine date.
data table
| provider | attempts |
|---|---|
| provider 1 | 965 |
| provider 2 | 325 |
| provider 3 | 1 |
These are measured values of the benchmark platform. The chart counts the stored attempts whose reason names status 407, for each provider. Status 407 comes from the proxy, thus these attempts did not reach a page.
failure modes
| problem | cause | correction |
|---|---|---|
| Browser tools publish low scores, and the pages did not change. | The gateway refused, and the system recorded the attempt against the browser. | Record the availability fact proxy-rejected on the proxy. |
| The refusal alarm sees only some of the refusals. | The engines print different texts for one cause, and the alarm knows only some texts. | Keep one shared list of refusal texts for the alarm and the classifier. |
| Old rows with status 407 still count in the pass rate. | The correction did not quarantine the past rows. | Quarantine each past row with the refusal, and keep the record. |
| The jobs of an empty account fail again and again. | Dispatch sends jobs with no check of the account. | Check the account before dispatch, and let its jobs wait when the check fails. |
| A refusal and a page block look the same in a summary log. | The summary keeps only the result, not the status and the part that gave it. | Keep the status and the error text of each attempt, and capture the tunnel exchange in your lab. |
check questions
Name the first belief, the measurement, and the cause of the case of the empty proxy accounts.
sample answer
The first belief was that detectors caught the browser tools, because their pass rates were low. The measurement showed that the proxy gateway refused the requests with status 407, and the browser itself ran. The cause: the system recorded the refusal as a fail of the browser.
A proxy account has no credit. What does the target see?
- A request with a bad credential
- No request at all
- A request from a weak browser
- A burst of requests from one exit
answer
b. No request at all
The proxy gateway refuses the request before it goes on. Thus the target sees no request.
An attempt has the error text proxy refused the tunnel: status 407. Where does it go in the triage tree?
- Outcome: page block
- Unknown: a person gives the class
- Availability fact: the tool did not start
- Availability fact: the gateway refused
answer
d. Availability fact: the gateway refused
Status 407 comes from the proxy, not from the page. The attempt is an availability fact with the reason proxy-rejected.
The classifier knows four refusal texts, and the alarm knows only some of them. Write the change that keeps the two in step.
sample answer
Put the refusal texts in one shared list, and let the classifier and the alarm both read that list. Then a new text goes into both at one time, and the alarm counts the same lines as the classifier.
What class of error is the case of the empty proxy accounts?
- A measurement error
- An economics error
- A design error of a detector
- An error of the test page
answer
a. A measurement error
The published result gave the failure to the wrong part of the system. That is a measurement error.
exercise
exercise Do this task on paper. Use only the synthetic attempts of the table. The tools and providers are synthetic. The alarm knows only the text proxy refused the tunnel: status 407.
| no. | tool | provider | tool started | error or result | stored result |
|---|---|---|---|---|---|
| 1 | browser 1 | provider A | yes | proxy refused the tunnel: status 407 | fail |
| 2 | browser 2 | provider A | yes | tunnel failed with 407 | fail |
| 3 | browser 1 | provider B | yes | block page | fail |
| 4 | browser 2 | provider B | yes | page check pass | pass |
| 5 | browser 3 | provider A | no | browser exited at launch | fail |
- Put each attempt through the triage tree of the first diagram.
- Write the class of each attempt: availability fact or outcome.
- Write the stored pass rate of browser 1 and of browser 2.
- Write the pass rate of browser 1 and of browser 2 after the triage.
- Write the number of refusal lines that the alarm sees, and the number that one shared list sees.
sample answer
The answer uses the triage tree and the shared list of "How it works".
Attempts 1 and 2 are availability facts with the reason proxy-rejected: the gateway refused. Attempt 5 is an availability fact: the tool did not start. Attempts 3 and 4 reached the page, thus they are outcomes.
The stored pass rate of browser 1 is 0 of 2, and of browser 2 it is 1 of 2. After the triage, browser 1 has 0 of 1, from the block page of attempt 3. Browser 2 has 1 of 1.
The alarm sees one refusal line, attempt 1. One shared list with both texts sees two lines, attempts 1 and 2.
sources
- My model of the triage of a failed attempt, availability facts, the quarantine of past rows, and one shared list of refusal texts, 2026-11 (not public).
- Benchmark platform, data (my test system): the refusal lines of the worker log by error text, and the stored attempts with status 407, 2026-11 (not public).