The first ping resets it, but the second one times out as it missed the
30sec window.



Sebastian Wagner
Director Arrakeen Solutions
http://arrakeen-solutions.co.nz/
<https://www.youracclaim.com/badges/da4e8828-743d-4968-af6f-49033f10d60a/public_url>
<https://www.youracclaim.com/badges/b7e709c6-aa87-4b02-9faf-099038475e36/public_url>


On Thu, 24 Sep 2020 at 14:22, Maxim Solodovnik <solomax...@gmail.com> wrote:

> OK with me :)
>
> still unclear why timeout happens after 60sec< and not 30 .....
>
> On Thu, 24 Sep 2020 at 09:19, seba.wag...@gmail.com
> <seba.wag...@gmail.com> wrote:
> >
> > The current ping keep alive in main.js is set to 30sec:
> >
> > self.ping = *function*() {
> >
> > setTimeout(() => OmUtil.sendMessage({type: 'ping'}), 30000);
> >
> > };
> >
> > Which happens to be the exact same default connection timeout on AWS
> ELB's.
> >
> > So the connection actually timeout after 60 sec (on the 2nd ping).
> >
> > I'm relatively certain just increasing the default would work. But should
> > we maybe make this value configurable in OpenMeetings?
> > I can imagine a lot of load balancers will have the same issue or a need
> to
> > configure the ping timeout.
> >
> > Thanks,
> > Seb
> >
> > Sebastian Wagner
> > Director Arrakeen Solutions
> > http://arrakeen-solutions.co.nz/
> > <
> https://www.youracclaim.com/badges/da4e8828-743d-4968-af6f-49033f10d60a/public_url
> >
> > <
> https://www.youracclaim.com/badges/b7e709c6-aa87-4b02-9faf-099038475e36/public_url
> >
>
>
>
> --
> Best regards,
> Maxim
>

Reply via email to