Record the transport failure when a report host cannot be reached #452
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/452"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from PastiiJay/klbf-lab. Originally posted by HandshakeHackin on 2026-12-01T17:20:11Z.
What this changes
Read the outcome of an HTTP request through its task awaiter so the launcher can log why a report host was unreachable. Socket failures include a language-independent error code. A timed-out request records the configured timeout, and the next host is still tried.
Why
In #420, three hosts logged the localized equivalent of “You cannot call a method on a null-valued expression.” I reproduced the same message from the v26.12.4 release script in its standalone upload runspace using a refused local connection and a timed-out local HTTP server.
Verification
Using Linux PowerShell 7.4.19 and synthetic bytes on loopback, the candidate recorded ConnectionRefused for both successive hosts in en-US and zh-CN. A second test exercised a one-second timeout, an HTTP 500 response and a successful third host in order. It returned the successful link. Stock reported the same generic null error for the timeout. The HTTP test used no external host or player data. Native Windows verification is pending.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.