Update fails - unexpected error on receiveSolved

Hello Wyatt-

I am getting this error message when trying to update my customer's installation.

Error trying to save file: Error downloading "http://xxx.xxx.xxx.xxx/updates/easy.all.to.24.1.8950.22814.wyu": The underlying connection was closed: An unexpected error occurred on a receive.

I just ran wyUpdate on my development machine and the update downloads and installs just fine.

Recommendation?

Answer

It's a .NET bug, covered here: https://wyday.com/forum/t/3882/error-downloading-could-not-create-ssltls-secure-channel/#post-22523

The next version of wyUpdate is a native app to avoid .NET shenanigans.

Oy vey.

I added registry keys as suggested in that answer like so:

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\v4.0.30319]
"SchUseStrongCrypto"=dword:00000001

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\.NETFramework\v4.0.30319]
"SchUseStrongCrypto"=dword:00000001

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.2]

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.2\Client]
"DisabledByDefault"=dword:00000000
"Enabled"=dword:00000001

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.2\Server]
"DisabledByDefault"=dword:00000000
"Enabled"=dword:00000001

And rebooted but I still get the same error.

Anything else I can try?

I just read that answer further. 

Should I be fixing registry settings on my wyBuild Devel machine or the customers PC?

(And thanks for the quick answer ;) )

, edited

Any machine where you get the error.


Also, check your server logs to see if the TLS issue is the issue you’re facing.

I am still having this issue. 

TLS is not the problem. There is nothing in the error log and everything seems to me OK on the webserver side

80.80.80.80 mywebserver.mydomain.com - [05/Aug/2024:17:47:16 -500] “GET /updates/wyserver.wys HTTP/1.1” 200 1999 “-”  “Mozilla/5.0 (Windows; U; MSIE 9.0 Windows NT 6.1; en-US; wyUpdate)”

Applying those registry patches on my customer's PCs has not fixed the problem.

We're totally frozen here since our customer can no longer update.

, edited

It might be something locally on their side. Update windows and uninstall all VPNs. If they’re still having problems use wireshark to debug their computer.

Thanks will do

Turns out it was their Sophos firewall. The customer's IT insisted it had been configured properly, then one of their Tier 3 techs discovered that it actually wasn't.

Thanks, Wyatt

No problem. Glad to help.