Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Web page hangs if left running for a few hours #300

Open
andrewcliffoutlook opened this issue Feb 16, 2024 · 3 comments
Open

Web page hangs if left running for a few hours #300

andrewcliffoutlook opened this issue Feb 16, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@andrewcliffoutlook
Copy link

When left running displaying a departure board for a number of hours with th e clock display enabled the web page hangs. I have confirmed the issue is something in the browser code. The apis on the server side are still responsive. If you refresh the browser screen it reloads the application and continuea working.

I have ensured there is nothing on the browser e.g. Plugins running that might be causing the issue.

Any thoughts how this might be solved?

@andrewcliffoutlook andrewcliffoutlook added the bug Something isn't working label Feb 16, 2024
@benfl3713
Copy link
Owner

Are you able to send over the URL your using as well as any changed settings, this will allow me to try and recreate the issue. You mentioned the clock, are you saying that if you turn off the clock then it doesn't hang?

@Sparqx73
Copy link

Sparqx73 commented Feb 23, 2024

Hi Ben,

I am Andrew's brother and we have been working on this issue together.

The URL's we have been trying are :
https://www.leddepartureboard.com/WOK/6?hideClock=false&hideMenu=true&showStationName=true
https://www.leddepartureboard.com/PBO/6?hideClock=false&hideMenu=true&showStationName=true

When we tried these URL's from our Browsers (Windows 11 - Edge, Chrome & Firefox) (Mac OS - Safari, Chrome, and Firefox) (Raspberry Pi 5 Debian 12 Bookworm - Chrome and Firefox) they all started 'pausing - clock stopped updating for long periods of time' after a few hours and eventually stopped all together (Clock stopped refreshing and departure boards were no longer updating).

We haven't tried it without the clock as we feel this is an important part of the leddepartureboard so that you can check the current time against the arrivals and departures.

We then tried running the departureboard in a Docker container on the Raspberry Pi 5 and running it through our browsers on Windows 11. Mac OS, Debian 12 Bookworm using the 'Localhost'
127.0.0.1/WOK/6?hideClock=false&hideMenu=true&showStationName=true

and using the actual local host IP Address

192.168.68.242/WOK/6?hideClock=false&hideMenu=true&showStationName=true

and still the same problems arose....clock pausing after a few hours and eventually the departure boards stopped updating and clock stopped all together.

When we opened 'Developer Tools' in the browsers we came across the same error each time....

'Uncaught (in promise) Error: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received'

I hope this helps

Kind regards

Steven Cliff

@Sparqx73
Copy link

Hi Ben is there an update on this issue.

Many thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants