Skip to content

REFUSED_STREAM error from the server #52

Description

@lakshgupta

Hi

I deployed the Sqlflite docker container and am exploring Flight SQL protocol currently. I was hoping to use SQLFlite to be able to execute a query to DuckDB using a Flight SQL client. In my test, I am running into the following error:

org.apache.arrow.flight.FlightRuntimeException: UNAVAILABLE: RST_STREAM closed stream. HTTP/2 error code: REFUSED_STREAM

The query works once in a while after several attempts. My client code is in Java and I have tried the following methods, both of them have the same behavior.

  • flightClient.listActions(callOptions) // not flightSqlClient
  • flightSqlClient.execute(query, callOptions)

I am not sure what is the cause of the issue. Is there any setting/configuration I am missing in the setup? What information I can collect to debug the problem?

DuckDB version = v1.1.1
Arrow version on server = 17.0.0

cc: @prmoore77

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