I am trying to bulk load to elastic cloud and get connection reset by peer error. Looks like it is getting trying to write back to my server using a 10.* IP address. I'm not supposed to log into the command line shell on the cloud instance I believe but access it from localhost shell.
If I try to run it on my local server it says
413 Request Entity Too Large413 Request Entity Too Large
nginx/1.10.3 (Ubuntu)
curl --user $pwd -H 'Content-Type: application/x-ndjson' -XPOST 'https://58571402f5464923883e7be42a037917.eu-central-1.aws.cloud.es.io:9243/0/_bulk?pretty' --data-binary @drug-event-0004-of-0004.json
Post https://10.11.131.72:18241/0/_bulk?pretty: net/http: HTTP/1.x transport connection broken: write tcp 172.17.0.2:51240->10.11.131.72:18241: write: connection reset by peer