Class ConnectionTrouble
Explains a sign-in connection that failed before the login server answered, and links the player to the connection help page.
public static class ConnectionTrouble
- Inheritance
-
ConnectionTrouble
- Inherited Members
Remarks
The game connects only over QUIC (WebTransport), with no fallback. Players whose security software or network blocks it otherwise see a generic "could not sign in". The transport records how the attempt went (FishNet.Transporting.WebTransport.ClientConnectDiagnosis), and this turns that into an explanation.
An open time under LocalOpenMilliseconds cannot be a real server: a QUIC handshake plus the WebTransport request is at least one round trip. The confirmed case (ESET, 2026-11-12) answered in about 1 ms. A player on the same machine or network as the server can also open that fast; they see this only if that server then says nothing.
Fields
HelpButtonLabel
The accept button's label on a trouble notice.
public const string HelpButtonLabel = "Get help"
Field Value
HelpPath
The help page, relative to the play host.
public const string HelpPath = "/help/connection.html"
Field Value
LocalOpenMilliseconds
An open faster than this is taken to be local interception.
public const double LocalOpenMilliseconds = 3
Field Value
Methods
Classify(ClientConnectDiagnosis)
Classifies a diagnosis. Pure, for tests.
public static ConnectionTroubleKind Classify(ClientConnectDiagnosis diagnosis)
Parameters
diagnosisClientConnectDiagnosis
Returns
HelpUrl(string, ConnectionTroubleKind, string)
The help-page link for kind, pointing at the product's section when one is known.
public static string HelpUrl(string playHost, ConnectionTroubleKind kind, string productAnchor)
Parameters
playHoststringkindConnectionTroubleKindproductAnchorstring
Returns
Message(ConnectionTroubleKind, string, bool)
The player-facing explanation. productName is the detected antivirus, or null.
public static string Message(ConnectionTroubleKind kind, string productName, bool helpLink = true)
Parameters
kindConnectionTroubleKindWhat went wrong.
productNamestringThe detected antivirus, or null.
helpLinkboolWhether the notice carries the help button the text refers to.
Returns
TryMatchProduct(IReadOnlyList<string>, out string, out string)
The first recognised antivirus product among names, as its help-page anchor and display name.
public static bool TryMatchProduct(IReadOnlyList<string> names, out string anchor, out string displayName)
Parameters
namesIReadOnlyList<string>anchorstringdisplayNamestring
Returns
Remarks
Microsoft Defender is skipped: it registers alongside every other product and does not inspect connections. Pure, for tests.
TryNotify(NetworkManager, out ConnectionTroubleKind)
Explains the client's last connection attempt if it failed before the server answered.
public static bool TryNotify(NetworkManager networkManager, out ConnectionTroubleKind kind)
Parameters
networkManagerNetworkManagerThe client's network manager.
kindConnectionTroubleKindWhat went wrong, or None.
Returns
- bool
True when a notice with a help link was queued.