-
Notifications
You must be signed in to change notification settings - Fork 77
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
failed to start browser in docker #101
Comments
You may take a look at your base url. Mine defaulted to https:// and when I changed it to http:// it worked. |
Thanks for your hint. It was set at http:// the whole time. so this wasn't the problem. version: "3.8"
services:
app:
image: sibbl/hass-lovelace-kindle-screensaver:1.0.5
environment:
- HA_BASE_URL=http://192.168.178.82:8123
- HA_SCREENSHOT_URL=/handy-dashboard/home
- HA_ACCESS_TOKEN=eyJhM0TyTV3YKwrIfmZD.........removed................removed......
- CRON_JOB=* * * * *
- RENDERING_TIMEOUT=120000
- RENDERING_DELAY=0
- RENDERING_SCREEN_HEIGHT=800
- RENDERING_SCREEN_WIDTH=600
- GRAYSCALE_DEPTH=8
- OUTPUT_PATH=/output/cover.png
- LANGUAGE=en
- ROTATION=0
- SCALING=1
- BROWSER_LAUNCH_TIMEOUT=120000
ports:
- 5555:5000
volumes:
- /volume1/docker/kindle:/output |
Which device is your docker container running on? Although the timeouts of 120s look large enough, there might be some incompatibility of the image / browser / device combination which we don't know about yet. |
Hello sibbl, |
Could you please check the CPU/RAM usage when starting the container? I can only confirm that it's working with a Synology which has an Intel CPU. Your Synology seems to have a Realtek ARMv8 CPU, which I have no experiences with. Ideally it should work out of the box with the ARMv8 build - which we basically support. I have the feeling that the machine is not able to handle it properly and starting a browser is too much work load - which in the end results in the timeout being reached, unfortunately. You should see this in the CPU/RAM usages. If so, you could check whether you might be able to stop other services and give it another try. If not, we might be able to check what else could be the reason. |
I get this occasionally when starting the container, not sure why but the browser doesn't start. This is on a raspberry pi running hassos.
I did up the BROWSER_LAUNCH_TIMEOUT to 60000 but looking at the above that wasn't honoured. I'm looking into another issue at the moment on my test env so I'll see if I can spot this also. |
@andyb2000 thanks for the hint, |
I 've installed the docker image. But if I start the image i can see in the logs that there is a problem to start the browser.
What i doing wrong?
The text was updated successfully, but these errors were encountered: