I am using eclipse with Microsoft Visual Studio Team Explorer Everywhere 2010. I was able to successfully import my Project, but every time I open eclipse, The progress window gets stuck at 60% while trying to "Refresh TFS Server Information for http://my.server".
Eventually I will get an error from eclipse:
An internal error occured during:"refreshing server item information for project MyProject".
com.ctc.wstc.exc.WstxIOException: Connection reset.
Also I get this messagewhen trying to refresh manually:
An internal error occured during:"Refreshing TFS Server information for http://my.server".
[com.ctc.wstx.exc.Wstx.LazyException] Connection reset.
Any help is greatly appreciated!
The "Connection reset" is coming from TEE's network communication layer and message points to a network problem. Can you use any TFS features from the plug-in (is "Refresh Server Item Information" the only thing that fails)? If you can't use any TFS features from the plug-in, check that Eclipse's HTTP proxy configuration is correct.
If you can use some TFS features, but the server item information refresh feature is failing, check that you don't have an HTTP proxy, firewall, or NAT device between your client and TFS that is dropping TCP sockets after a short time. Refreshing information for a large number of files, or from a heavily loaded server, may take a while (perhaps minutes). A network device that "drops" the active TCP socket without notifying the client would cause this behavior.
First, install TEE SP1 if you didn't already.
If the error persists, it might be a potential bug so post it on connect or on the TEE forum.
I ended up uninstalling and re-installing eclipse and TEE plug-in. After that everything connects and works as far as TFS is concerned.
Related
I am using eclipse Juno Service Release 2, and I am trying to connect to a SVN server via SVN Repository Exploring perspective but I get an "svn:E210003:connection refused by the server" error.
I tried the suggested solutions to modify Active Provider to "Manual" and "Native" also in Network Connections from Window->Preferences but I still face this issue. Please take note that I am not able to access command prompt due to insufficient privileges and also the credentials work for one of my colleague, so I just think it might be a proxy issue.
Could you please suggest how can I solve this issue or what to investigate further more?
You likely have to be given permission to connect to the svn server by whoever is acting as its administrator.
I have installed SVN server on my Synology NAS and have successfully connected my Eclipse Java project to it.
However, I do not want to have the NAS online all the time.
I have not been able to see how I can get the SubVersive Eclipse plugin to connect to SVN "on demand" only.
Is this possible ?
Is it "safe" for me to work like this ?
Subversion already works in this way. It's designed to work in an "offline" mode, only communicating with the server when performing checkouts, commits, locks, updates, looking at logs, etc. If you're not performing an operation which requires data from the server, the client doesn't attempt to contact the server.
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!
I have downloaded the latest eclipse version, eclipse kepler.
But when i try to access the Marketplace inside eclipse or try to install ADT plugin for Android, it gives me this creepy error which is driving me crazy:
Cannot open Eclipse Marketplace
Cannot install remote marketplace locations: Connection failed
This is most often caused by a problem with your internet connection. Please check your internet connection and retry.
Unable to read repository at http://marketplace.eclipse.org/catalogs/api/p.
Connection reset
Connection failed
This is most often caused by a problem with your internet connection. Please check your internet connection and retry.
Connection reset
please put below line to eclipse.ini in the last it worked for me
-Djava.net.preferIPv4Stack=true
I figured out finally that:
Avira Anti-Virus Software was blocking the network requests by eclipse.
After deactivating "enable web protection" in the Anti-Virus,
the stupid Eclipse was able to update itself.
If you are sitting behind a corporate network it could be filtering out requests coming from eclipse. Switching to 3G on my phone made it work for me.
This frustrated me for a while before I stumbled upon this link:
https://www.eclipse.org/forums/index.php/t/783720/
It says clear SOCKS entry in Network connections and be in manual Active Provider.
The SOCKS entry was already clear but after clicking on clear again, it just worked so worth a shot.
We have the TFS server installed and running at http://myhost:8080/tfs/web/.
I've installed the Eclipse TFS plugin and updated Eclipse to 4.2
However, when I try to add a TFS server in the Team Explorer perspective, I get "The server myhost failed to respond"
How can I get this to work?
Eclipse has some issues with the default proxy detection.
Go to Window -> Preferences -> General -> Network Connections and set Proxy to anything other than Native.
You can choose Direct, but you'll have issues if you need to perform software updates or installation. Or you can choose Manual and configure your proxy settings manually.
Just found the answer. It's because "Cisco AnyConnect Web Security Agent" was running on my machine. I turned it off and now the TFS plugin is working.
Use the URL of http://myhost:8080/tfs in your server connection page rather than http://myhost:8080/tfs/web/?