Eclipse unable to connect to TFS Server

Go To StackoverFlow.com

3

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!

2012-04-03 21:13
by ninjasense


0

I ended up uninstalling and re-installing eclipse and TEE plug-in. After that everything connects and works as far as TFS is concerned.

2012-04-04 16:15
by ninjasense


3

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.

2012-04-04 11:30
by Shaw Terwilliger


1

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.

2012-04-04 08:47
by KMoraz