Application works with fiddler ON and doesn't works without fiddler?

末鹿安然 提交于 2021-02-09 10:50:37

问题


I have a silverlight application it makes HTTPS request, it works fine when I am tracing the application with fiddler ON, But it throws Remote server not found error when I don't have fiddler running


回答1:


I ran into this recently, in Fiddler Options->HTTPS I had 'ignore server certificate errors' checked. Unchecked that and Fiddler displayed a certificate error.

Ended up adding the code mentioned here http://social.msdn.microsoft.com/Forums/en-US/ncl/thread/43a933b8-e2b1-40a7-ac23-9bf3fc14b1f0




回答2:


We had this problem and found that .NET apps had a global proxy override added in their machine.config.

In our case it was the machine.config in the C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Config folder.

<!-- The following section is to force use of Fiddler for all applications, including those running in service accounts -->
    <!-- C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Config\machine.config -->

<defaultProxy
    enabled = "true"
    useDefaultCredentials = "true">
    <proxy autoDetect="false" bypassonlocal="false" proxyaddress="http://127.0.0.1:8888" usesystemdefault="false" />
</defaultProxy>


来源:https://stackoverflow.com/questions/12046140/application-works-with-fiddler-on-and-doesnt-works-without-fiddler

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