advertise_internal_ip: true on a use_external_ip SFU leaves some subscribers with zero downlink frames (v1.13.7)
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 45/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- aws, go, kubernetes
- 領域
- backend, networking
調査の方向性
Start by tracing how rtc.advertise_internal_ip and rtc.use_external_ip affect ICE candidate generation, then inspect candidate-pair logs for the SFU and Python SDK to compare affected and unaffected sessions. Reproduce with the listed v1.13.7 configuration and participant setup; done means subscribers receive downlink frames while the private candidate is advertised alongside the public one.
索引モデルが issue の本文から書いたものです。
説明
Describe the bug
With rtc.advertise_internal_ip: true (new in the config package pinned by v1.13.7) on a use_external_ip: true SFU, some participants connect and publish normally but receive no downlink media at all: the SFU creates the downtrack and the publisher keeps sending, yet zero frames reach the subscriber. Removing the option restored downlink immediately. Not root-caused; reporting because it blocks the obvious workaround for Go SDK participants behind NAT (see https://github.com/livekit/livekit/issues/4931).
Server
- Version: v1.13.7
- Environment: Kubernetes on AWS,
hostNetworkSFU pods,rtc.use_external_ip: true,rtc.interfaces.includesset to the primary interface, fixedudp_port,tcp_port: 0. The only candidate-list change with the option is an extra privatehost 10.x.x.x:<udp_port>candidate on the same socket, appended next to the public one.
Client
- Python SDK 1.1.13: every session on the flagged SFU pods hit a 120 s no-frame timeout (171/171 sessions OK on identical pods without the option).
- JS SDK: clients on some networks were affected (session counts up 2x with much shorter sessions, consistent with retries); JS clients on other networks and all Rust-SDK (libwebrtc) participants were unaffected.
To Reproduce
- livekit-server v1.13.7 with
use_external_ip: trueandadvertise_internal_ip: true. - Publish from one participant, subscribe from a Python SDK 1.1.13 participant over the internet.
- Subscriber connects, publisher stats show frames sent, subscriber receives none.
Expected behavior
Participants that cannot reach the private candidate ignore it and keep receiving media over the public one.
Additional context
Observed on two independent clusters within minutes of the rollout, with fresh API keys; reverted the same day. We can collect ICE candidate pair logs from the SFU and the Python client if useful.
- 主要言語
- Go
- スター
- 21.3k
- フォーク
- 2.4k
- 平均マージ
- 16時間 47分
- マージ済み PR(30日)
- 82
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートなし
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
livekit/livekit のほかの issue
-
Buffer.writeRTX drops the RTCP returned by calc, so NACKs for other lost packets are never sentオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 44/100
livekit/livekit#4982 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
Updating a SIP dispatch rule or inbound trunk to new trunks or numbers skips the conflict check対応中かも @RaphaelFakhri が 4 日前に担当しました。 オープン
難易度 3/5 1〜2日 初心者へのやさしさ 25/100
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 12/100
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 52/100
livekit/livekit#4959 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
livekit/livekit の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
limitlessprojects/Go-Hybrid#50 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
vinyldns/go-vinyldns#106 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
praetorian-inc/augustus#334 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
ClickHouse/clickhouse-go#2066 ·
メンテナーはふだん 1 日以内に返信