Skip to content

Inner Exception not available in MaxRetryException in a couple of scenarios (Related to #935 ) #1176

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
mosiddi opened this issue Dec 24, 2014 · 5 comments

Comments

@mosiddi
Copy link

mosiddi commented Dec 24, 2014

Since #935 is closed, I'm opening a new issue. I've added my comments there. (#935)

A simple scenario to simulate the behavior is -

  1. Initialize NEST Client with 3 connection strings (localhost:9300, localhost:9400, localhost:9500) none of which are really ES endpoints
  2. Try doing a get Index with that NEST client
gmarz added a commit that referenced this issue Jan 2, 2015
@gmarz
Copy link
Contributor

gmarz commented Jan 2, 2015

Hi @mosiddi

I'm having a hard time trying to reproduce this. Can you take a look at b8db99a#diff-1ccd09a4059a3f4868fb4c32cc738557R16 and see if you could get it to fail, or spot something that we're missing?

@mosiddi
Copy link
Author

mosiddi commented Jan 2, 2015

The only difference I see in my v/s your test is I have ping disabled.

     ConnectionSettings connectionSettings = new ConnectionSettings(connectionPool)
            .DisablePing()
            .UsePrettyResponses();

@gmarz
Copy link
Contributor

gmarz commented Jan 2, 2015

@mosiddi thanks 👍. I was able to confirm this and have proposed the above fix.

@mosiddi
Copy link
Author

mosiddi commented Jan 3, 2015

Thanks @gmarz. Appreciate it.

@mosiddi
Copy link
Author

mosiddi commented Jan 8, 2015

Awesome. Thanks!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants