Valve GameNetworkingSockets P2P Connectivity Issues
Overview of P2P Connectivity Failures
Users have reported significant failures in Peer-to-Peer (P2P) connectivity within Valve's GameNetworkingSockets library, leading to a degradation in gaming performance. When P2P links fail to establish, the system falls back to high-latency relay servers (SDR), which significantly increases ping and reduces the quality of experience for players.
Technical Root Cause and Symptoms
Investigations into the issue, primarily tracked via GitHub issue #398 in the ValveSoftware/GameNetworkingSockets repository, indicate that the STUN (Session Traversal Utilities for NAT) protocol is failing. STUN is critical for P2P link establishment as it allows devices to discover their public IP addresses and navigate NAT (Network Address Translation) boundaries.
Key Symptoms
- Failure to establish P2P links: Direct connections between players are not being formed.
- Fallback to SDR: Connections are routed through Steam Datagram Relay (SDR) servers, which may be located far from the users' physical locations.
- Increased Latency: Players experience high ping, particularly in regions where local SDR servers are unavailable, forcing connections to route through distant data centers (e.g., Russian players routing through Sweden).
Identified Workarounds
Community members have identified a temporary workaround for at least three games. This involves manually substituting older versions of the steamwebrtc.dll file. Specifically, users have found success by copying an older version of this DLL into the game's ./binaries folder to bypass the current broken state.
Regional Impact and Global Scope
While initial reports focused on major P2P issues in Israel and other Middle Eastern countries, further evidence suggests the problem is worldwide.
Regional Variations
- Middle East and China: Users in these regions reported issues early, possibly due to a more aggressive network filtering environment or a lack of local SDR relay servers, making the latency impact more severe.
- Global Reach: Confirmations from users in Europe and Japan indicate that the P2P failure is not isolated to specific governments or ISPs, but is a systemic issue within the Valve networking stack.
Community Discussion and Theories
Technical discussions among users have highlighted several theories regarding the cause of the failure:
"Look at the timing and affected countries... STUN in the otherhand is unencrypted and the protocol itself can be used for DDoS reflection/amplification. I would not be surprised if this is somehow weaponized and/or blocked/analyzed in real time that then breaks the connectivity."
Other users have speculated that the issue may be linked to a Steam update released in March, suggesting that a regression in the Valve software update caused the current instability. Some users also noted that games like Street Fighter 6 may have transitioned from P2P to relay-only connectivity as a result of these underlying infrastructure issues.