Open vdice opened 4 months ago
I was able to repro the issue with Spin 2.7.0
. It seams to be fixed in the meantime, as I wasn't able to repro the error with Canary.
Thanks @vdice !
I'll setup a reminder to verify this with the next stable release of Spin as well!
When either of the SQLite apps (http-crud-go-sqlite or http-crud-js-sqlite) are run using an external libsql provider (specifically, Turso), things work fine for a spell but then after a little while of inactivity,
STREAM_EXPIRED
and other errors result.Not sure if this is specific to the provider (Turso) or the underlying sql libraries, or our use of them. I've repro'd on a local turso db as well as a remote turso db, but the steps below will use a local one.
To repro, launch a local turso db in one terminal and then
spin up
one of the apps with runtime-config pointing to the db in another eg:REST requests should work initially, but then after a period of time will fail, eg:
Here are logs from a turso db running locally: