Chrome timing out vicidial users again, looking for help

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

Chrome timing out vicidial users again, looking for help

Postby tomatogoatee » Tue Apr 27, 2021 8:21 am

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?
tomatogoatee
 
Posts: 4
Joined: Thu Feb 25, 2021 3:05 pm

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

Postby mflorell » Tue Apr 27, 2021 8:51 am

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'
mflorell
Site Admin
 
Posts: 18335
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

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

Postby mflorell » Tue Apr 27, 2021 10:43 am

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
mflorell
Site Admin
 
Posts: 18335
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

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

Postby carpenox » Tue Apr 27, 2021 1:51 pm

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
Alma Linux 9.3 | Version: 2.14-911a | SVN Version: 3815 | DB Schema Version: 1710 | Asterisk 18.18.1
www.dialer.one -:- 1-833-DIALER-1 -:- https://linktr.ee/CyburDial -:- WhatsApp: +19549477572 -:- Skype: live:carpenox_3
carpenox
 
Posts: 2230
Joined: Wed Apr 08, 2020 2:02 am
Location: Coral Springs, FL

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

Postby jessiekidfernando » Thu Jun 17, 2021 9:55 am

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
OS: Linux version 4.4.155-68-default (geeko@buildhost) (gcc version 4.8.5 (SUSE Linux) )
VERSION: 2.14-717a
BUILD: 190724-1603
Asterisk: 13.21.1-vici
Dahdi: 2.11.1
jessiekidfernando
 
Posts: 152
Joined: Fri Feb 08, 2019 5:49 pm

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

Postby jessiekidfernando » Thu Jun 17, 2021 10:10 am

After setting this flags as: It appears that the issue remains the same.

Temporarily unexpire M89 flags. - ENABLED
Throttle Javascript timers in background. - DISABLED
OS: Linux version 4.4.155-68-default (geeko@buildhost) (gcc version 4.8.5 (SUSE Linux) )
VERSION: 2.14-717a
BUILD: 190724-1603
Asterisk: 13.21.1-vici
Dahdi: 2.11.1
jessiekidfernando
 
Posts: 152
Joined: Fri Feb 08, 2019 5:49 pm

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

Postby carpenox » Thu Jun 17, 2021 10:19 am

try this: Image

along with this:

Image
Alma Linux 9.3 | Version: 2.14-911a | SVN Version: 3815 | DB Schema Version: 1710 | Asterisk 18.18.1
www.dialer.one -:- 1-833-DIALER-1 -:- https://linktr.ee/CyburDial -:- WhatsApp: +19549477572 -:- Skype: live:carpenox_3
carpenox
 
Posts: 2230
Joined: Wed Apr 08, 2020 2:02 am
Location: Coral Springs, FL

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

Postby jessiekidfernando » Thu Jun 17, 2021 11:03 am

By the way, we are using a softphone and not a webphone.
OS: Linux version 4.4.155-68-default (geeko@buildhost) (gcc version 4.8.5 (SUSE Linux) )
VERSION: 2.14-717a
BUILD: 190724-1603
Asterisk: 13.21.1-vici
Dahdi: 2.11.1
jessiekidfernando
 
Posts: 152
Joined: Fri Feb 08, 2019 5:49 pm

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

Postby carpenox » Thu Jun 17, 2021 12:26 pm

oh, well that that doesnt apply
Alma Linux 9.3 | Version: 2.14-911a | SVN Version: 3815 | DB Schema Version: 1710 | Asterisk 18.18.1
www.dialer.one -:- 1-833-DIALER-1 -:- https://linktr.ee/CyburDial -:- WhatsApp: +19549477572 -:- Skype: live:carpenox_3
carpenox
 
Posts: 2230
Joined: Wed Apr 08, 2020 2:02 am
Location: Coral Springs, FL


Return to Support

Who is online

Users browsing this forum: Bing [Bot], Google [Bot], Majestic-12 [Bot] and 103 guests