0

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

David Graça
  • 333
  • 3
  • 15

1 Answers1

3

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.

Greg Marzouka
  • 3,315
  • 1
  • 20
  • 17
  • Cool, it was exactly that. Thanks. By the way I think the issue you were talking about was https://github.com/elasticsearch/elasticsearch-net/issues/813 – David Graça Jul 25 '14 at 09:18
  • Great! Well, #813 is reporting the issue, but #809 (the one I linked) explains the reason for changing the default. – Greg Marzouka Jul 25 '14 at 11:38