Error - Failed to register Fiddler as the system proxy

有些话、适合烂在心里 提交于 2020-02-25 09:28:27

问题


When I try to run FiddleApplication.Startup(startupConfig)

FiddlerCoreStartupSettings startupSettings = newFiddlerCoreStartupSettingsBuilder()
                    .ListenOnPort(0)
                    .RegisterAsSystemProxy()
                    .DecryptSSL()
                    .Build();

FiddlerApplication.Startup(startupSettings);

In my log events I see:

Starting FiddlerCore/4.6.20191.7809 (NoSAZ)...
** LogString: !WARNING: The DefaultLAN Gateway information could not be obtained.
** NotifyUser: Error - Failed to register Fiddler as the system proxy.

I'm running the process as administrator.

Note: When I run the normal Fiddler UI application everything works fine. Even running an older FiddlerCore version (2.3) is able to register itself as the system proxy.

P.S - I also see a warning in Visual Studio - "Please use Telerik.NetworkConnections.NetworkConnectionsManager to register the FiddlerCore Proxy as the system proxy." But I couldn't find any documentation/examples using NetworkConnectionsManager and I couldn't figure out how to use it.

来源:https://stackoverflow.com/questions/57870029/error-failed-to-register-fiddler-as-the-system-proxy

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!