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

500 Server Error Version not found #237

Closed
vandykew opened this issue Apr 23, 2020 · 13 comments
Closed

500 Server Error Version not found #237

vandykew opened this issue Apr 23, 2020 · 13 comments
Labels

Comments

@vandykew
Copy link

vandykew commented Apr 23, 2020

Feed URL:https://updateserver.com/update/win32/1.0.1/stable/

URL autoUpdater is checking: https://updateserver.com/update/win32/1.0.1/stable/RELEASES?id=XXXXX_client&localVersion=1.0.1&arch=amd64

I have verified that both the EXE and NUGET packages are uploaded

Every time the app checks for an update we get a 500 error version not found

If I remove RELEASES?id=XXXXX_client&localVersion=1.0.1&arch=amd64 then I get a 204

@craigwduckett
Copy link

What if you get rid of everything from the '?'

@vandykew
Copy link
Author

vandykew commented Apr 23, 2020 via email

@craigwduckett
Copy link

Are you adding RELEASES yourself? If so then dont. ERS does this for you.

@vandykew
Copy link
Author

vandykew commented Apr 24, 2020 via email

@craigwduckett
Copy link

You say nuget but do you mean xxx-full.nupkg

@vandykew
Copy link
Author

vandykew commented Apr 24, 2020 via email

@vandykew
Copy link
Author

I also did a manual upload of the files and still the same error

@craigwduckett
Copy link

Are you able to provide the code for autoUpdater?

@vandykew
Copy link
Author

const updateServer = 'https://updateserver.com'
const feed = ${updateServer}/update/${os.platform()}/${app.getVersion()};

autoUpdater.setFeedURL(feed)

@vandykew vandykew changed the title 500 Server Error 500 Server Error Version not found Apr 29, 2020
@vandykew
Copy link
Author

It seems as its not finding the release file, but I can confirm that it is in the assets folder

@sergio-caro
Copy link

Does your URL feed end with slash / (as you posted: /stable/)? If so, try without it, like /stable. I had myself some troubles with the last slash, like the logic wants more params.

Another question, maybe silly. Are you sure you are testing from an outdated version? For example, testing with the open app in 1.0.0, and the upload server with 2.0.0. Sometimes, if the app is in the top version, the server responds with a 500 (sometimes, not always).

@flatrow
Copy link

flatrow commented May 20, 2020

Hi,
I don't know if this is related to your problem but I was facing 500 server error in this method because of incorrect version comparison and have opened PR that resolves this issue.

@stale
Copy link

stale bot commented Jul 19, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label Jul 19, 2020
@stale stale bot closed this as completed Jul 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants