You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@guacamole.apache.org by "Mike Jumper (Jira)" <ji...@apache.org> on 2023/05/04 23:58:00 UTC

[jira] [Closed] (GUACAMOLE-1687) Connections in background tabs may disconnect if throttled by Chrome/Safari

     [ https://issues.apache.org/jira/browse/GUACAMOLE-1687?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mike Jumper closed GUACAMOLE-1687.
----------------------------------
    Resolution: Fixed

> Connections in background tabs may disconnect if throttled by Chrome/Safari
> ---------------------------------------------------------------------------
>
>                 Key: GUACAMOLE-1687
>                 URL: https://issues.apache.org/jira/browse/GUACAMOLE-1687
>             Project: Guacamole
>          Issue Type: Bug
>          Components: guacamole-common-js
>            Reporter: Mike Jumper
>            Assignee: Mike Jumper
>            Priority: Trivial
>             Fix For: 1.5.2
>
>
> Chrome, the various Chromium variants, and Safari will heavily throttle JavaScript timers within background tabs and windows. This prevents the tunnel from issuing its keep-alive ping and may result in a disconnect. See:
> * https://developer.chrome.com/blog/timer-throttling-in-chrome-88/
> * https://github.com/SignalR/SignalR/issues/4536
> It's possible that there is a way to work around this and continue sending keep-alives in the background, such as by simply changing the originating event of those timers:
> https://bugs.chromium.org/p/chromium/issues/detail?id=1186569#c3



--
This message was sent by Atlassian Jira
(v8.20.10#820010)