Agora SDK fails to establish UDP/TCP connection on Proton 10.0.4 in AWS EC2 environment
Description
We are experiencing consistent connection failures when running our application via Proton 10.0.4 in an AWS EC2 environment. The issue appears to affect Agora SDK’s ability to establish both UDP and TCP connections required for real-time communication.
Environment
Proton version: 10.0.4
Platform: AWS GameLift Stream
OS: Linux (Proton)
Instance type: g5.2xlarge (any instance type)
Network setup: Default VPC (fully open)
Agora SDK version: 4.5.1
Issue Details
Agora fails to connect to its signaling/media servers.
Both UDP and TCP transport attempts appear to fail.
No successful fallback is observed.
The issue occurs consistently across multiple runs.
Expected Behavior
Agora SDK should successfully establish a connection (UDP preferred, TCP fallback) and allow media streaming.
Actual Behavior
Connection attempts fail.
No media streams are established.
SDK reports network or transport-related errors.
Additional Notes
The same setup works correctly outside Proton (normal Windows EC2).
Cannot verify with older version, our game is playable starting 10.0.4.
EC2 security groups allow outbound traffic (all ports/protocols or at least required Agora ports).
No apparent firewall restrictions at the OS level.
User stays in the webrtc channel and transmits audio with no issues (if managed to connect), only video streaming has a problem of dropping connection
Connection might drop completely mid call
Questions
Are there known networking limitations or regressions in Proton 10.0.4 affecting UDP/TCP?
Is there any additional configuration required for Proton when running in cloud environments like EC2?
Are there recommended debugging flags or logs to further diagnose networking issues?
Reproduction Steps
Case 1:
Launch EC2 instance
Install and run application via Proton 10.0.4
Initialize Agora SDK
Attempt to join a channel
Observe connection failure
Case 2:
Launch EC2 instance
Install and run application via Proton 10.0.4
Initialize Agora SDK
Attempt to join a channel
If channel joined wait for few minutes
Get bitrate drop due to connection for video streaming being broken on UDP/TCP level and can no longer be established
Possible Related Areas based on AWS/Agora support
Proton networking layer
UDP socket handling
NAT traversal / STUN/TURN behavior
Please let me know if additional logs or diagnostics would help.
Title
Agora SDK fails to establish UDP/TCP connection on Proton 10.0.4 in AWS EC2 environment
Description
We are experiencing consistent connection failures when running our application via Proton 10.0.4 in an AWS EC2 environment. The issue appears to affect Agora SDK’s ability to establish both UDP and TCP connections required for real-time communication.
Environment
Issue Details
Expected Behavior
Agora SDK should successfully establish a connection (UDP preferred, TCP fallback) and allow media streaming.
Actual Behavior
Additional Notes
Questions
Reproduction Steps
Case 1:
Case 2:
Possible Related Areas based on AWS/Agora support
Please let me know if additional logs or diagnostics would help.