<html><body><div style="font-family: arial, helvetica, sans-serif; font-size: 12pt; color: #000000"><div>Over the last couple months we have been experiencing a new issue with Hatch and Chrome.  Randomly on a handful of our computers we will start getting "white screens" when navigating to the various pages in the staff client.  Often clicking on a menu item a second time loads the page.  Some pages like Check Out need a page refresh before they work.  The problem seems to be worse when you are doing everything in a single tab.  You are lucky to get one page to load before the issue comes back.</div><div><br data-mce-bogus="1"></div><div>In the past this was often fixed by clearing the cache.  This has no impact on this issue.  No amount of cache clearing seems to work.</div><div><br data-mce-bogus="1"></div><div>Sometimes just sitting in Developer tools -> Application allows the pages to load maybe 80% of the time.  Also, setting a break point on line 89 of extension.js and manually continuing the code allows all pages to load.  Putting a 2 second delay right in the code has no effect.<br></div><div><br data-mce-bogus="1"></div><div>We have tried many things but so far the quickest solution is to delete the following folder:</div><div><br data-mce-bogus="1"></div><div>    C:\Users\<insert your username>\AppData\Local\Google</div><div><br data-mce-bogus="1"></div><div>We have also done full Chrome reinstalls making sure we remove all profile information.  </div><div><br data-mce-bogus="1"></div><div>Reinstalling Hatch has no effect.  Disabling Ninite, Firewall and AntiVirus had no effect.  Most of these machines are stand alone workstations.  So far only 1 has been on Active Directory.</div><div><br data-mce-bogus="1"></div><div>Watching the Hatch extension in the console it looks like things happen out of sequence when the page loads fail.  The message port is removed before the message is received.</div><div><br data-mce-bogus="1"></div><div><div>Works</div><div>extension.js:113 Removing port 28 on tab disconnect</div><div>extension.js:89 new port connected with id 28</div><div>extension.js:92 Received message from browser on port 28</div><div><br></div><div>Doesn't Work</div><div>extension.js:89 new port connected with id 28</div><div>extension.js:113 Removing port 28 on tab disconnect</div><div>extension.js:92 Received message from browser on port 28</div><div><br data-mce-bogus="1"></div><div>Watching the Hatch logs it appears that Hatch does indeed respond.</div><div><br data-mce-bogus="1"></div><div><div>2021-12-08 11:16:58 FINEST MessageReader read: {"key":"eg.workstation.all","action":"get","msgid":1,"from":"page","clientid":28,"origin":"https://evergreen.owwl.org"}</div><div>2021-12-08 11:16:58 INFO   Received message id=1 action=get</div><div>2021-12-08 11:16:58 FINEST MessageWriter sending: {"clientid":28,"msgid":1,"message":"OK","content":[{"owning_lib":807,"name":"PLSHQ-plsstaff114a","id":"3435"},{"owning_lib":807,"name":"PLSHQ-PLSSTFX1114","id":"3462"},{"owning_lib":807,"name":"PLSHQ-PLSSTFx1114","id":"3288"}],"status":200}</div></div><div><br data-mce-bogus="1"></div><div>Chromes main console output l<span style="font-size: 12pt;">ooks like this when it works:</span></div><div><div><br></div><div>content.js:21 Loading Hatch relay content script</div><div>core.bundle.js:1 egNet open-ils.auth.session.retrieve</div><div>opensrf_ws.js:46 pending count 1</div><div>opensrf_ws.js:59 connecting websocket to wss://evergreen.owwl.org:443/osrf-websocket-translator</div><div>jquery.min.js:2 [Violation] 'setTimeout' handler took 60ms</div><div>opensrf_ws.js:69 websocket.onopen()</div><div>opensrf_ws.js:72 pending count 1</div><div>core.bundle.js:1 sending to Hatch: {"key":"eg.workstation.all","action":"get","msgid":1}</div><div>core.bundle.js:1 Hatch responded to message ID 1</div><div>core.bundle.js:1 egEnv loading classes => aou</div><div>core.bundle.js:1 serving org tree from cache</div><div>DevTools failed to load source map: Could not load content for https://evergreen.owwl.org/upup.min.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE</div><div>DevTools failed to load source map: Could not load content for https://evergreen.owwl.org/js/ui/default/staff/build/css/bootstrap.min.css.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE</div><div>DevTools failed to load source map: Could not load content for https://evergreen.owwl.org/js/ui/default/staff/build/js/moment-with-locales.min.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE</div><div>DevTools failed to load source map: Could not load content for https://evergreen.owwl.org/js/ui/default/staff/build/js/lovefield.min.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE</div><div>core.bundle.js:1 egEnv load complete</div><div>DevTools failed to load source map: Could not load content for https://evergreen.owwl.org/js/ui/default/staff/build/js/iframeResizer.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE</div><div>4core.bundle.js:1 egNet open-ils.auth.session.retrieve</div><div><br data-mce-bogus="1"></div><div><div>Looks like this when it fails</div><div></div><div>content.js:21 Loading Hatch relay content script</div><div>DevTools failed to load source map: Could not load content for https://evergreen.owwl.org/upup.min.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE</div><div>DevTools failed to load source map: Could not load content for https://evergreen.owwl.org/js/ui/default/staff/build/css/bootstrap.min.css.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE</div><div>core.bundle.js:1 egNet open-ils.auth.session.retrieve</div><div>opensrf_ws.js:46 pending count 1</div><div>opensrf_ws.js:59 connecting websocket to wss://evergreen.owwl.org:443/osrf-websocket-translator</div><div>DevTools failed to load source map: Could not load content for https://evergreen.owwl.org/js/ui/default/staff/build/js/lovefield.min.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE</div><div>DevTools failed to load source map: Could not load content for https://evergreen.owwl.org/js/ui/default/staff/build/js/moment-with-locales.min.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE</div><div>DevTools failed to load source map: Could not load content for https://evergreen.owwl.org/js/ui/default/staff/build/js/iframeResizer.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE</div><div>jquery.min.js:2 [Violation] 'setTimeout' handler took 55ms</div><div>opensrf_ws.js:69 websocket.onopen()</div><div>opensrf_ws.js:72 pending count 1</div><div>core.bundle.js:1 sending to Hatch: {"key":"eg.workstation.all","action":"get","msgid":1}</div><div><br data-mce-bogus="1"></div><div>Help?  </div></div></div></div><div><br></div><div data-marker="__SIG_PRE__">Bob Wicksall<br>Computer and Network Services Manager<br><br>Pioneer Library System<br>2557 State Rt. 21<br>Canandaigua, New York  14424<br><br>Voice: (585) 394-8260 ext. 1110<br>Fax: (585) 394-1935</div></div></body></html>