Search code examples
elasticsearchfiddlernest

NEST 1.0: See request on Fiddler


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


Solution

  • 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.