libsql / libsql/knex-libsql

The stream has expired due to inactivity

Open
#3 6 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
11
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Similar to the issues reported in Python lib https://github.com/tursodatabase/libsql-experimental-python/issues/41 and Go lib https://github.com/tursodatabase/libsql/issues/985

I am also getting the same error when using LibSQL with Knex. I see this PR that resets the connection when resource is released to the pool for the Go implementation https://github.com/tursodatabase/libsql/pull/1100. Do we have to do something similar?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the expired-stream error through the Knex integration and compare the linked Python and Go reports, especially Go PR #1100. Inspect the connection-pooling and resource-release entry points available in this repository. Done means pooled connections no longer produce the inactivity-expiration error during later use.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, sqlite
Domain
database
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.