Visual Studio 2013 Community stop Login – the online service is not available

331 views Asked by At

I have a Visual Studio 2013 Community stop working; i. e. there is no login to my MS account with a message like that:

enter image description here

I tried the solution from the link below to update registry values to enforce TLS 1.2 to be used by .NET 4.x. https://learn.microsoft.com/en-us/azure/active-directory/hybrid/reference-connect-tls-enforcement

But there is nothing changed!

Wireshark capture of login process says that with registry settings from the link above I’m using TLS 1.0 and not TLS 1.2 as the MS solution recommends:

enter image description here

I also tried to repair my VS 2013 installation, but all stays as is. What else I must to do to remove that problem?

OS: Windows 7 with critical updates installed!

1

There are 1 answers

0
Jimm Chen On BEST ANSWER

I encountered the same problem yesterday, and I have tried to figure out the solution.

With KB3140245 installed on Windows 7, I start capturing TLS session with Wireshark(WireShark runs from another Win81 PC on the same LAN segment).

If I have the following registry items:

Windows Registry Editor Version 5.00

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

VS2013 uses TLS version 1.2, and the login process works fine.

Wireshark TLS version 1.2

But if I add extra SystemDefaultTlsVersions=1 regitem, as some post/MSDN page says, VS2013 will use TLS verion 1.0, and the login process fails.

Wireshark TLS version 1.0

BTW, there is no need to add extra TLS 1.0 regkey under [HKLM\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols]

My registry of above regnode is like this, which is OK:

enter image description here

UI feedback for TLS session success is, a mini webpage pops out, asking me for my Microsoft account name. Like below:

VS2013 launcher asking for Microsoft account login

May this help you.