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

Request Timeout after 30000ms while using es-import-bulk #24

Open
myitroad opened this issue Jul 23, 2018 · 1 comment
Open

Request Timeout after 30000ms while using es-import-bulk #24

myitroad opened this issue Jul 23, 2018 · 1 comment

Comments

@myitroad
Copy link

Hi,
It lead to 408 error while I using es-import-bulk to import about 1500000 documents。
Details as below:

./es-import-bulk --url http://10.110.18.53:9200 --file /var/backup/elasticsearch/janus_remove/dev.data.json
Pre-Processing file of size: 2.12 GB
Starting bulk imports with batches of 20000 lines.
Processing line 15000 of 1500000 [--------------------] 1% 0.1s
  error: {"status":408,"displayName":"RequestTimeout","message":"Request Timeout after 30000ms"}

how can I fix this?
Waiting for your reply, thanks.

@joshuamorris3
Copy link

@myitroad I had a similar issue, except I received an error bulk endpoint /_bulk => socket hang up. After finding this elasticsearch-js issue, I upgraded the elasticsearch dependency in package.json to version 14.2.1 that incorporates the fix for the issue. After updating to the version with an npm install, it fixed my 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

2 participants