equinor / flotilla

Flotilla is the main point of access for operators to interact with multiple robots in a facility.
Eclipse Public License 2.0
16 stars 38 forks source link

Frontend screen sometimes goes white when scheduling multiple missions at once #1537

Open oysand opened 7 months ago

oysand commented 7 months ago

Describe the bug Sometimes when scheduling all the missions on the mezzanine deck at Huldra in dev the screen is goes completely white. A refresh "fixes" the problem.

To Reproduce Steps to reproduce the behavior: Queue all the missions on the mezzanine deck at Huldra multiple times.

Expected behavior Screen should not be blank

Screenshots image

oysand commented 7 months ago

Experienced the bug with updated mission topic as well with the missionRunContext

mrica-equinor commented 7 months ago

I haven't been able to reproduce this bug so we might consider waiting on this to see if it keeps happening

oysand commented 7 months ago

New instance seen in staging: image Occured after opening staging and just leaving it on the side in a tab for approximatly 5-10 minutes. When revisiting the tab it was all white and had error on the robot status card

oysand commented 7 months ago

Happened again in staging: image There are 14 robots being rendered in staging, so that could increase the likelihood of it occuring

oysand commented 7 months ago

New occurance: image

mrica-equinor commented 7 months ago

Image

Image

Eddasol commented 5 months ago

When adding this to signalRContext.tsx Image

the console.log message appears at the same time as these kind of "screen goes white"-events Image

Seems that the issue is caused by signalRMessages sometimes being empty

Eddasol commented 5 months ago

Frontend part of this issue is solved by adding error handling in #1617. Backend issue and root cause is handled by #1604

oysand commented 5 months ago

Reappered on robot status card image

aeshub commented 3 months ago

This issue has automatically been marked as stale as there has been no activity for 60 days.