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

Failure during network unavailability on windows #125

Open
HannTheSolo opened this issue Mar 22, 2024 · 1 comment
Open

Failure during network unavailability on windows #125

HannTheSolo opened this issue Mar 22, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request no stalebot exempt from stale bot

Comments

@HannTheSolo
Copy link

HannTheSolo commented Mar 22, 2024

I'm starting .batch script during the startup of the Windows system. During the initial execution of the script, there might be moments when Windows takes a bit time to connect to the WIFI network and during these times, grafana-kiosk gets stuck on "Navigating to http://grafana.mydomain.com/d/dashboardid/dashbaord" because of network unavailability.

This is content of my .batch startup file.
C:\Users\monitoring\Downloads\grafana-kiosk.windows.amd64.exe -URL="http://grafana.mydomain.com/d/8N649LA4z/my-dashboard" -login-method=local -username=monitoring -password=awesomepassword123 -kiosk-mode=full

Is there any solution to this ? I couldn't find any retry option in the docs. What can be done in such situation ? Please advise.
I have tried to give 20-60 seconds of delay during the execution of the script but it sometimes fails as well and is not that consistent.

@briangann
Copy link
Collaborator

This can be fixed by using the new general config option PageLoadDelayMS

It defaults to 2000 (2 seconds) but could be set to any duration needed.

NOTE: this will be in v1.0.7 to be released this weekend (or you can build it from main the branch if needed sooner)

@briangann briangann added the enhancement New feature or request label May 18, 2024
@briangann briangann self-assigned this May 18, 2024
@github-actions github-actions bot added the stale label Aug 16, 2024
@briangann briangann added no stalebot exempt from stale bot and removed stale labels Sep 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request no stalebot exempt from stale bot
Projects
None yet
Development

No branches or pull requests

2 participants