-
Notifications
You must be signed in to change notification settings - Fork 546
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
Squirrel Endpoint for Windows Either 404 or empty #17
Comments
@ractoon i've got the same problem on win32, I think it has to with the wrong filename being downloaded (or at least tried when there is no x64 file available). When my architecture is ia32, it should be downloading: AppName-1.4.1-ia32-full.nupkg but it downloads AppName-1.4.1-full.nupkg (which is the default x64 filename). Need to further investigate this, @ArekSredzki maybe this is a hint in the right direction? |
@stevenkroon Ah, very interesting. I removed the "ia32" from the nupkg file and uploaded it and it does indeed update with that file now. Since I just have 32-bit applications this isn't a big deal, I can just rename but others who do both may encounter problems. |
Hi @ractoon sorry for the slow response, I'm on vacation in Europe so my availability is exceptionally poor. The This change was introduced to avoid the server from having the app updated endlessly #8 Squirrel.windows could not possibly be documented any more poorly, so I con't know what it actually expects. Could you try removing the line linked above and letting me know if it works? |
If that doesn't work, and I honestly doubt that it will, then the next step to take will be to allow the server to download the ia32 bit file using the other name. |
Hey @ArekSredzki I should have reported back to you earlier upon this. I removed the replace, and just returned the If there is anything you want me to test let me know. |
@stevenkroon does it not constantly say that there's an update available? |
@tkambler could you advise as to what happens if you remove this line as well? |
@stevenkroon @tkambler ping! |
Hm, there used to be docs for the exact format of RELEASES but it seems to have disappeared in the latest version of the documentation. https://github.com/Squirrel/Squirrel.Windows/tree/0.99.1/specs has more of the technical details of how RELEASES files should be formatted. The short version is, it's:
So:
That filename is parsed, you can't include |
Hi There,
I'm working with the latest release of electron-release-server 1.1.1 and am getting some odd errors from Squirrel when setting the endpoint for updates.
From digging it seems that Squirrel.Windows auto-appends the /RELEASES to the URL set for auto-updates. So initially I had set my update endpoint to:
https://download.myapp.io/update/win32/1.0.0/stable
I'm able to access that directly and get the RELEASES file, but Squirrel is throwing an error saying:
The remote server returned an error: (404) Not Found.
Additionally if I change the endpoint to (just for testing):
https://download.myapp.io/update/win32
I get the error:
Remote release File is empty or corrupted
Which seems to be at least reaching the server. Not sure if I'm missing something in my configuration that could be causing this. Any insights you could offer would be greatly appreciated.
Thanks!
The text was updated successfully, but these errors were encountered: