ForceCheckForUpdate waits forever if update server unavailable

Hi there,

First of all thanks for a great product it's been really great for us and has worked perfectly.

I have purchased the product (14-May-2012, please let me know if you need verification details for support).

Today I have run into this issue: 1) Due to problems with our hosting company our update server is in an intermittent state. It appears the IIS server is running however the storage it connects to is down so it's having problems delivering requests. 2) Our app (WinForms C#) calls "automaticUpdater1.ForceCheckForUpdate();" at program start then initializes the rest of the application. I have event listeners in place (checking failed, up to date, ready to be installed, etc.) and I start or update the application based on the event raised.3) It appears that the call to 'ForceCheckForUpdate' method hangs waiting for the 'wyserver.wys' file to be delivered. None of the events are called and so my application never starts / updates.

Please see this link to show the "Fiddler" output of the request wyBuild updater tries to make: https://dl.dropboxusercontent.com/u/48240680/AutoUpdateIssue.PNG

I just wanted to know if there was a 'timeout' setting I can put on the 'ForceCheckForUpdate' call or is there another event I can listen for etc?

Thanks once again for a great product and your help in this matter,

John

Hey John,

What version of wyUpdate & AutomaticUpdater are you using? Right click the files that are used in your product and then click "properties".

I just wanted to know if there was a 'timeout' setting I can put on the 'ForceCheckForUpdate' call or is there another event I can listen for etc?

ForceCheckForUpdate() does have a timeout (I believe it's about 60 seconds) for "stuck" connections. It's not configurable though.

Hi Sam,

Thanks for the quick reply.

I think the version is: 2.6.18.4.

I have taken a screenshot here: https://dl.dropboxusercontent.com/u/48240680/Version.PNG

Our application is a digital signage app. When the app starts we do the check for a new version. It would be great if we could configure the timeout because 60 seconds can seem like an age if there a number of people looking at a blank sign.

Cheers