8000 When calling 'statement.all' I'm getting a timeout error (Hrana) · Issue #167 · tursodatabase/libsql-js · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
When calling 'statement.all' I'm getting a timeout error (Hrana) #167
@rathboma

Description

@rathboma

When connecting remotely to a database I'm getting the following error:

Hrana(Api("{\"error\":\"Timed out while opening database connection\"}"))

But only when calling statement.all like this:

      const statement = connection.prepare(query.text);
      if (arrayMode) {
        statement.raw();
      }
      rows = statement.all(params) // timeout error here

This was working before, so not sure what I've changed (if anything). Hoping someone can shed some light on this -- do I just need to adjust a timeout value? I don't see that as a supported option when connecting to the database

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0