Page 1 of 1

Chrome timing out vicidial users again, looking for help

PostPosted: Tue Apr 27, 2021 8:21 am
by tomatogoatee
I posted previously about a problem with Vicidial logging users out at random. It turned out to be a "feature" in Chrome to curb javascript processing the background tabs and was easy to fix by disabling the intensive-wake-up-throttling flag in Chrome.

The latest update to Chrome (90) has removed that flag as an option, so our users are once again getting logged out if they leave the Vicidial tab out of focus too long. Does anyone know what setting might need to be modified in this latest version?

Re: Chrome timing out vicidial users again, looking for help

PostPosted: Tue Apr 27, 2021 8:51 am
by mflorell
Looks like you might have to go with one of the alternate options listed in our document on this,
http://vicidial.org/docs/WEB_BROWSER_JA ... TTLING.txt

1. Switch to Firefox
3. Use a WebRTC phone for your agent phone connection(like VICIphone)
4. Enable the VICIdial System Settings for "Agent Hidden Browser Sound"
5. Switch the VICIdial System Setting for "Agent Screen Timer" to 'EventSource'

Re: Chrome timing out vicidial users again, looking for help

PostPosted: Tue Apr 27, 2021 10:43 am
by mflorell
After some searching around, it seems that you can still access that option, if you enable old flags:

You will first need to enable enable "temporary-unexpire-flags-m88" or "temporary-unexpire-flags-m89", relaunch your Chrome browser, then follow the instructions for "BEFORE CHROME 90" below.
- Open your Chrome Web Browser
- in the Address bar at the top, put the following(without quotes), then press the "Enter" key: "chrome://flags/#temporary-unexpire-flags-m88"
- You will see "Temporarily unexpire M89 flags" highlighted with a pull-down menu on the right side of the screen
- Select the "Enabled" option from the pull-down menu
- You will see a message at the bottom of your screen: "Your changes will take effect the next time you relaunch Google Chrome." with a button to "Relaunch"
- Click on the "Relaunch" button and the old flags will now be visible in Chrome on this computer

OR, an alternative option which will require Administrative rights on the computer, is to disable the "IntensiveWakeUpThrottlingEnabled" policy on your computer,
https://chromeenterprise.google/policie ... ingEnabled

For Windows workstations, this means adding a new DWORD Registry entry:
- Open RegEdit(Registry Editor) on your Windows computer
- Go to "HKEY_LOCAL_MACHINE/SOFTWARE/Policies/Google/Chrome"
NOTE: You may need to create the "Google" and then "Chrome" Keys yourself
- Create a new DWORD entry from the highlighted "Chrome" Key, with a Name of "IntensiveWakeUpThrottlingEnabled"
NOTE: this new DWORD should automatically be set with a value of '0' (disabled) after you create it
- Close out all Chrome web browser windows and then open Chrome again and test that it is working


I have also updated the doc to reflect the new instructions above,
http://vicidial.org/docs/WEB_BROWSER_JA ... TTLING.txt

Re: Chrome timing out vicidial users again, looking for help

PostPosted: Tue Apr 27, 2021 1:51 pm
by carpenox
Using Christians version of the Viciphone at version 2.1 will stop this issue as well. It has a timer on the webphone itself that runs

https://github.com/ccabrerar/ViciPhone

Image

hope this helps

-Nox

Re: Chrome timing out vicidial users again, looking for help

PostPosted: Thu Jun 17, 2021 9:55 am
by jessiekidfernando
Hello even after doing these instructions. I can still see that the agent's status being automatically set to PAUSE after a couple of minute.


2. MANUALLY DISABLE THE CHROME THROTTLING FLAG, OR REGISTRY ENTRY, ON EACH OF YOUR AGENT'S WEB BROWSERS

NOTE: The following steps must be done on every computer that you want to disable the Chrome browser Intensive Javascript Throttling on:
NOTE: There are different instructions for this depending on the version of Chrome web browser you are using.

AFTER CHROME 90 INSTRUCTIONS(after April 26th, 2021 builds):

You will first need to enable enable "temporary-unexpire-flags-m88" or "temporary-unexpire-flags-m89", relaunch your Chrome browser, then follow the instructions for "BEFORE CHROME 90" below.
- Open your Chrome Web Browser
- in the Address bar at the top, put the following(without quotes), then press the "Enter" key: "chrome://flags/#temporary-unexpire-flags-m88"
- You will see "Temporarily unexpire M89 flags" highlighted with a pull-down menu on the right side of the screen
- Select the "Enabled" option from the pull-down menu
- You will see a message at the bottom of your screen: "Your changes will take effect the next time you relaunch Google Chrome." with a button to "Relaunch"
- Click on the "Relaunch" button and the old flags will now be visible in Chrome on this computer

OR, an alternative option which will require Administrative rights on the computer, is to disable the "IntensiveWakeUpThrottlingEnabled" policy on your computer,
https://chromeenterprise.google/policie ... ingEnabled

For Windows workstations, this means adding a new DWORD Registry entry:
- Open RegEdit(Registry Editor) on your Windows computer
- Go to "HKEY_LOCAL_MACHINE/SOFTWARE/Policies/Google/Chrome"
NOTE: You may need to create the "Google" and then "Chrome" Keys yourself
- Create a new DWORD entry from the highlighted "Chrome" Key, with a Name of "IntensiveWakeUpThrottlingEnabled"
NOTE: this new DWORD should automatically be set with a value of '0' (disabled) after you create it
- Close out all Chrome web browser windows and then open Chrome again and test that it is working


BEFORE CHROME 90 INSTRUCTIONS:

- Open your Chrome Web Browser
- in the Address bar at the top, put the following(without quotes), then press the "Enter" key: "chrome://flags/#intensive-wake-up-throttling"
- You will see "Throttle Javascript timers in background" highlighted with a pull-down menu on the right side of the screen
- Select the "Disabled" option from the pull-down menu
- You will see a message at the bottom of your screen: "Your changes will take effect the next time you relaunch Google Chrome." with a button to "Relaunch"
- Click on the "Relaunch" button and the Throttling feature will now be disabled in Chrome on this computer

NOTE: An alternate option for this method would be to create a new shortcut for the chrome browser using the --disable-background-timer-throttling flag, for example here is what it would look like in Windows:
"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --disable-background-timer-throttling

Re: Chrome timing out vicidial users again, looking for help

PostPosted: Thu Jun 17, 2021 10:10 am
by jessiekidfernando
After setting this flags as: It appears that the issue remains the same.

Temporarily unexpire M89 flags. - ENABLED
Throttle Javascript timers in background. - DISABLED

Re: Chrome timing out vicidial users again, looking for help

PostPosted: Thu Jun 17, 2021 10:19 am
by carpenox
try this: Image

along with this:

Image

Re: Chrome timing out vicidial users again, looking for help

PostPosted: Thu Jun 17, 2021 11:03 am
by jessiekidfernando
By the way, we are using a softphone and not a webphone.

Re: Chrome timing out vicidial users again, looking for help

PostPosted: Thu Jun 17, 2021 12:26 pm
by carpenox
oh, well that that doesnt apply