Quantcast
Channel: Weaviate Community Forum - Latest posts
Viewing all articles
Browse latest Browse all 3605

Exception: Query call with protocol GRPC batch failed with message recvmsg:Connection reset by peer

$
0
0

I have also seen this. for my case, it seems to have something to do with latency of the network connection (to the free weaviate cloud instance).

client = weaviate.connect_to_wcs(
        additional_config=AdditionalConfig(timeout=Timeout(init=30, query=60, insert=120)),
        # skip_init_checks=True,
        cluster_url=WCS_URL,
        auth_credentials=weaviate.auth.AuthApiKey(WCS_API_KEY)
      )

adding the timeout config seemed to fix the issues (mostly), and I opt not to do the skip init check.

however, it is still happening intermittently. it tends to happen around

collection.data.delete_many(…)

where I deleted a lot of stuff. But I haven’t tested enough to be sure. It is definitely intermittent since some jobs will run through fine. And using tenacity on retry didnt seem to help (more debugging there needed).

but if you have fixed your problem, and please share. I will detail my setup on another thread if it proves to be very problematic.


Viewing all articles
Browse latest Browse all 3605

Trending Articles