In Windows 10 Control Panel in a section “Network and Sharing Centre” click "Change Adapter Settings" and open properties (right mouse click) of the adapter, that you are using(it may be Ethernet or Wi-Fi).Microsoft has released Visual Studio Code 1.74 with new features including remote tunnelling in the stable release (though the feature is still described as preview), which enables developers to connect to any machine via a GitHub login. I had to disable ipv6 from my Wi-Fi adapter settings. So I suspected there must be some combination of my laptop's Wi-Fi adapter settings and the Wi-Fi network that causes the problem.įiddling with the settings of my Wi-Fi network adapter, I found what I needed to do. Only in certain wi-fi I had this problem, and only on my laptop. When, at some point, I needed to connect to a different Wi-Fi network, I realized the problem was gone. So I though ipv6 wouldn't be the root cause in my case and changed direction, but in vain. Which I did but it seems the change was ignored. The only one close enough was a post about disabling ipv6 from visual studio's config file. I removed ipv6 from my adapter settings and everything worked like a charm.Īfter reading a lot of different solutions to that problem, most of which were about configuration of proxy settings, I finally found what was causing the problem in my case. No more connection errors to visual studio marketplace.Īfter I realized that the problem appeared in certain wifi networks and not always, I suspected that something wrong is going on with my wifi adapter settings. More specifically I turned my mobile to a wifi hotspot and connected through the mobile. While connecting to the internet through another WIFI network, the problem disappeared. Having used Fiddler to inspect the problem further I get an HTTPS handshake failed. Seems that even connection to the marketplace from browser is a problem > : An existing connection was forcibly closed by the remote hostĪt .c_Displa圜lass12_0`1.b_1>d.MoveNext()<. > System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. > : The underlying connection was closed: An unexpected error occurred on a send. > (Inner Exception #0) : An error occurred while sending the request. End of inner exception stack trace -Īt (IAsyncResult asyncResult)Īt (IAsyncResult asyncResult)Īt (IAsyncResult ar)Īt (IAsyncResult asyncResult, TransportContext& context)Īt .GetRequestStreamCallback(IAsyncResult ar)Īt .ThrowForNonSuccess(Task task)Īt .HandleNonSuccessAndDebuggerNotification(Task task)Īt .d_9`1.MoveNext()Īt .c_Displa圜lass14_0`1.b_0>d.MoveNext()Īt .d_14`1.MoveNext()Īt .d_13`1.MoveNext()Īt .c_Displa圜lass12_0`1.b_1>d.MoveNext()Īt .ThrowIfExceptional(Boolean includeTaskCanceledExceptions)Īt (IList`1 extensionsPath, IStateData stateData, Boolean isRepairSupported)Īt (IStateData stateData, Boolean isRepairSupported)Īt (Boolean isRepairSupported)Īt `1.InnerInvoke() End of stack trace from previous location where exception was thrown -Īt .WatsonReport.GetClrWatsonExceptionInfo(Exception exceptionObject) > : An existing connection was forcibly closed by the remote hostĪt .EndReceive(IAsyncResult asyncResult)Īt .EndRead(IAsyncResult asyncResult) > : An error occurred while sending the request. 17:52:17 - System.AggregateException: One or more errors occurred. 17:52:17 - END: Processing extension pack 17:52:17 - END: Gathering extension pack information 17:52:17 - at .ThrowIfExceptional(Boolean includeTaskCanceledExceptions)Īt `1.GetResultCore(Boolean waitCompletionNotification)Īt `1.get_Result()Īt .GetExtensions(List`1 extensionIds, Int32 lcid, Boolean forAutoupdate)Īt (List`1 vsixIds, String extensionPackParentName, IExtensionEngine extensionEngine, List`1 extensionsToInstall, CancellationToken cancellationToken) I opened the logs and again, same error: 17:52:17 - One or more errors occurred. I tried to install an extension from the marketplace site. No clue whatsoever on what is happening, why, and how to solve it. If I refresh several times, there is a change that I may see the extensions, but in the next refresh or when going to next page of extensions, I see the same thing. Going to install some extensions and I see this Just installed vs2019 community on a fresh laptop.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |