From mboxrd@z Thu Jan 1 00:00:00 1970 From: Toke =?utf-8?Q?H=C3=B8iland-J=C3=B8rgensen?= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=toke.dk; s=20161023; t=1610109629; bh=YSITqHlEA+57e8Wif/uPT1TlrewaclEqeHlyH4aK9lE=; h=From:To:Subject:In-Reply-To:References:Date:From; b=PdehLDti+YEni31Ak/OrHaLyNQsYf/gxzgu4JeMlP8P1wJsj+ydmvuao5e68gtyrZ LSSQcEPFHNy0v0VyyF+vMMX67nDxgT6JEQM44SXHkDSriecdv5c68EkED8Dy3utW3v KeUHoMgUxwexnSAGQA/ay8x2D6DEue5aF+0cBWvOvrAd6J/Pe8K8coIbOduLSMyWaK niBD2RVWy3EjqIsXz4niUasRx7Cr9Hci5Oxregfi75Jm9L7pZYI3kaBd8SIPlI08vN +1LtyjRvAGTV0VMcVkZjRhSanZLVwlYZprlN2zyJF6jMHD4IUQk7vA/tMXPCP4VtOB qqefaE8KnLPmg== To: Juliusz Chroboczek , galene@lists.galene.org In-Reply-To: <875z485swt.wl-jch@irif.fr> References: <875z485swt.wl-jch@irif.fr> Date: Fri, 08 Jan 2021 13:40:27 +0100 X-Clacks-Overhead: GNU Terry Pratchett Message-ID: <87wnwnha9w.fsf@toke.dk> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Message-ID-Hash: DNQWMW3HV77A3G6L6RW4MEJ7NXKBN4WU X-Message-ID-Hash: DNQWMW3HV77A3G6L6RW4MEJ7NXKBN4WU X-MailFrom: toke@toke.dk X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; suspicious-header X-Mailman-Version: 3.3.2 Precedence: list Subject: [Galene] Re: Logging List-Id: =?utf-8?q?Gal=C3=A8ne_videoconferencing_server_discussion_list?= Archived-At: List-Archive: List-Help: List-Post: List-Subscribe: List-Unsubscribe: Juliusz Chroboczek writes: > It turns out that Pion's logging is controlled by environment variables. > This is described here: > > https://github.com/pion/webrtc/wiki/Debugging-WebRTC > > Gal=C3=A8ne could potentially: > > - set the environment variables; > - hook into Pion's internals to redirect the log somewhere (to a web pa= ge?). > > Opinions? I just tried setting PIONS_LOG_INFO=3Dice and restarting. Which got me this: an 08 12:35:14 video galene[532657]: ice INFO: 2021/01/08 12:35:14 Setting = new connection state: Checking Jan 08 12:35:14 video galene[532657]: ice WARNING: 2021/01/08 12:35:14 ping= AllCandidates called with no candidate pairs. Connection is not possible ye= t. Jan 08 12:35:14 video galene[532657]: ice WARNING: 2021/01/08 12:35:14 ping= AllCandidates called with no candidate pairs. Connection is not possible ye= t. Jan 08 12:35:14 video galene[532657]: ice WARNING: 2021/01/08 12:35:14 ping= AllCandidates called with no candidate pairs. Connection is not possible ye= t. Jan 08 12:35:14 video galene[532657]: ice WARNING: 2021/01/08 12:35:14 ping= AllCandidates called with no candidate pairs. Connection is not possible ye= t. Jan 08 12:35:14 video galene[532657]: ice INFO: 2021/01/08 12:35:14 Ignorin= g remote candidate with tcpType active: tcp4 host 45.145.xx.xx:9 Jan 08 12:35:14 video galene[532657]: ice INFO: 2021/01/08 12:35:14 Ignorin= g remote candidate with tcpType active: tcp4 host 10.36.yy.yy:9 Jan 08 12:35:14 video galene[532657]: ice INFO: 2021/01/08 12:35:14 Ignorin= g remote candidate with tcpType active: tcp6 host 2a0c:4d80:zz:zz::2:9 Jan 08 12:35:14 video galene[532657]: ice INFO: 2021/01/08 12:35:14 Ignorin= g remote candidate with tcpType active: tcp4 host 45.145.xx.xx:9 Jan 08 12:35:14 video galene[532657]: ice INFO: 2021/01/08 12:35:14 Ignorin= g remote candidate with tcpType active: tcp4 host 10.36.yy.yy:9 Jan 08 12:35:14 video galene[532657]: ice INFO: 2021/01/08 12:35:14 Ignorin= g remote candidate with tcpType active: tcp6 host 2a0c:4d80:zz:zz::2:9 Jan 08 12:35:14 video galene[532657]: ice INFO: 2021/01/08 12:35:14 Ignorin= g remote candidate with tcpType active: tcp4 host 45.145.xx.xx:9 Jan 08 12:35:14 video galene[532657]: ice INFO: 2021/01/08 12:35:14 Ignorin= g remote candidate with tcpType active: tcp4 host 10.36.yy.yy:9 Jan 08 12:35:14 video galene[532657]: ice INFO: 2021/01/08 12:35:14 Ignorin= g remote candidate with tcpType active: tcp6 host 2a0c:4d80:zz:zz::2:9 Jan 08 12:35:14 video galene[532657]: ice INFO: 2021/01/08 12:35:14 Ignorin= g remote candidate with tcpType active: tcp4 host 45.145.xx.xx:9 Jan 08 12:35:14 video galene[532657]: ice INFO: 2021/01/08 12:35:14 Ignorin= g remote candidate with tcpType active: tcp4 host 10.36.yy.yy:9 Jan 08 12:35:14 video galene[532657]: ice INFO: 2021/01/08 12:35:14 Ignorin= g remote candidate with tcpType active: tcp6 host 2a0c:4d80:zz:zz::2:9 Jan 08 12:35:14 video galene[532657]: ice INFO: 2021/01/08 12:35:14 Setting= new connection state: Connected Jan 08 12:35:54 video galene[532657]: ice INFO: 2021/01/08 12:35:54 Setting= new connection state: Closed Which doesn't really tell me much. What's happening here, is the Turn server working? What's with the remote candidates being ignored? What would be most useful in terms of checking configuration is if Galene would *on startup* emit something like: Checking Turn server candidate turn.example.com:443?transport=3Dtcp: succes= s! for each configured TURN server. -Toke