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?
Asked
Active
Viewed 7,613 times
4

Edward Thomson
- 74,857
- 14
- 158
- 187

Gary Kephart
- 4,860
- 5
- 39
- 52
3 Answers
5
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.

gonzobrains
- 7,856
- 14
- 81
- 132

Edward Thomson
- 74,857
- 14
- 158
- 187
-
Thanks for the suggestion, but we don't have proxy servers here, so I can't use Manual. Tried Direct and no luck there either. – Gary Kephart Mar 06 '13 at 17:40
-
Interesting! Mind bringing this over to http://social.msdn.microsoft.com/forums/en-us/tee where we can dive a little deeper? – Edward Thomson Mar 06 '13 at 18:22
-
(Alternately, you could post the relevant details of your Team Explorer Everywhere log files in your question... They're in `%LOCALAPPDATA%\Team Foundation\4.0\Logs`... Whichever you prefer!) – Edward Thomson Mar 06 '13 at 19:11
-
There is no Team Foundation subdirectory. – Gary Kephart Mar 06 '13 at 22:49
-
Pardon me, I misspoke. `%LOCALAPPDATA%\Microsoft\Team Foundation\4.0\Logs`. – Edward Thomson Mar 07 '13 at 14:51
-
Don't worry. I'm glad for your help. Found the log files, but they're all empty files. The file names are teamexplorer-soap-plugin-2013.03.06-17.30.15.log and teamexplorer-plugin-2013.03.06-17.30.15.log – Gary Kephart Mar 07 '13 at 17:20
-
That's disappointing - I assume you have mylyn installed and that they haven't yet fixed this bug: https://bugs.eclipse.org/bugs/show_bug.cgi?format=multiple&id=353168 – Edward Thomson Mar 07 '13 at 17:28
-
I do not have mylyn installed. – Gary Kephart Mar 07 '13 at 17:40
-
I take it back. It looks like I have Mylyn installed, but I've never used it. Shall I remove it? – Gary Kephart Mar 07 '13 at 18:04
-
That should allow us to write our log files - it would be helpful. – Edward Thomson Mar 07 '13 at 18:13
-
Ok, THAT was painful. Got the contents though. From the soap-plugin log: 2013-03-07 14:43:33,644 SOAP method='Connect', status=-1, content-length=-1, server-wait=-1 ms, parse=16557 ms, total=16556 ms, throughput=0 B/s, uncompressed 2013-03-07 14:43:49,684 SOAP method='Connect', status=-1, content-length=-1, server-wait=-1 ms, parse=16029 ms, total=16028 ms, throughput=0 B/s, uncompressed – Gary Kephart Mar 07 '13 at 22:47
-
let us [continue this discussion in chat](http://chat.stackoverflow.com/rooms/25814/discussion-between-gary-kephart-and-edward-thomson) – Gary Kephart Mar 07 '13 at 22:47
-
I was receiving a 503 error and used this solution to disable the proxy settings I added so that Eclipse could do updates. It seems to have worked. How can I get updates and TFS connectivity to coexist? – gonzobrains Apr 12 '13 at 20:09
-
@gonzobrains I think you'll need to specify your accurate proxy settings in the 'Manual' setting. – Edward Thomson Apr 12 '13 at 20:13
-
I have proxy settings that work for connecting to get updates, but I had to disable them in order to connect to TFS with the plugin. – gonzobrains Apr 12 '13 at 20:39
-
@gonzobrains: It sounds like your TFS server has not been added to your proxy exclusion list. – Edward Thomson Apr 12 '13 at 21:01
-
@EdwardThomson Is that a setting I can changed within Eclipse? – gonzobrains Apr 12 '13 at 22:03
-
@EdwardThomson Is it the "proxy bypass" settings? – gonzobrains Apr 12 '13 at 22:17
-
@gonzobrains - Yes, you'll want to bypass the proxy to hit your TFS server, so you'll need to add your TFS server to that list. – Edward Thomson Apr 12 '13 at 22:33
4
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.

Gary Kephart
- 4,860
- 5
- 39
- 52
0
Use the URL of http://myhost:8080/tfs
in your server connection page rather than http://myhost:8080/tfs/web/
?

Martin Woodward
- 11,770
- 31
- 45