Squirrel.Windows icon indicating copy to clipboard operation
Squirrel.Windows copied to clipboard

Inconsistent update detection from production web server

Open Slion opened this issue 5 years ago • 1 comments

Squirrel version(s) 2.0.1

Description Update is working fine when testing from a network path or a test web server. However once switching to our production web server update behaviour is inconsistent. Sometimes it just won't detect the update. It looks like the RELEASES file is not properly downloaded from that specific web server for some reason. Though RELEASES file is properly download from any web browser it seems.

It does look like our web server configuration is causing the problem. However surely their must be a way for Squirrel to still fetch that file properly since browsers can do it. I'll have to take a look at Squirrel code to see if I can pinpoint the issue.

Steps to recreate Try update from production web server. Yes, I know, it does not help you :)

Expected behavior Update is detected.

Actual behavior No update detected.

Additional information It looks like RELEASES is sometimes partially downloaded.

Slion avatar Oct 21 '20 09:10 Slion

We found what the issue is. Turns out our production web server has some sort of URL specific caching in place. That means it is not playing well with the URL parameters Squirrel provides when downloading RELEASES. It would be great if there was a way to tell Squirrel not to provide those parameters. Though to be honest it is more of a server issue.

Slion avatar Oct 21 '20 13:10 Slion