Skip to content

Server ended the connection #187

@Seyronh

Description

@Seyronh

Maybe this is not the right site for this error but i cant found a solution

Current Behavior

await this.database.sqlSELECT Titulo FROM Libros ORDER BY Titulo ASC LIMIT 25; //This works well
await await this.database.sqlSELECT * FROM Libros WHERE Titulo = ${titleinput}; //This throws an error

Expected Behavior

await this.database.sqlSELECT Titulo FROM Libros ORDER BY Titulo ASC LIMIT 25; //This works well
await await this.database.sqlSELECT * FROM Libros WHERE Titulo = ${titleinput}; //Works well

Steps to Reproduce the Problem

1.Execute select query

Environment

  • Version: 1.0.354
  • Platform: Linux
  • Node.js Version: 18.19.1
  • Bun version: 1.1.42

Throwed Error

processCommandsFinish - error 9 | /** Default tls connection port /
10 | exports.DEFAULT_PORT = 8860;
11 | /
* Custom error reported by SQLiteCloud drivers /
12 | class SQLiteCloudError extends Error {
13 | constructor(message, args) {
14 | super(message);
^
SQLiteCloudError: Server ended the connection
at new SQLiteCloudError (/home/ubuntu/BookNest/node_modules/@sqlitecloud/drivers/lib/drivers/types.js:14:9)
at /home/ubuntu/BookNest/node_modules/@sqlitecloud/drivers/lib/drivers/connection-tls.js:114:44
at emit (node:events:72:22)
at endReadableNT (node:stream:2211:47)
9 | /
* Default tls connection port /
10 | exports.DEFAULT_PORT = 8860;
11 | /
* Custom error reported by SQLiteCloud drivers */
12 | class SQLiteCloudError extends Error {
13 | constructor(message, args) {
14 | super(message);
^
SQLiteCloudError: Server ended the connection
at new SQLiteCloudError (/home/ubuntu/BookNest/node_modules/@sqlitecloud/drivers/lib/drivers/types.js:14:9)
at /home/ubuntu/BookNest/node_modules/@sqlitecloud/drivers/lib/drivers/connection-tls.js:114:44
at emit (node:events:72:22)
at endReadableNT (node:stream:2211:47)
Bun v1.1.42 (Linux x64)

Metadata

Metadata

Assignees

Labels

bugSomething isn't workinghelp wantedExtra attention is needed

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions