tursodatabase/libsql-python

The stream has expired due to inactivity

Opened this issue · 8 comments

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.

tursodatabase/libsql#985
tursodatabase/go-libsql#12

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

I'm having the EXACT same issue

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

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.

jacklc commented

I am having the same. Database with millions of rows

+1

jacklc commented