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

add-on crash after few hours #130

Open
whncode opened this issue Aug 26, 2024 · 2 comments
Open

add-on crash after few hours #130

whncode opened this issue Aug 26, 2024 · 2 comments

Comments

@whncode
Copy link

whncode commented Aug 26, 2024

I get this errors:

Error: Command failed: convert: unable to open image 'output/cover.png.temp': No such file or directory @ error/blob.c/OpenBlob/3569.
convert: no decode delegate for this image format `TEMP' @ error/constitute.c/ReadImage/746.
convert: no images defined `output/cover.png' @ error/convert.c/ConvertImageCommand/3354.

    at ChildProcess.onExit (/app/node_modules/gm/lib/command.js:301:17)
    at ChildProcess.emit (node:events:517:28)
    at maybeClose (node:internal/child_process:1098:16)
    at Socket.<anonymous> (node:internal/child_process:450:11)
    at Socket.emit (node:events:517:28)
    at Pipe.<anonymous> (node:net:350:12) {
  code: 1,
  signal: null
}

after few hours of up. Watchdog failed to restart instance.

@lupino3
Copy link

lupino3 commented Jan 7, 2025

Getting the same error:

endering http://homeassistant.local:8123/dashboard-clima/inkplate?kiosk to image...
Failed to render Error: net::ERR_CONNECTION_REFUSED at http://homeassistant.local:8123/dashboard-clima/inkplate?kiosk
    at navigate (/app/node_modules/puppeteer/lib/cjs/puppeteer/common/FrameManager.js:155:23)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async FrameManager.navigateFrame (/app/node_modules/puppeteer/lib/cjs/puppeteer/common/FrameManager.js:130:21)
    at async Frame.goto (/app/node_modules/puppeteer/lib/cjs/puppeteer/common/FrameManager.js:500:16)
    at async Page.goto (/app/node_modules/puppeteer/lib/cjs/puppeteer/common/Page.js:1167:16)
    at async renderUrlToImageAsync (/app/index.js:257:5)
    at async renderAndConvertAsync (/app/index.js:176:5)
Converting rendered screenshot of http://homeassistant.local:8123/dashboard-clima/inkplate?kiosk to grayscale...
/app/node_modules/gm/lib/command.js:301
          err = new Error('Command failed: ' + stderr);
                ^
Error: Command failed: convert: unable to open image 'output/cover.png.temp': No such file or directory @ error/blob.c/OpenBlob/3569.
convert: no decode delegate for this image format `TEMP' @ error/constitute.c/ReadImage/746.
convert: no images defined `output/cover.png' @ error/convert.c/ConvertImageCommand/3354.
    at ChildProcess.onExit (/app/node_modules/gm/lib/command.js:301:17)
    at ChildProcess.emit (node:events:517:28)
    at maybeClose (node:internal/child_process:1098:16)
    at ChildProcess._handle.onexit (node:internal/child_process:303:5) {
  code: 1,
  signal: null
}

@sibbl
Copy link
Owner

sibbl commented Jan 8, 2025

ERR_CONNECTION_REFUSED is an indicator that the application, i.e. the docker instance, cannot connect to http://homeassistant.local:8123/dashboard-clima/inkplate?kiosk.

Please check the URL and/or try it with IPs again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants