From: Juliusz Chroboczek <jch@irif.fr>
To: Jeroen van Veen <jvanveen@protonmail.com>
Cc: "galene@lists.galene.org" <galene@lists.galene.org>
Subject: [Galene] Re: Websocket close 1006 (abnormal closure): unexpected EOF
Date: Tue, 05 Jan 2021 15:42:02 +0100 [thread overview]
Message-ID: <87turv78ed.wl-jch@irif.fr> (raw)
In-Reply-To: <0-dxBS5LC_odE5dSkuOGwoOb2FmQ7PYcbBgSGpmtz2R1ek9xklqHKQ6UCO11J1JvU5np1csOcujLTfM3ZU_48ub3yZ1EQRcYuTbarD6EkN4=@protonmail.com>
> 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
next prev parent reply other threads:[~2021-01-05 14:42 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-05 10:56 [Galene] " Jeroen van Veen
2021-01-05 14:42 ` Juliusz Chroboczek [this message]
2021-01-05 14:52 ` [Galene] " Toke Høiland-Jørgensen
2021-01-05 18:16 ` Jeroen van Veen
2021-01-05 18:44 ` Michael Ströder
2021-01-05 21:49 ` Toke Høiland-Jørgensen
2021-01-08 13:19 ` Juliusz Chroboczek
2021-01-08 14:24 ` Michael Ströder
2021-01-08 14:58 ` Juliusz Chroboczek
2021-01-08 16:03 ` Michael Ströder
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://lists.galene.org/postorius/lists/galene.lists.galene.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87turv78ed.wl-jch@irif.fr \
--to=jch@irif.fr \
--cc=galene@lists.galene.org \
--cc=jvanveen@protonmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox