question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Server returns 500 on update queries

See original GitHub issue

Hi, I’m trying to get windows updates working, but the server returns a 500 when the client queries for new versions.

The client is version 1.0.0-alpha9 and the next version is a stable 1.0.0.

The url looks like this: /update/win64/1.0.0-alpha9/alpha/releases?id=ask&localversion=1.0.0-alpha9&arch=amd64

But the server returns a 500: No version available. Shouldn’t that be a 404?

Also, when I look at the logs, all I get is:

Applying disable cache policy
Windows Update Search Query { platform: [ 'windows_64' ],
  version: '1.0.0-alpha9',
  channel: 'alpha' }
Applicable Channels [ 'stable', 'rc', 'beta', 'alpha' ]
Time Filter { '>=': 2016-11-24T13:44:50.000Z }
Version not found

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:7 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
tarjeicommented, Dec 5, 2016

Dang! I believe I have actually done this misstake before?

Maybe you should add some documentation regarding this point?

2016-12-05 20:09 GMT+01:00 Arek Sredzki notifications@github.com:

@tarjei https://github.com/tarjei Oh! There’s your problem 😃 You have to upload .nupkg assets for the auto-updater to use. The .exe files are only used for new installs.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ArekSredzki/electron-release-server/issues/99#issuecomment-264946144, or mute the thread https://github.com/notifications/unsubscribe-auth/AAM5Pw527MssXc1yEgFlHpJ0CXpUxWxdks5rFGF-gaJpZM4LEC_m .


Tarjei Huse Mobil: 920 63 413

1reaction
ArekSredzkicommented, Dec 5, 2016

@tarjei Oh! There’s your problem 😃 You have to upload .nupkg assets for the auto-updater to use. The .exe files are only used for new installs.

Read more comments on GitHub >

github_iconTop Results From Across the Web

HTTP 500 Internal Server Error: What It Means & How to Fix It
An HTTP 500 internal server error is a general error message. It covers unexpected issues that don't fit into existing error codes. HTTP...
Read more >
How to Fix a 500 Internal Server Error on Your WordPress Site
The 500 Internal Server Error status code occurs when the server encounters an error that prevents it from fulfilling the request.
Read more >
ServerError 500 on updating mysql table - php - Stack Overflow
The first issue I spotted is that your UPDATE statement has two parameters :isloggedin, :username but only the first of them is bound...
Read more >
500 Internal Server Error - HTTP - MDN Web Docs - Mozilla
This error response is a generic "catch-all" response. Usually, this indicates the server cannot find a better 5xx error code to response.
Read more >
How to Fix a 500 Internal Server Error - Lifewire
The 500 Internal Server Error is a very general HTTP status code that means something has gone wrong on the website's server, but...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found