tursodatabase / libsql-experimental-python

libSQL API for Python (experimental)
87 stars 9 forks source link

The stream has expired due to inactivity #41

Open kevinroleke opened 7 months ago

kevinroleke commented 7 months ago
ValueError: Hrana: `api error: `{"message":"The stream has expired due to inactivity","code":"STREAM_EXPIRED"}``

Keep getting this unrecoverable error in my application which sparsely runs SQL queries.

https://github.com/tursodatabase/libsql/issues/985 https://github.com/tursodatabase/go-libsql/issues/12

Same issue in other libraries, not fixed on python yet.

AmeerArsala commented 6 months ago

I'm having the EXACT same issue

AmeerArsala commented 6 months ago

My application is running SQL queries in large batches in order to avoid using up all the quota/getting rate limited and this is what happens

hieuht-htv commented 6 months ago

+1

anubhuti24 commented 5 months ago

My application is running SQL queries in large batches in order to avoid using up all the quota/getting rate limited and this is what happens

@AmeerArsala I am also facing the same issue. It seems turso db closes the connection automatically only after some seconds of inactivity.

PrinceBaghel258025 commented 1 month ago

+1