You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trying to make a connection against a quackpy server to get "adbc all the way down" into an R client. See below, using R and having installed packages adbi, adbcflightsql and adbcdrivermanager, but first starting the quackpy server with docker run -ti --rm -p 8123:8123 -p 8815:8815 ghcr.io/quackscience/quackpy:latest:
This might well be operator error, but the equivalent way to connect to the Voltron "sqlflite" server works (just different uri). So I was guessing that maybe quackpy should support such a way to set up the connection?
Wondering also if there is an doc of how to do this in R already and specifically how to send credentials (in a conncetion against the sqlflite server these credentails are provided not in the connection uri but as separate parameters for username and password when setting up the connection).
The text was updated successfully, but these errors were encountered:
Thanks for the report @mskyttner this is indeed expected as the default app server doesn't support HTTP/2
I created a branch https://github.com/quackscience/quackpy/tree/hypercorn using hypercorn which should support HTTP/2 but I won't have time to test it for a while. Could you give that a try locally?
NOTE: in quackpy currently authentication is only used for persistence - a unique combination of username+password (or token) results in the same duckdb file being used for persistence. This won't be the case in http_server etc
Maybe it is related to setting up the "flight call options" when making the "adbi" connection. I raised an issue/question with adbi to see if someone can explain how to do this.
Current (failing) attempt using this R script tries to set adbc.flight.sql.authorization_header on the Flight SQL driver, but the log just says:
Error in adbcdrivermanager::adbc_statement_prepare(stmt) :
IO: [FlightSQL] connection error: desc = "error reading server preface: read tcp 127.0.0.1:60258->127.0.0.1:8815: read: connection reset by peer" (Unavailable; Prepare)
Trying to make a connection against a quackpy server to get "adbc all the way down" into an R client. See below, using R and having installed packages adbi, adbcflightsql and adbcdrivermanager, but first starting the quackpy server with
docker run -ti --rm -p 8123:8123 -p 8815:8815 ghcr.io/quackscience/quackpy:latest
:Error reported on the client side:
Possibly related lines in the log from the quackpy server side:
This might well be operator error, but the equivalent way to connect to the Voltron "sqlflite" server works (just different uri). So I was guessing that maybe quackpy should support such a way to set up the connection?
Wondering also if there is an doc of how to do this in R already and specifically how to send credentials (in a conncetion against the sqlflite server these credentails are provided not in the connection uri but as separate parameters for username and password when setting up the connection).
The text was updated successfully, but these errors were encountered: