The stream has expired due to inactivity
Opened this issue · 8 comments
kevinroleke commented
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.
AmeerArsala commented
I'm having the EXACT same issue
AmeerArsala commented
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
+1
anubhuti24 commented
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
jacklc commented
I am having the same. Database with millions of rows
otomist commented
+1
jacklc commented
I changed the code to Rust and worked fine.
*Fábio Magalhães Costa*
we.digi.growth +55 (11) 99154-3310
***@***.***
wedigi.com.br <https://www.wedigi.com.br/>
Em dom., 17 de nov. de 2024 às 18:41, o_o ***@***.***>
escreveu:
… +1
—
Reply to this email directly, view it on GitHub
<#41 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AARQGSW6WOCS5LTEUMKMC3T2BEEQFAVCNFSM6AAAAABERPNAYWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIOBRGYYDMNZVHE>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***
com>