flightsql-dbapi icon indicating copy to clipboard operation
flightsql-dbapi copied to clipboard

Error 405 when creating engine

Open niedbalski opened this issue 2 years ago • 0 comments

I have this script

url="datafusion+flightsql://us-west-2-1.aws.cloud2.influxdata.com:443?database=bucket&token=token"
engine = create_engine(url)

versions

(env) ➜ influx pip list | grep flight flightsql-dbapi 0.2.1

results in

E1006 10:28:36.564650000 8169889280 hpack_parser.cc:1218]              Error parsing metadata: error=invalid value key=content-type value=text/html

FlightServerError: Flight RPC failed with message: Received http2 header with status: 405

any pointers on what can be wrong here?

niedbalski avatar Oct 06 '23 08:10 niedbalski