tursodatabase / tursodatabase/libsql-client-ts
Getting: SERVER_ERROR: Server returned HTTP status 503
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 576
- Forks
- 69
- PR merge metrics
- No merged PRs in 30d
Description
Hi, I was just setting up a existing project which was working recently but it's now giving me this error -
LibsqlError: SERVER_ERROR: Server returned HTTP status 503
at mapHranaError (file:///home/tushgaurav/Workspace/housieco/node_modules/.pnpm/@libsql+client@0.14.0/node_modules/@libsql/client/lib-esm/hrana.js:268:16)
at file:///home/tushgaurav/Workspace/housieco/node_modules/.pnpm/@libsql+client@0.14.0/node_modules/@libsql/client/lib-esm/http.js:76:23
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async proxy (/home/tushgaurav/Workspace/housieco/node_modules/.pnpm/drizzle-kit@0.30.4/node_modules/drizzle-kit/bin.cjs:67079:28)
at async /home/tushgaurav/Workspace/housieco/node_modules/.pnpm/drizzle-kit@0.30.4/node_modules/drizzle-kit/bin.cjs:77001:26
at async dispatch (/home/tushgaurav/Workspace/housieco/node_modules/.pnpm/drizzle-kit@0.30.4/node_modules/drizzle-kit/bin.cjs:74643:21)
at async /home/tushgaurav/Workspace/housieco/node_modules/.pnpm/drizzle-kit@0.30.4/node_modules/drizzle-kit/bin.cjs:74104:9
at async dispatch (/home/tushgaurav/Workspace/housieco/node_modules/.pnpm/drizzle-kit@0.30.4/node_modules/drizzle-kit/bin.cjs:74643:21)
at async cors2 (/home/tushgaurav/Workspace/housieco/node_modules/.pnpm/drizzle-kit@0.30.4/node_modules/drizzle-kit/bin.cjs:75680:9)
at async dispatch (/home/tushgaurav/Workspace/housieco/node_modules/.pnpm/drizzle-kit@0.30.4/node_modules/drizzle-kit/bin.cjs:74643:21) {
code: 'SERVER_ERROR',
rawCode: undefined,
[cause]: HttpServerError: Server returned HTTP status 503
at errorFromResponse (file:///home/tushgaurav/Workspace/housieco/node_modules/.pnpm/@libsql+hrana-client@0.7.0/node_modules/@libsql/hrana-client/lib-esm/http/stream.js:359:16)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5) {
status: 503
}
}
I am not able to access the database from any methods, the ORM (Drizzle) errors out, Drizzle Studio also does not work and even from Turso's dashboard, I can't access the database.
Drizzle-Kit Studio Error:
I am also attaching the bug-report.zip file from the studio.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the @libsql/client entry points named in the trace, especially lib-esm/hrana.js and lib-esm/http.js, then reproduce the 503 through Drizzle Studio and the Turso dashboard. Done would require identifying the cause of the shared database-access failure and confirming a resolution across the reported methods.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- sqlite, typescript
- Domain
- databases
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100