-
-
Notifications
You must be signed in to change notification settings - Fork 88
Open
Labels
Description
Description
It seems that my aiortc clients get disconnected from Stunner prematurely due to failed consent checks during a graceful shutdown period.
Steps to Reproduce
- I have an aiortc server using Stunner as TURN server in headless mode
- Stunner is running on GKE
- when GKE starts a deploy, Stunner enters graceful shutdown as expected, however aiortc consent checks begin failing and aiortc disconnects with "Consent to send expired" well before the Stunner pod exits
Timing in Stunner logs:
Jul 25 12:30:03.087
19:30:03.014008 main.go:171: stunnerd INFO: Normal exit on graceful shutdown
Jul 25 12:19:42.696
19:19:41.727628 main.go:180: stunnerd INFO: Canceling config loader
Jul 25 12:19:42.696
19:19:41.727574 main.go:175: stunnerd INFO: Commencing graceful shutdown with 26 active connection(s)
And aiortc consent checks fail at around 12:27, so ~3 minutes before stunnerd actually exits.
Expected behavior:
- STUNner pod keeps running for 1h or until the call ends
Actual behavior:
- aiortc client disconnects due to failed consent checks
Versions
Stunner 1.1.0
Info
Gateway API status
Operator logs
N/A
Reactions are currently unavailable