Connection closed by the host when using view


#1

Hi,

Whenever I send 1000+ keys for a view query, I immediately get the following error.

Generic network failure. Enable detailed error codes (via LCB_CNTL_DETAILED_ERRCODES, or via `detailed_errcodes` in the connection string) and/or enable logging to get more information 

Enabling detailed_errorcodes in my connection string shows The host closed connection error instead.

How can I fix this issue?


#2

sorry for self bumping…but I can’t find anything on this. bump…


#3

do you ever test your issue with fewer keys ?
as my experience, when I remote connect to machine and request huge data, when destination machine has not enough ram or cpu, they growth up and destination machine suddenly closes remote port ,so I faced “host closed connection” exception.


#4

I do. It works perfectly with fewer keys.

At this point, I wonder if this has to do with the rest API. It looks like the rest API endpoint uses GET method and there might be limitation with GET method for the length.