wyUpdate Failing to Update Itself

Hi,

I just released some updates to a service that I run internally. I went into one of the computers that the service is running on and restarted the service to force an update and it failed. I then went into the program's folder and tried running wyUpdate manually. It appears that it is wyUpdate that is failing to update itself (the current version of wyUpdate for this service is 2.6.16.4 and I would think it is trying to update to 2.6.18.

The exact error message is "Error trying to save file: Could not download "http://wyday.com/files/wyupdate/updates/client.wys" - a web page was returned from the web server."

If I try to navigate to that url with a browser, it downloads the client.wys file.

In an interesting twist of additional information, I just tried running wyUpdate with the exact same app (same version of wyUpdate and server service) on a different server, all within the same local domain and it updates fine. I then returned to the first server and am getting the same error. I copied the working wyUpdate from the second server to the first server and it failed, despite working fine on the second server.

The first (failing) server does have internet access, I confirmed by loading the url in the error message in a browser.

It sounds like something is blocking access to the file on that server. We haven't had any downtime in the last week, so the error is not on our end. Do connections on that computer go through a proxy? If so, have you configured wyUpdate to use the proxy?

Thanks, I got it sorted out.

Our web filtering software was blocking the calls to wyday.com (probably because of .wys extension). The other server that I tried it on fell under Murphy's Law and it was our web server which doesn't go through our web filter.

OK, well I spoke too soon. I updated the one of the services on the this server (it is a server host service / client service setup) and it went though fine, but I then went to update the client service on the very same machine within 10 seconds it successfully pulled the client.wys and went to "Downloading Latest wyUpdate" then failed with this error....

Error trying to save file: Error downloading "http://wyday.com/files/wyupdate/updates/client.all.to.2.6.18.wyu": The remote server returned an error: (404) Not Found.

I tried navigation to that http://wyday.com/files/wyupdate/updates/client.all.to.2.6.18.wyu and was greeted with a 404 error on your site.

That's because that file really doesn't exist (we removed it from our servers because it has a critical bug). Cancel the update and retry. It will download the latest *.wys files which in turn references the newest wyUpdate update file.

We're going to fix the AutomaticUpdater so it does that automatically from now on (that is, retry if the *.wys file is too old or references updates that no longer exist).

Boy this has been a really bad week for us.

Thank you, that worked. Just one question, when you say critical error, how will this affect other apps I have out there that have already updated to the latest wyUpdate that may not have actual application updates for a while?

If they sucessfully updated to wyUpdate 2.6.18.0 then there will be no problem. The problem was under certain conditions wyupdate might fail to update itself to 2.6.18.0. But if wyUpdate 2.6.18.0 sucessfully installed then there will be no problem.