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

Using aws-es-proxy in conjunction with elasticdump #80

Open
puzzledvacuum opened this issue Aug 25, 2020 · 2 comments
Open

Using aws-es-proxy in conjunction with elasticdump #80

puzzledvacuum opened this issue Aug 25, 2020 · 2 comments

Comments

@puzzledvacuum
Copy link

I have multiple projects that use the proxy to gain access to es clusters within aws (moving millions of documents per week) and after bumping the version to either v1.0 or v1.1 the upload stage fails with message:

  • Client.Timeout exceeded while awaiting headers

The only thing that helps is rolling back to version 0.9 of the proxy.

@abutaha
Copy link
Owner

abutaha commented Sep 10, 2020

That's an interesting issue. In v1.0+ the proxy is using a customized HTTP client while in v0.9 it was the default client. This change was required to avoid 301 redirections which were introduced in recent versions of Kibana among other additions like HTTP basic authentication.

However, the v1.0+ has a '-timeout' argument which can be used to increase (default timeout is 15s). Would you please give this a try and share your results? Additionally, any extra information you share should help.

Thanks,

@bva
Copy link

bva commented Sep 10, 2020

@abutaha I'm too getting Client.Timeout with 1.1 version of proxy time after time. Restart of program helps, but after 2-3 weeks of working issue repeats. I tried to raise timeout to 4 minutes (should be enough to collect cluster statistics, I use proxy for Prometheus exporter), with no visible difference, issue persists. Attached excerpt from proxy logs.

es_log.txt

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

3 participants