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

Windows timeout to websocket Chrome to short #43

Closed
BasvanH opened this issue Aug 24, 2020 · 3 comments · Fixed by #122
Closed

Windows timeout to websocket Chrome to short #43

BasvanH opened this issue Aug 24, 2020 · 3 comments · Fixed by #122
Labels
documentation enhancement New feature or request no stalebot exempt from stale bot

Comments

@BasvanH
Copy link

BasvanH commented Aug 24, 2020

Hello,

We are using rather slow Celeron Intel nucs for our Grafana screens. Sometimes, the startup is to slow and grafana-kiosk stops with an error. It would be great if this timeout could be extended or settable.

C:\xxxx\GrafanaKiosk>C:\xxxx\GrafanaKiosk\grafana-kiosk.windows.amd64.exe -c C:\xxxx\GrafanaKiosk\config.yaml
2020/08/24 10:18:40 Using config from C:\temp\GrafanaKiosk\config.yaml
2020/08/24 10:18:41 AutoFit: true
2020/08/24 10:18:41 LXDEEnabled: false
2020/08/24 10:18:41 LXDEHome: /home/pi
2020/08/24 10:18:41 Mode: full
2020/08/24 10:18:41 URL: https://grafana.xxxx.xxxx/playlists/play/9?kiosk
2020/08/24 10:18:41 LoginMethod: local
2020/08/24 10:18:41 Username: xxxx
2020/08/24 10:18:41 Password: *redacted*
2020/08/24 10:18:41 IgnoreCertificateErrors: false
2020/08/24 10:18:41 IsPlayList: true
2020/08/24 10:18:41 AutoFit: true
2020/08/24 10:18:41 LXDEEnabled: false
2020/08/24 10:18:41 LXDEHome: /home/pi
2020/08/24 10:18:41 Mode: full
2020/08/24 10:18:41 URL: https://grafana.xxxx.xxxx/playlists/play/9?kiosk
2020/08/24 10:18:41 LoginMethod: local
2020/08/24 10:18:41 Username: xxxx
2020/08/24 10:18:41 Password: *redacted*
2020/08/24 10:18:41 IgnoreCertificateErrors: false
2020/08/24 10:18:41 IsPlayList: true
2020/08/24 10:18:41 DISPLAY not set, autosetting to :0.0
2020/08/24 10:18:41 DISPLAY= :0.0
2020/08/24 10:18:41 XAUTHORITY not set, autosetting
2020/08/24 10:18:41 XAUTHORITY= /.Xauthority
2020/08/24 10:18:41 method  local
2020/08/24 10:18:41 Launching local login kiosk
panic: websocket url timeout reached

goroutine 1 [running]:
github.com/grafana/grafana-kiosk/pkg/kiosk.GrafanaKioskLocal(0xc0000c3490)
        /go/src/github.com/grafana/grafana-kiosk/pkg/kiosk/local_login.go:49 +0xc24
main.main()
        /go/src/github.com/grafana/grafana-kiosk/pkg/cmd/grafana-kiosk/main.go:153 +0x35e

Kind regards,
Bastiaan van Haastrecht

@kskenyon
Copy link

Having the same problem on a slow pi. Any way to fix it?

@BasvanH
Copy link
Author

BasvanH commented Sep 24, 2020

We applied a work-around by delay starting the kiosk. But this requires a settable option to fit all needs.

@fechnert
Copy link

Had this problem too. For me it was solved by installing rng-tools via apt install rng-tools.

chromium-browser took ages to load after upgrading to the latest version because the random module was missing entropy. it blocked to start chromium until enough entropy was generated.

By installing the mentioned package, this was solved.

Some references:

@briangann briangann added enhancement New feature or request documentation labels Jun 27, 2021
@briangann briangann added this to To do in grafana-kiosk Jun 29, 2021
@github-actions github-actions bot added the stale label Mar 7, 2023
@briangann briangann added no stalebot exempt from stale bot and removed stale labels Mar 7, 2023
@briangann briangann moved this from To do to In progress in grafana-kiosk Mar 7, 2024
grafana-kiosk automation moved this from In progress to Done May 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation enhancement New feature or request no stalebot exempt from stale bot
Projects
grafana-kiosk
  
Done
Development

Successfully merging a pull request may close this issue.

4 participants