Helioviewer-Project / helioviewer.org

Main web application for solar data visualization
Other
18 stars 15 forks source link

student.helioviewer.org sometimes does not show the correct image for the requested observation time #250

Open wafels opened 5 years ago

wafels commented 5 years ago

It seems that student.helioviewer.org loads in the most recent image first, and then replaces it with the image of the requested time

screen shot 2018-10-23 at 9 00 44 pm

in this case the image at the correct time does not appear.

Helioviewer-Kirill commented 5 years ago

I can't seem to reproduce this, but I'll take a look into possible causes for this issue. Do you notice this behavior when you change the observation time?

wafels commented 5 years ago

Maybe it was just due to my internet connection flaking out.

On Fri, Oct 26, 2018 at 11:31 AM Kirill V. notifications@github.com wrote:

I can't seem to reproduce this, but I'll take a look into possible causes for this issue. Do you notice this behavior when you change the observation time?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Helioviewer-Project/helioviewer.org/issues/250#issuecomment-433448642, or mute the thread https://github.com/notifications/unsubscribe-auth/AA8CF3nrZQg70v_wz4xL1IzkU9KmQvC8ks5uoyrugaJpZM4X28An .

Helioviewer-Kirill commented 5 years ago

I am still looking for the cause of this issue, I can see in the network log that the client requests the newest image first, and then immediately follows it up with a request of the correct observation date. The responses can arrive out of order causing the correct image to be overwritten when the newest image request arrives later.

dgarciabriseno commented 2 years ago

Not sure if it's related, but I also get spurious errors on student.helioviewer.org. The UI seems to still function correctly, but the fact that the number of date queries is different seems suspicious, and also seems like it can cause the problem Kirill considered.

Javascript error: only one date query is done. image

No Javascript error: 4 date queries are done all for the same time. image

dgarciabriseno commented 1 year ago

To me this sounds like this might be a timing/connection issue. My guess is if it's loading newest first, but you change the time to something older, then maybe the new image loads afterwards and shows up when it shouldn't.

I'll see if I can reproduce, and if not then I'm going to close this.