Description
Hi, we’re using the Serverless Cloud tier and get the following exception(intermittently):
weaviate.exceptions.WeaviateQueryError: Query call with protocol GRPC search failed with message recvmsg:Connection reset by peer
When:
collection.query.fetch_objects(
filters=filters,
limit=batch_size,
offset=offset)
batch size is 10 and offset is small either 10 or 20
The client is configured as so:
vector_db_client = weaviate.connect_to_wcs(
cluster_url=vector_db_url,
auth_credentials=weaviate.auth.AuthApiKey(vector_db_api_key),
additional_config=AdditionalConfig(timeout=Timeout(init=30, query=60, insert=120)),
skip_init_checks=True
)
The code is executed on a AWS Lambda.
Any suggestions how to fix it?
Server Setup Information
Serverless Cloud tier
python client version: 4.6.7