NEST 1.0:请见Fiddler [英] NEST 1.0: See request on Fiddler

查看:218
本文介绍了NEST 1.0:请见Fiddler的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚更新为NEST 1.0,我在远程服务器上弹性搜索(不是本地主机),通常我没有看到使用Fiddler发送和接收请求的问题。更新后,bammm,没有检测到任何请求,但我们的应用程序没有问题。



你有什么想法吗?


谢谢,
David

解决方案

自动代理检测被禁用



您需要启用它:

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

查看这个GitHub问题的一些背景为什么这是改变。


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

解决方案

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.

这篇关于NEST 1.0:请见Fiddler的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆