NEST 1.0: See request on Fiddler

徘徊边缘 提交于 2019-12-24 23:17:54

问题


I just updated to NEST 1.0, I have Elastic Search on a remote server (not localhost then) and usually I had no problems seeing the request being sent and received by using Fiddler. After the update, bammm, no requests detected but they are being made without a problem by my app.

Do you have any idea of what it is happening?

Thanks, David


回答1:


Automatic proxy detection is disabled by default in 1.0.

You need to enable it:

var settings = new ConnectionSettings(...)
    .DisableAutomaticProxyDetection(false);

Check out this GitHub issue for some background on why this was changed.



来源:https://stackoverflow.com/questions/24930987/nest-1-0-see-request-on-fiddler

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