Giter Site home page Giter Site logo

Comments (7)

netbymatt avatar netbymatt commented on August 31, 2024

It's interesting that the change between node 16 and 18 changed this behavior. How consistent was the problem on 18? And does the progress screen show all green and/or disabled pages when it's hanging? And finally is the Hazards page enabled?

I'm asking because I've noticed exactly the situation that you describe when opening the web page with a previously stored location. There's a very nuanced timing issue that I have been so far unable to track down but it seems to have been introduced at the same time I added the hazards section and has to do with if the hazards data or current conditions data loads first.

from ws4kp.

rmitchellscott avatar rmitchellscott commented on August 31, 2024

It was very consistent for me on 18, and hasn't happened at all on 16 so far. While it's hanging on the progress page, the progress bar progresses, goes away, and the green/disabled links show up correctly. I did have the hazards page enabled, let me do some tests with that disabled and see if I can repeat the behavior!

from ws4kp.

rmitchellscott avatar rmitchellscott commented on August 31, 2024

Well, I said it was consistent... after seeing it all weekend, I can't replicate the issue on Node 18 today. If I see it again, I'll try disabling Hazards and report back!

from ws4kp.

rmitchellscott avatar rmitchellscott commented on August 31, 2024

The issue occurred today, on Node 16. Sorry about that, seems like Node version is not a factor here. I ran two browsers concurrently, one with Hazards enabled, one without, and the one with Hazards enabled hung. The one with it disabled is fine. Here's a screenshot of the hung one.
image

from ws4kp.

netbymatt avatar netbymatt commented on August 31, 2024

This is excellent information. Did it hang on the very first auto-reload or did it take several tries?

Troubleshooting it in the reload situation might be a lot easier than what appears to be the same bug during page load that I describe above. I'm going to look at this in the very near future but any additional information we can gather up before than will be very helpful.

from ws4kp.

rmitchellscott avatar rmitchellscott commented on August 31, 2024

It took a few auto-reloads. I adjusted the refresh interval down to 30 seconds, and disabled all but two screens so I could go through the auto-refresh cycles quickly. Over last weekend, it would happen every refresh pretty consistently over the better part of a day, so maybe depending on hazard API response speed or something like that?

If there's any more data or logs I can enable to provide you, let me know! I've got my own instance running 24x7 and keep an eye on it at least most of the working day, so hopefully I'll spot when issues happen.

from ws4kp.

netbymatt avatar netbymatt commented on August 31, 2024

I put some deliberate delays in loading data for Hazards and Current Conditions. If Hazards loads really slowly and Current Conditions Arrives first then this line can't figure out what display to show first.

if (isPlaying() && value.id === firstDisplayIndex && value.status === STATUS.loaded) {

I'm working on an additional condition that won't also break the opposite: Hazards arrive before Current Conditions situation.

from ws4kp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.