The console says an account was refused only when the bus refused it

"authorization" alone matched a tool's own answer mentioning the word — the
runtime refusing a state value with an Authorization header read as
"this account may not call".
This commit is contained in:
jochen
2026-10-04 11:31:42 +02:00
parent 670a7884ff
commit 8405e32efc
2 changed files with 27 additions and 2 deletions
+5 -2
View File
@@ -110,8 +110,11 @@ func subjectListed(name, node string, l *Listing) string {
var (
noResponders = regexp.MustCompile(`(?i)no responders|503`)
refused = regexp.MustCompile(`(?i)permissions violation|authorization`)
timedOut = regexp.MustCompile(`(?i)timeout`)
// The bus's own two refusals, by their whole phrase. "authorization" alone also matched a tool's own
// answer that merely mentions the word — the runtime refusing a state value with an Authorization
// header (novox/hq ADR 0201) read as "this account may not call", which sent the reader the wrong way.
refused = regexp.MustCompile(`(?i)permissions violation|authorization violation`)
timedOut = regexp.MustCompile(`(?i)timeout`)
)
// whyItFailed says why a call failed, so the remedy is in the words.