From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: mail.toke.dk; spf=pass (mailfrom) smtp.mailfrom=irif.fr (client-ip=2001:660:3301:8000::1:2; helo=korolev.univ-paris7.fr; envelope-from=jch@irif.fr; receiver=) Received: from korolev.univ-paris7.fr (korolev.univ-paris7.fr [IPv6:2001:660:3301:8000::1:2]) by mail.toke.dk (Postfix) with ESMTPS id 3342B7C5544 for ; Tue, 5 Jan 2021 15:42:05 +0100 (CET) Received: from mailhub.math.univ-paris-diderot.fr (mailhub.math.univ-paris-diderot.fr [81.194.30.253]) by korolev.univ-paris7.fr (8.14.4/8.14.4/relay1/82085) with ESMTP id 105Eg40Q029920; Tue, 5 Jan 2021 15:42:04 +0100 Received: from mailhub.math.univ-paris-diderot.fr (localhost [127.0.0.1]) by mailhub.math.univ-paris-diderot.fr (Postfix) with ESMTP id 1503ABAB1D; Tue, 5 Jan 2021 15:42:04 +0100 (CET) X-Virus-Scanned: amavisd-new at math.univ-paris-diderot.fr Received: from mailhub.math.univ-paris-diderot.fr ([127.0.0.1]) by mailhub.math.univ-paris-diderot.fr (mailhub.math.univ-paris-diderot.fr [127.0.0.1]) (amavisd-new, port 10023) with ESMTP id gBVjxhUZ5V7b; Tue, 5 Jan 2021 15:42:02 +0100 (CET) Received: from pirx.irif.fr (unknown [78.194.40.74]) (Authenticated sender: jch) by mailhub.math.univ-paris-diderot.fr (Postfix) with ESMTPSA id 1F7B0BAB1A; Tue, 5 Jan 2021 15:42:02 +0100 (CET) Date: Tue, 05 Jan 2021 15:42:02 +0100 Message-ID: <87turv78ed.wl-jch@irif.fr> From: Juliusz Chroboczek To: Jeroen van Veen In-Reply-To: <0-dxBS5LC_odE5dSkuOGwoOb2FmQ7PYcbBgSGpmtz2R1ek9xklqHKQ6UCO11J1JvU5np1csOcujLTfM3ZU_48ub3yZ1EQRcYuTbarD6EkN4=@protonmail.com> References: <0-dxBS5LC_odE5dSkuOGwoOb2FmQ7PYcbBgSGpmtz2R1ek9xklqHKQ6UCO11J1JvU5np1csOcujLTfM3ZU_48ub3yZ1EQRcYuTbarD6EkN4=@protonmail.com> User-Agent: Wanderlust/2.15.9 (Almost Unreal) Emacs/27.1 Mule/6.0 MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (korolev.univ-paris7.fr [194.254.61.138]); Tue, 05 Jan 2021 15:42:04 +0100 (CET) X-Miltered: at korolev with ID 5FF47ABC.000 by Joe's j-chkmail (http : // j-chkmail dot ensmp dot fr)! X-j-chkmail-Enveloppe: 5FF47ABC.000 from mailhub.math.univ-paris-diderot.fr/mailhub.math.univ-paris-diderot.fr/null/mailhub.math.univ-paris-diderot.fr/ X-j-chkmail-Score: MSGID : 5FF47ABC.000 on korolev.univ-paris7.fr : j-chkmail score : . : R=. U=. O=. B=0.000 -> S=0.000 X-j-chkmail-Status: Ham Message-ID-Hash: UMLNSQNVB4D4WCCCFYKTRKYBILV74ZVY X-Message-ID-Hash: UMLNSQNVB4D4WCCCFYKTRKYBILV74ZVY X-MailFrom: jch@irif.fr 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 CC: "galene@lists.galene.org" X-Mailman-Version: 3.3.2 Precedence: list Subject: [Galene] Re: Websocket close 1006 (abnormal closure): unexpected EOF List-Id: =?utf-8?q?Gal=C3=A8ne_videoconferencing_server_discussion_list?= Archived-At: List-Archive: List-Help: List-Post: List-Subscribe: List-Unsubscribe: > I've been testing with Galene a bit, but noticed that I got disconnected > automatically after a while. Nginx timing out the websocket, perhaps? Could you please try with the following patch applied? diff --git a/rtpconn/webclient.go b/rtpconn/webclient.go index b651f57..577efba 100644 --- a/rtpconn/webclient.go +++ b/rtpconn/webclient.go @@ -905,7 +905,7 @@ func clientLoop(c *webClient, ws *websocket.Conn) error { if time.Since(readTime) > 90*time.Second { return errors.New("client is dead") } - if time.Since(readTime) > 60*time.Second { + if time.Since(readTime) > 20*time.Second { err := c.write(clientMessage{ Type: "ping", }) -- Juliusz