Fiddler breaks NuGet

1 Answer 384 Views
Fiddler Classic Windows
George
Top achievements
Rank 1
George asked on 15 Jun 2021, 04:34 PM | edited on 15 Jun 2021, 04:35 PM

Hello. I installed Fiddler 4 and now whenever I use NuGet, in Visual Studio 2019 or in other applications that use NuGet, no feeds work unless I open Fiddler 4. I thought that removing Fiddler 4 and the HTTPS certificate would fix the problem, but it didn't, so I reinstalled Fiddler 4 to be able to use NuGet.

I also had Fiddler Everywhere installed, but having it open or closed doesn't make NuGet work, only Fiddler 4 does.

Things I tried:

  • remove the HTTP certificate, ensure no proxy settings are set, also checked HTTP_PROXY env variable is not set, rebooting
  • when I open Fiddler 4 I can see the proxy settings, removing them while Fiddler 4 is still running does NOT break NuGet (I expected the proxy settings to be the problem, but they are not?)
  • uninstall Fiddler 4 (and Fiddler Everywhere) and reboot
  • followed multiple instructions from here https://www.telerik.com/forums/fiddler-proxy-settings-have-corrupted-visual-studio-networking

I'm at a loss here, I just want NuGet to work without having to open Fiddler. How can it still be broken even after removing Fiddler?

What else should I try?

George
Top achievements
Rank 1
commented on 17 Jun 2021, 10:57 AM

Thank you!!! This was it!

1 Answer, 1 is accepted

Sort by
1
Accepted
Nick Iliev
Telerik team
answered on 16 Jun 2021, 08:53 AM

This is a known issue with the Nuget executable working behind a proxy. The thing is that Nuget is caching the proxy settings it uses and then won't reset those settings as expected when the proxy is removed/changed (the issue is known to appear with many proxy configurations and is not related to the Fiddler configuration).

Refer to this SO thread for a possible solution. You could either remove the discussed files manually or reset them through the provided Nuget CLI commands.

Tags
Fiddler Classic Windows
Asked by
George
Top achievements
Rank 1
Answers by
Nick Iliev
Telerik team
Share this question
or