ERR_CONNECTION_RESET in Log(main) on startup - visual-studio-code

Came back to VS Code after a while and I'm met with the following error in Log(Main):
[error] Error: net::ERR_CONNECTION_RESET
at SimpleURLLoaderWrapper.<anonymous> (electron/js2c/browser_init.js:109:7068)
at SimpleURLLoaderWrapper.emit (events.js:315:20)
In the bar at the bottom it says: Internet not connected or can't connect to GitHub. In the Recommended box under Extensions it says We cannot connect to the Extensions Marketplace at this time, please try again later.
Firefox, Chrome and Edge can connect fine as can VS Code on a XUbuntu Virtualbox on the same machine, but I am having similar problems with Discord and Signal Desktop: failed connections due to ECONNRESET errors. The only thing I've found in common so far is that all 3 are Electron apps. Signal, just like beta versions of Discord I tried, only managed to connect once.
Things I've tried:
disabling ExpressVPN/Windows Firewall/Kaspersky AV (free)
full scan with Kaspersky and MalwareBytes
changing DNS settings from automatic to Google to CloudFlare
ipconfig release-renew-flushdns-registerdns
netsh winsock reset
windows system file checker
reset home network
I logged the issue on VS Code GitHub but they sent me here so I'm hoping someone can help me with this. Been losing my mind on this for days now and really hoping to avoid a fresh install.
Edit1: I just tried safe mode with network and all problems seem to be solved. Not sure what this points to though... Faulty drivers, some conflicting startup service or program?

Well I feel like a fool..
Turns out I didn't completely shutdown Kaspersky..

Related

Java grey screen and setting JAVA_AWT_WM_NONREPARENTING for remote desktop

I'm having issue where all the java UI applications I open return an unusable grey screen. This is a known issue with known fixes.
The preferred fix is to use wmname, which would be great if my company wasn't making me jump through a million hoops to be allowed to download this program from the internet into our corporate infrastructure.
The other option was to set JAVA_AWT_WM_NONREPARENTING=1 in .xinitrc or .xinitrc. I set it in both files just to be sure and it worked perfectly... when connecting via a vnc client. Unfortunately it doesn't seem to help when connecting via remote desktop, even if I restart the xrdp server.
So how can I get my RDP connection to recognize and respect setting of JAVA_AWT_WM_NONREPARENTING?

Cannot install eclipse under ubuntu

I'm searching all over the internet and cannot find an answer to this,
I tried to configure but this error keeps happening
I solved the problem, I run apt-get update, and it started to work.
There isn't enough information to determine anything other than the fact that the application isn't communicating with the server. The server could be not functioning, you could have any number of things blocking your connection between the program and the server.
The best advice I can give it to check that you can connect to the internet and that you have no weird firewall settings.
You could run Wireshark on your computer to see if you can stop the destination and ports, and then re-check your firewall.

github extension for visual studio 2015 loses connection

I keep getting this error occasionally. It is really annoying because sometimes it fixes itself, but mostly I just have to close VS and reopen and then it will work again for a while.
It happens when I try to pull from a branch (or any other git network interaction).
Error encountered while fetching: An error occurred while sending the request.
Inner Exception:
The remote name could not be resolved: 'github.com'
Sometimes it fixes itself after an unknown period of time.
Sometimes I do nothing during that period of time.
Sometimes I click around and check out other branches and do pull requests and then it works again.
Mostly I have to restart VS to get it working again.
Has anyone else had this issue? How did you resolve?
I am also using two factor auth. if that is the issue. (Doesn't appear to be the issue)
I also receive this error when starting up VS sometimes:
We were unable to automatically populate your Visual Studio Team Services accounts.
The following error was encountered: TF400813:
Resource not available for anonymous access. Client authentication required.
So perhaps it is that the github.com authentication is being lost at some point during interactions and restarting VS fixes it.
Another clue is that when github.com can't be reached, it can't be browsed to in the browser in Visual Studio. It can be browsed to fine in Chrome (or FireFox or IE). Visual Studio also seems to lose connection to nuget.org occasionally as well, the effect appears to be the same.
Possible related issue:
Visual Studio/C#: Nuget Unable to connect to remote server
UPDATE: This happens on two different ISPs and one of them was not on the corporate firewall (this rules out network issues). When the issue happens it actually shuts down ALL network communication from within Visual Studio, so this isn't just a github.com issue. I have a ticket open with Microsoft, hopefully we will get it resolved and I can post the answer for everyone.
After back and forth with Microsoft support and the release of VS 2017.
The answer is to upgrade!

General failure. Please try again. Server may be unavailable (2013)

So today, whenever I try to sign My Blackberry app using the WebWorks packager, I get this error...
"General failure. Please try again. Server may be unavailable".
My proxy settings have not changed and I have been using the same command line instruction with success before.
I've also checked the status of the Blackberry signing server using the following link...
http://isthesigningserverdown.com/chart/index.php?sigType=RBB or RCR or RRT
And everything appears to be online!
So, where could I be going wrong? Here's the command line instruction I've been using. First, I navigate to my Blackberry build folder and run the following instruction against it...
bbwp appname.zip –g <password> –o z:\projects\appname\signed
It goes through through parsing the various elements. The signing tool pops up and then the error is generated.
So, after a couple of days of banging my head against the wall-the answer finally came to me. I'm on a MAC but am also using a Windows virtual machine for Blackberry developement, which is running on another network altogether and this specific network is using a firewall, which, according to the network administrator, is currently experiencing a severe technical problem.
The way round it was to sign my Blackberry app using configured proxy settings to communicate with the signing server and viola! It worked!

Failed to get AppContainer info: Unable to enumerate AppContainer

This issue came after #EricLaw explained me what was the problem when I could not receive a response back from my REST request.
Essentially the request was just returning blank, then I found out that if Fiddler was not running,
the application works just fine.
As Eric explains there are some security issues that I should consider when developing/debugging in Windows Server 2012.
I followed the instructions and installed the suggested utility but when I click in the AppContainer Loopback utility I get the following error: Failed to get AppContainer info: Unable to enumerate AppContainer, Is the windows Firewall Service started?
Of course, my Firewall Service is working just fine.
Additionally there is something I still don't understand, why my HTTP request works just fine whenever Fiddler is not running anyway?
Has anyone had this problem already?
PS: we need a new tag called fiddler4
I know it is a bit late to bring this up, but since I had a fix I though it might be helpful to others, too.
I used the utility described here and although it did not fix the issue for me, it had a glowing hint, the Windows Firewall.
What fixed the issue for me was starting Windows Firewall service, which I had disabled previously.
Hope this might help.