Skip to content

(minor) Auto-updater error under linux #18

@SR-G

Description

@SR-G

(at least) Under linux, at start time, the AppImage is not able to find the remote URL :

Checking for updates...
Error: Error: Cannot find latest-linux.yml in the latest release artifacts (https://github.com/LordKnish/StreamGrid/releases/download/v1.2.3/latest-linux.yml): HttpError: 404 
"method: GET url: https://github.com/LordKnish/StreamGrid/releases/download/v1.2.3/latest-linux.yml\n\nPlease double check that your authentication token is correct. Due to security reasons, actual status maybe not reported, but 404.\n"
Headers: {
  "cache-control": "no-cache",
  "content-length": "9",
  "content-security-policy": "default-src 'none'; base-uri 'self'; connect-src 'self'; form-action 'self'; img-src 'self' data:; script-src 'self'; style-src 'unsafe-inline'",
  "content-type": "text/plain; charset=utf-8",
  "date": "Wed, 17 Sep 2025 20:02:10 GMT",
  "referrer-policy": "no-referrer-when-downgrade",
  "server": "github.com",
  "strict-transport-security": "max-age=31536000; includeSubdomains; preload",
  "vary": "X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With",
  "x-content-type-options": "nosniff",
  "x-frame-options": "deny",
  "x-github-request-id": "964E:188533:5BBB8C7:4DB0047:68CB13C2",
  "x-xss-protection": "0"
}
    at createHttpError (/tmp/.mount_StreamS1uPr2/resources/app.asar/node_modules/electron-updater/node_modules/builder-util-runtime/out/httpExecutor.js:21:12)
    at ElectronHttpExecutor.handleResponse (/tmp/.mount_StreamS1uPr2/resources/app.asar/node_modules/electron-updater/node_modules/builder-util-runtime/out/httpExecutor.js:121:20)
    at ClientRequest.<anonymous> (/tmp/.mount_StreamS1uPr2/resources/app.asar/node_modules/electron-updater/node_modules/builder-util-runtime/out/httpExecutor.js:87:26)
    at ClientRequest.emit (node:events:519:28)
    at SimpleURLLoaderWrapper.<anonymous> (node:electron/js2c/browser_init:2:114720)
    at SimpleURLLoaderWrapper.emit (node:events:519:28)
    at newError (/tmp/.mount_StreamS1uPr2/resources/app.asar/node_modules/electron-updater/node_modules/builder-util-runtime/out/error.js:5:19)
    at fetchData (/tmp/.mount_StreamS1uPr2/resources/app.asar/node_modules/electron-updater/out/providers/GitHubProvider.js:113:63)
    at async GitHubProvider.getLatestVersion (/tmp/.mount_StreamS1uPr2/resources/app.asar/node_modules/electron-updater/out/providers/GitHubProvider.js:123:23)
    at async AppImageUpdater.getUpdateInfoAndProvider (/tmp/.mount_StreamS1uPr2/resources/app.asar/node_modules/electron-updater/out/AppUpdater.js:343:19)
    at async AppImageUpdater.doCheckForUpdates (/tmp/.mount_StreamS1uPr2/resources/app.asar/node_modules/electron-updater/out/AppUpdater.js:356:24)
Error in auto-updater: Error: Cannot find latest-linux.yml in the latest release artifacts (https://github.com/LordKnish/StreamGrid/releases/download/v1.2.3/latest-linux.yml): HttpError: 404 
"method: GET url: https://github.com/LordKnish/StreamGrid/releases/download/v1.2.3/latest-linux.yml\n\nPlease double check that your authentication token is correct. Due to security reasons, actual status maybe not reported, but 404.\n"
Headers: {
  "cache-control": "no-cache",
  "content-length": "9",
  "content-security-policy": "default-src 'none'; base-uri 'self'; connect-src 'self'; form-action 'self'; img-src 'self' data:; script-src 'self'; style-src 'unsafe-inline'",
  "content-type": "text/plain; charset=utf-8",
  "date": "Wed, 17 Sep 2025 20:02:10 GMT",
  "referrer-policy": "no-referrer-when-downgrade",
  "server": "github.com",
  "strict-transport-security": "max-age=31536000; includeSubdomains; preload",
  "vary": "X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With",
  "x-content-type-options": "nosniff",
  "x-frame-options": "deny",
  "x-github-request-id": "964E:188533:5BBB8C7:4DB0047:68CB13C2",
  "x-xss-protection": "0"
}
    at createHttpError (/tmp/.mount_StreamS1uPr2/resources/app.asar/node_modules/electron-updater/node_modules/builder-util-runtime/out/httpExecutor.js:21:12)
    at ElectronHttpExecutor.handleResponse (/tmp/.mount_StreamS1uPr2/resources/app.asar/node_modules/electron-updater/node_modules/builder-util-runtime/out/httpExecutor.js:121:20)
    at ClientRequest.<anonymous> (/tmp/.mount_StreamS1uPr2/resources/app.asar/node_modules/electron-updater/node_modules/builder-util-runtime/out/httpExecutor.js:87:26)
    at ClientRequest.emit (node:events:519:28)
    at SimpleURLLoaderWrapper.<anonymous> (node:electron/js2c/browser_init:2:114720)
    at SimpleURLLoaderWrapper.emit (node:events:519:28)
    at newError (/tmp/.mount_StreamS1uPr2/resources/app.asar/node_modules/electron-updater/node_modules/builder-util-runtime/out/error.js:5:19)
    at fetchData (/tmp/.mount_StreamS1uPr2/resources/app.asar/node_modules/electron-updater/out/providers/GitHubProvider.js:113:63)
    at async GitHubProvider.getLatestVersion (/tmp/.mount_StreamS1uPr2/resources/app.asar/node_modules/electron-updater/out/providers/GitHubProvider.js:123:23)
    at async AppImageUpdater.getUpdateInfoAndProvider (/tmp/.mount_StreamS1uPr2/resources/app.asar/node_modules/electron-updater/out/AppUpdater.js:343:19)
    at async AppImageUpdater.doCheckForUpdates (/tmp/.mount_StreamS1uPr2/resources/app.asar/node_modules/electron-updater/out/AppUpdater.js:356:24) {
  code: 'ERR_UPDATER_CHANNEL_FILE_NOT_FOUND'
}
(node:979180) UnhandledPromiseRejectionWarning: Error: Cannot find latest-linux.yml in the latest release artifacts (https://github.com/LordKnish/StreamGrid/releases/download/v1.2.3/latest-linux.yml): HttpError: 404 
"method: GET url: https://github.com/LordKnish/StreamGrid/releases/download/v1.2.3/latest-linux.yml\n\nPlease double check that your authentication token is correct. Due to security reasons, actual status maybe not reported, but 404.\n"
Headers: {
  "cache-control": "no-cache",
  "content-length": "9",
  "content-security-policy": "default-src 'none'; base-uri 'self'; connect-src 'self'; form-action 'self'; img-src 'self' data:; script-src 'self'; style-src 'unsafe-inline'",
  "content-type": "text/plain; charset=utf-8",
  "date": "Wed, 17 Sep 2025 20:02:10 GMT",
  "referrer-policy": "no-referrer-when-downgrade",
  "server": "github.com",
  "strict-transport-security": "max-age=31536000; includeSubdomains; preload",
  "vary": "X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With",
  "x-content-type-options": "nosniff",
  "x-frame-options": "deny",
  "x-github-request-id": "964E:188533:5BBB8C7:4DB0047:68CB13C2",
  "x-xss-protection": "0"
}
    at createHttpError (/tmp/.mount_StreamS1uPr2/resources/app.asar/node_modules/electron-updater/node_modules/builder-util-runtime/out/httpExecutor.js:21:12)
    at ElectronHttpExecutor.handleResponse (/tmp/.mount_StreamS1uPr2/resources/app.asar/node_modules/electron-updater/node_modules/builder-util-runtime/out/httpExecutor.js:121:20)
    at ClientRequest.<anonymous> (/tmp/.mount_StreamS1uPr2/resources/app.asar/node_modules/electron-updater/node_modules/builder-util-runtime/out/httpExecutor.js:87:26)
    at ClientRequest.emit (node:events:519:28)
    at SimpleURLLoaderWrapper.<anonymous> (node:electron/js2c/browser_init:2:114720)
    at SimpleURLLoaderWrapper.emit (node:events:519:28)
    at newError (/tmp/.mount_StreamS1uPr2/resources/app.asar/node_modules/electron-updater/node_modules/builder-util-runtime/out/error.js:5:19)
    at fetchData (/tmp/.mount_StreamS1uPr2/resources/app.asar/node_modules/electron-updater/out/providers/GitHubProvider.js:113:63)
    at async GitHubProvider.getLatestVersion (/tmp/.mount_StreamS1uPr2/resources/app.asar/node_modules/electron-updater/out/providers/GitHubProvider.js:123:23)
    at async AppImageUpdater.getUpdateInfoAndProvider (/tmp/.mount_StreamS1uPr2/resources/app.asar/node_modules/electron-updater/out/AppUpdater.js:343:19)
    at async AppImageUpdater.doCheckForUpdates (/tmp/.mount_StreamS1uPr2/resources/app.asar/node_modules/electron-updater/out/AppUpdater.js:356:24)
(Use `streamgrid --trace-warnings ...` to show where the warning was created)
(node:979180) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)

(of course it's a minor point and not a blocker, the app is still starting)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions