Open dguettler opened 6 years ago
Ok, my mistake.
Everything started to work after changing the feedURL from download
to update
and include the version.
const server = 'https://[REDACTED]'
const version = app.getVersion();
const feed = `${server}/update/${process.platform}/${version}`
The logs still indicate an error once the latest version has restarted. Seems like Squirrel.Mac doesn't like it if there is no update available.
[2018-04-19 17:03:44.073] [info] ===== Starting Oversight =====
[2018-04-19 17:03:44.073] [info] Version: v7.9.0
[2018-04-19 17:04:43.918] [info] Checking for updates...
[2018-04-19 17:05:43.035] [info] Update received: { preventDefault: [Function: preventDefault],
sender:
AutoUpdater {
_events: { 'update-downloaded': [Function], error: [Function] },
_eventsCount: 2 } } 0.0.12
[2018-04-19 17:05:43.924] [info] Checking for updates...
[2018-04-19 17:06:08.197] [info] ===== Closing Oversight =====
[2018-04-19 17:06:24.629] [info] ===== Starting Oversight =====
[2018-04-19 17:06:24.633] [info] Version: v7.9.0
[2018-04-19 17:07:24.448] [info] Checking for updates...
[2018-04-19 17:08:11.239] [error] There was a problem updating the application
[2018-04-19 17:08:11.240] [error] Error: Update check failed. The server sent an invalid response. Try again later.
@dguettler Hey, did you used it over https
without any issue?
@fott1 indirectly yes. I have Nuts running in OpenShift, so the SSL termination happens at the edge and the request Nuts receives is http only.
I'm running into the following error and am wondering if anybody has some hints how to debug this
From the Nuts logs I only see
Testing the download URL via curl gets the correct zip file.
On the electron side I have
Any advice on next steps would be appreciated.