Skip to content
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

timeout exception #16

Open
armadilo opened this issue Jun 27, 2018 · 3 comments
Open

timeout exception #16

armadilo opened this issue Jun 27, 2018 · 3 comments

Comments

@armadilo
Copy link

Hi,

Every time I'm trying to do this:

Elasticsearch = new ElasticsearchInside.Elasticsearch();
await Elasticsearch.Ready();

The Ready() function throw an exception of task cancell timeout exception.

Why is that happening? any help?

@dudluk
Copy link

dudluk commented Jan 24, 2019

I think there is a hardcoded timeout and if ES does not return response 200 OK within 30s, task gets cancelled.
https://github.com/poulfoged/Elasticsearch-Inside/blob/db5bc02fecb6e27b2690bb73472806e02d9fc4ef/source/ElasticsearchInside/Elasticsearch.cs#L136

@poulfoged Is there a chance to make the timeout configurable? I'm happy to come up with MR if it works for you.

@poulfoged
Copy link
Collaborator

Sure, I'd be happy to get a MR :)

@amccool
Copy link

amccool commented May 17, 2019

#21 solved my timeout issue

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

4 participants