chroma-core / chroma

the AI-native open-source embedding database
https://www.trychroma.com/
Apache License 2.0
15.7k stars 1.32k forks source link

[Bug]: http client connection failure that resolves with retry #1523

Open lironrisk opened 11 months ago

lironrisk commented 11 months ago

What happened?

I've noticed that sometimes, especially after a long period passes without any requests to the database, the connection to the database gets lost, and I receive the error message: 'Could not connect to a Chroma server. Are you sure it is running?' Occasionally, a request might fail, but after recreating the client, it succeeds. What could be the issue?

Versions

Chroma v0.4.17, Python v3.11.4

Relevant log output

No response

tazarov commented 11 months ago

@lironrisk, here are a few questions for my understanding:

lironrisk commented 11 months ago

@tazarov sorry for the late response, to your questions: