Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The stream has expired due to inactivity #41

Open
kevinroleke opened this issue Mar 12, 2024 · 4 comments
Open

The stream has expired due to inactivity #41

kevinroleke opened this issue Mar 12, 2024 · 4 comments

Comments

@kevinroleke
Copy link

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
Copy link

I'm having the EXACT same issue

@AmeerArsala
Copy link

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
Copy link

+1

@anubhuti24
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants