Use the .NET 4.0 version of wyUpdate, and make sure you can access your site from Internet Explorer (i.e. your web server might not be configured correctly -- ciphersuite support in particular)
I'm getting the following error when running wyUpdate (the example.com is just that an example). Everything else is as displayed. I can download the file directly using a web browser. I've tried it via HTTPS and HTTP. Both give the same error.
Error trying to save file: Error downloading "https://www.example.com/updates/active911-cvd/wyserver.wys": The underlying connection was closed: An unexpected error occurred on a send.
Use the .NET 4.0 version of wyUpdate, and make sure you can access your site from Internet Explorer (i.e. your web server might not be configured correctly -- ciphersuite support in particular)
I am facing similar issue on more than 20 machines where the update with wyUpdate used to work earlier but no longer does. I am using .NET 4.0 of wyUpdate and on those machines, I am able to access my server and download the wyServer.wys file using the browser
Appreciate any help to further investigate this issue
By the way, I figured out that this was happening because our update server was changed to use Tls1.2 by default and hence the below error is occuring. When we switch the server to support Tls1.0, it works. Any idea on how to make the update work even if the server only supports Tls1.2?
Yes, as stated above "Use the .NET 4.0 version of wyUpdate"
BTW, I am using the AutomaticUpdater and doing it through setting the wyUpdateCommandline property of AutomaticUpdaterBackend. Is there any extra setting that I need to do to the commandLine to make it work?
Use the .NET framework 4.0 version of wyUpdate. Don't use the AutomaticUpdater at all. We're dropping support for that in the next version (too easy to mis-use, and wyUpdate by itself has nearly identical features without the ability to shoot yourself in the foot).
But as I mentioned earlier, I am already using .NET framework 4.0 version of wyUpdate. And if I should not use AutomaticUpdaterBackend, how can I achieve autoupdate from an application that runs as windows service (with no UI)
SrividyaTR wrote:> But as I mentioned earlier, I am already using .NET framework 4.0 version> of wyUpdate. And if I should not use AutomaticUpdaterBackend, how can I> achieve autoupdate from an application that runs as windows service (with> no UI)
TLS 1.2 look here https://wyday.com/forum/t/4194/wyupdate-exe-fails-to-communicate-with-tls-1-1-server/