Page MenuHome GnuPG

non-deterministic re-connection problem
Open, Needs TriagePublic

Description

When closing and restarting the proxy server while the web client is still open, sometimes but not always the webclient apparently keeps trying to use the old connection object, resulting in a perpetual "Loading..." message until the plugin's task pane is closed and re-opened. In Firefox's debugger:

``
Uncaught DOMException: An attempt was made to use an object that is not, or is no longer, usable

me https://localhost:5656/assets/index-kD7Kr_Eb.js:23
setup https://localhost:5656/assets/index-kD7Kr_Eb.js:23
fireEvent https://appsforoffice.microsoft.com/lib/beta/hosted/outlook-web-16.01.js:20
onEvent https://appsforoffice.microsoft.com/lib/beta/hosted/outlook-web-16.01.js:20
registerEventAsync https://appsforoffice.microsoft.com/lib/beta/hosted/outlook-web-16.01.js:20
M https://appsforoffice.microsoft.com/lib/beta/hosted/outlook-web-16.01.js:20
H https://appsforoffice.microsoft.com/lib/beta/hosted/outlook-web-16.01.js:20
A https://appsforoffice.microsoft.com/lib/beta/hosted/outlook-web-16.01.js:20
connect https://appsforoffice.microsoft.com/lib/beta/hosted/outlook-web-16.01.js:20
a https://appsforoffice.microsoft.com/lib/beta/hosted/outlook-web-16.01.js:20
<anonymous> https://appsforoffice.microsoft.com/lib/beta/hosted/outlook-web-16.01.js:20
k https://appsforoffice.microsoft.com/lib/beta/hosted/outlook-web-16.01.js:20
loadScript https://appsforoffice.microsoft.com/lib/beta/hosted/outlook-web-16.01.js:20
loadMsAjaxFull https://appsforoffice.microsoft.com/lib/beta/hosted/outlook-web-16.01.js:20
<anonymous> https://appsforoffice.microsoft.com/lib/beta/hosted/outlook-web-16.01.js:20
<anonymous> https://appsforoffice.microsoft.com/lib/beta/hosted/outlook-web-16.01.js:20

index-kD7Kr_Eb.js:23:190358

The JS code seems to map to function info() in App.vue, although it is somewhat transformed. Probably we need to make sure to invalidate "socket".