Bug description
Customer is reporting that with very poor network, either slow, or interrupted VPN it's possible for a login to stall and the browser will present a red stop sign on the mouse cursor.
I see this same stop sign, if I hit submit, and then I try to hit submit again, before AM is done responding to the initial submit. When the UI get’s in this state in their env, the end user is stuck. The only thing they can really do is hit reload to get a new login page to prompt.
How to reproduce the issue
The one way we were able to reproduce was with cutting vpn access
- Try to login, but then disconnect from the VPN
- The XUI will see that it doesn't need any more input from the client and place the red stop sign waiting for the servers
- We tried similiar to this setting throttle on Browsers and delays but were unable to.
- When we manually refresh normally this will work and just log the user in
Expected behaviour
AM can recover from this, without the need to manually refresh the page
Current behaviour
From the browser error: Unknown error. Please contact your Administrator Object { message: "Unknown error. Please contact your Administrator", type: "error" } main.85cb574b25.js:127:274057 Unhandled promise rejection TypeError: "m.default.loggedUser is null" e https://openam1.internal.forgerock.com:8443/openam/XUI/main.85cb574b25.js:127 g https://openam1.internal.forgerock.com:8443/openam/XUI/main.85cb574b25.js:127 o https://openam1.internal.forgerock.com:8443/openam/XUI/main.85cb574b25.js:127 N https://openam1.internal.forgerock.com:8443/openam/XUI/main.85cb574b25.js:127 l https://openam1.internal.forgerock.com:8443/openam/XUI/main.85cb574b25.js:127 main.85cb574b25.js:127:262200 n https://openam1.internal.forgerock.com:8443/openam/XUI/main.85cb574b25.js:127 exports https://openam1.internal.forgerock.com:8443/openam/XUI/main.85cb574b25.js:127 I https://openam1.internal.forgerock.com:8443/openam/XUI/main.85cb574b25.js:127 exports https://openam1.internal.forgerock.com:8443/openam/XUI/main.85cb574b25.js:102 <anonymous> https://openam1.internal.forgerock.com:8443/openam/XUI/main.85cb574b25.js:48 b https://openam1.internal.forgerock.com:8443/openam/XUI/main.85cb574b25.js:48 _ https://openam1.internal.forgerock.com:8443/openam/XUI/main.85cb574b25.js:48
Work around
Refresh the page if it becomes stuck
There is a lot of change around this area of the product in AM 7