When trying to query some view (~4M documents in view, nearly 400M in bucket) via CURL I’m getting errors with the enigmatic reason "connection_closed”.
I’ve used the “collect logs” function which is in UI but this generated a very large amount of logs. Analyzing it shows nothing useful at first glance.
How to find any bits of information that may lead us to resolve the error? Below you can find CURL and Errors array from response:
Curl
`
curl --location -g ‚{user}:{password}@couch06.{somedomain.tld}:8092/{bucket_name}/_design/{doc_name}/_view/{view_name}?inclusive_end=true&reduce=false&startkey=[%22x%22]&endkey=[%22xxx%22]’
Json Errors object:
“errors”:[
{“from”:“couch07.somedomain.tld:8092”,“reason”:“connection_closed”},
{“from”:“couch01.somedomain.tld:8092”,“reason”:“connection_closed”},
{“from”:“couch05.somedomain.tld:8092”,“reason”:“connection_closed”},
{“from”:“couch02.somedomain.tld:8092”,“reason”:“connection_closed”},
{“from”:“couch08.somedomain.tld:8092”,“reason”:“connection_closed”},
{“from”:“couch04.somedomain.tld:8092”,“reason”:“connection_closed”},
{“from”:“couch03.somedomain.tld:8092”,“reason”:“connection_closed”}
]
`