electron-builder Version: 20.0.7
electron-updater Version:2.20.1
Error in auto-updater. HttpError: 404 Not Found
"method: undefined url: https://github.com/jaret32/JustBotIt/releases.atom\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-encoding": [
"gzip"
],
"content-security-policy": [
"default-src 'none'; base-uri 'self'; connect-src 'self'; form-action 'self'; img-src data:; script-src 'self'; style-src 'unsafe-inline'"
],
"content-type": [
"text/plain; charset=utf-8"
],
"date": [
"Mon, 26 Feb 2018 06:53:49 GMT"
],
"expect-ct": [
"max-age=2592000, report-uri=\"https://api.github.com/_private/browser/errors\""
],
"server": [
"GitHub.com"
],
"status": [
"404 Not Found"
],
"strict-transport-security": [
"max-age=31536000; includeSubdomains; preload"
],
"transfer-encoding": [
"chunked"
],
"vary": [
"X-PJAX"
Related #2559
Does anyone have any suggestions? The related problem is different than mine.
I am getting the same error, but from a public repository.
electron-builder Version: ^20.24.4
electron-updater Version: ^3.0.3
OS: Windows 10 64x
I create a window that shows when the app is checking for an update/updating. The actual updater code is not in the rendered window, but in the main.js.
The release is out, latest.yml is uploaded (I published using electron-builder, like the guide says to), but I think I get blocked before I can even access it.
{description: "method: undefined url: https://github.com/CodeDigi…asons actual status maybe not reported, but 404.↵", name: "HttpError", statusCode: 404}
description
:
"method: undefined url: https://github.com/CodeDigital/botmyguy/releases/download/v0.0.3-pre-alpha/latest.yml↵↵Please double check that your authentication token is correct. Due to security reasons actual status maybe not reported, but 404.↵"
name
:
"HttpError"
statusCode
:
404
I will probably create a separate issue as my github repository is public...
@jaret32 I received this error when I didn't set the token property passed into setFeedURL.
autoUpdater.setFeedURL({
provider: 'github',
repo: 'repo',
owner: 'owner',
private: true,
token: '<personal-access-token>'
})
Most helpful comment
@jaret32 I received this error when I didn't set the
tokenproperty passed intosetFeedURL.