TLS issues in Ubuntu guest after Windows 10 anniversary update

Discussions about using Linux guests in VirtualBox.
Post Reply
seb1975
Posts: 4
Joined: 10. Oct 2016, 09:09

TLS issues in Ubuntu guest after Windows 10 anniversary update

Post by seb1975 »

Hello,
I run Ubuntu 14.04 LTS in VirtualBox 5.1.6 on Windows 10. Hyper-V is disabled.

Everything has worked great until the host system was upgraded with KB3181403 (Windows 10 anniversary update).

When accessing content via an HTPS* conncetion I get the following error in my terminal now:

Code: Select all

unable to access '...': gnutls_handshake() failed: A TLS packet with unexpected length was received.
It doesn't happens with curl.
I have noticed the behavior with my own service application and with apt-get update. Last one fails now for all packages with an HTPS* source.

Any suggestions how to fix this issue?
Thanks,
Sebastian

* T in HTPS means TT. Posting urls isn't allowed for the first post on this board. But the validation here means that HTPS* is already one.
Last edited by seb1975 on 10. Oct 2016, 14:18, edited 1 time in total.
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, Linux

Re: TLS issues after Windows 10 anniversary update

Post by scottgus1 »

I don't know the solution to this problem, but you may need to attract Linux users. Try editing your post title to "TLS issues in Linux guest after Windows 10 anniversary update"
seb1975
Posts: 4
Joined: 10. Oct 2016, 09:09

Re: Try editing your post title to "TLS issues in Ubuntu guest after Windows 10 anniversary update"

Post by seb1975 »

I guess, that this issue isn't related to Linux. The point is the same VM works as expected on W7 and W8, but fails on W10 since the anniversary update.
MS has done some changes on the network stack (I can't post links, so please search for announcing-new-transport-advancements-in-the-anniversary-update-for-windows-10-and-windows-server-2016), also with view on TLS.
The Host works, the guest as well, so I would say that this is an VirtualBox issue, or isn't it?
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, Linux

Re: Try editing your post title to "TLS issues in Ubuntu guest after Windows 10 anniversary update"

Post by scottgus1 »

You're quite right. You may need to put this on the Bugtracker as well, since the developers may not be aware there's a problem yet and they'd be the ones to fix it.

But Linux users would likely be the ones running Ubuntu, so they may be able to help, thus the title-change suggestion.
seb1975
Posts: 4
Joined: 10. Oct 2016, 09:09

Re: TLS issues in Ubuntu guest after Windows 10 anniversary update

Post by seb1975 »

Thank you. I have created #16055 for this issue.
Last edited by socratis on 10. Oct 2016, 15:15, edited 1 time in total.
Reason: Added link to ticket
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: TLS issues in Ubuntu guest after Windows 10 anniversary update

Post by socratis »

Did you try to search for "gnutls_handshake() failed" on its own, forgetting for a minute that you're on a VM? I did a quick search and it definitely seems it's an issue. Just not one that has to do with VirtualBox.
scottgus1 wrote:you may need to attract Linux users
Done. Moving to "Linux Guests" from "Windows Hosts".
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
seb1975
Posts: 4
Joined: 10. Oct 2016, 09:09

Re: TLS issues in Ubuntu guest after Windows 10 anniversary update

Post by seb1975 »

Yes, this I have already tried and applied some of the suggestions, without success.

Let me ask the other way:
Is someone with the configuration I have (W10 + Anniversary Update as host and Linux as guest) able to run apt-get update without running into this issue?
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: TLS issues in Ubuntu guest after Windows 10 anniversary update

Post by socratis »

Just a generic advice; try to be as specific as possible with your setup details, i.e. instead of saying "Linux guest on a Win10 Anniv. Update", say "Ubuntu 14.04 LTS (3.2.0-109-generic-pae) on a Win10 (1607 build 14393.0)".

The way the updates are delivered these days, especially with Win10, can make the difference between light and darkness.
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Post Reply