Up until recently, everything worked just fine.
However, now, I can no longer connect to Team Foundation Service unless the Fiddler is opened?!
A couple days ago, I've setup the Fiddler according to the configuration tips DecryptHttpS and tip2 and the issues began to occur.
This is the message I get when I try to connect.
I've tried
- turning off decrypt https
- removing all Fiddler certificates
- uninstalling Fiddler
- removing all cookies from IE
- ...
and many other things that crossed my mind, but with no success.
Seems like VS just can't get to TFS without it.
Meanwhile, I can view the TFS perfectly from browser. (And yes, opening a new instance of VS from home page of TFS doesn't work either)
Any suggestions?
Finally managed to get to the bottom of this.
The issue was caused by the following entry in the machine.config in C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config and C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Config
<system.net>
<defaultProxy enabled = "true" useDefaultCredentials = "true">
<proxy autoDetect="False" bypassonlocal="False" proxyaddress="http://127.0.0.1:8888" usesystemdefault="False" />
</defaultProxy>
</system.net>
Once I got rid of it, everything started working again.
Typically, this would indicate that the client is configured to use a proxy at 127.0.0.1:8888
even when Fiddler isn't running. Typically, .NET clients get their proxy settings from the system whenever they start.
Without Fiddler running, what are your proxy settings inside IE's Tools > Internet Options > Connections > LAN Settings?
If you start Fiddler, then untick File > Capture Traffic, then start your TFS client, do you see Fiddler capturing the client's requests even though capture is disabled?
VS 2012 does not make this easy. Try the following.
1. Shut down VS
2. Open IE
3. Clear your cache
4. Shut down IE
5. Open VS
In VS 2013, you would need to remove the URL from the connection dialog and re-add it.