weaviate.exceptions.WeaviateQueryError: Query call with protocol GRPC search failed with message recvmsg:Connection reset by peer

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

hi @mihajlo !!

Welcome to our community :hugs:

The best place to ask for support on any hosted Weaviate instances that we host is here:

That’s because it will create a support ticket and we can take action right away having access to that instance.

Are you doing some sort of large ingestion? This can happen when the instance is quickly overwhelmed with a memory/cpu load at the instance.

So if doing a large ingestion, it is interesting to control the load and allocate enough resources accordingly beforehand (when possible).

Please, go ahead and open a support with our team, and we’ll be happy to help on this issue.

Thanks!