Related App: Insights Capture
The desktop window “crashes” and becomes totally white and unresponsive.
After some investigation, we’ve found that:
The white screen is a symptom. It is not the root problem.
It happens after some sort of “navigation” onto a page with a video and then waiting approximately 2 minutes.
At this point, the page gets reloaded for an unknown reason.
window.location this means that the browser tries to reload the page
/video/:videouuid which doesn’t exist, resulting in a white screen.
We have a bandaid to mitigate the white screening specifically (switching to
MemoryRouter ), but this still results in the page getting reloaded after 2 minutes and is obviously not ideal.
It’s probably not an issue due to the routing libraries because we’ve tried a primitive DIY “routing” solution and the issue still occurs.
It’s also probably not an issue with the component we’re using for video (tested with
<video url="some video url" /> )
Can you reproduce it (exact steps to reproduce):
- close Overwolf
- open Insights
- go to a video page <<<<< Just going to a video page is enough
- wait for around 2 mins
Impact for my app: [e.g. x% of the users complained about it, it’s a show-stopper]
Huge, it happens to ALL users who use the app for more than 2 minutes.
Do you currently have a workaround?
We rolled out version 1.0.5 with a workaround that addresses the white screen issue by using
MemoryRouter in place of
BrowserRouter so that the impact of the window getting reloaded is reduced. However, the app will still reload after 2 minutes which is not ideal because if you were on the settings page and the app reloads, you will be put back into the main dashboard.