NEST 1.0: See request on Fiddler

2019-09-06 03:58发布

问题:

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.