sqltools-duckdb-driver
sqltools-duckdb-driver copied to clipboard
[VSCode Extension]: Cannot connect to DuckDB database due to broken driver detection behind corporate Proxy.
Describe the bug
Cannot connect to DuckDB database due to broken driver detection behind corporate Proxy.
Steps to Reproduce
Set a new DuckDB connection, and connect
SqlTools log:
ERROR (ls): Connecting error: {"code":1000,"data":{"notification":"Core/missingModule","dontNotify":true,"args":{"conn":{"name":"DuckDB2","accessMode":"Read/Write","previewLimit":50,"driver":"DuckDB","databaseFilePath":":memory:","isActive":false,"isConnected":false,"id":"DuckDB2|DuckDB||"},"action":"install","deps":[{"type":"package","name":"duckdb-async","version":"0.10.2"}]}}} ns: "conn-manager"
Warning: You need to install "[email protected]" to conttect to DuckDB
Action: Install now
Info: "[email protected]" installed. Go ahead and connect!
Action: Connect to DuckDB
Repeat from step "2" above
Logs
ERROR (ls): Connecting error: {"code":1000,"data":{"notification":"Core/missingModule","dontNotify":true,"args":{"conn":{"name":"DuckDB2","accessMode":"Read/Write","previewLimit":50,"driver":"DuckDB","databaseFilePath":":memory:","isActive":false,"isConnected":false,"id":"DuckDB2|DuckDB||"},"action":"install","deps":[{"type":"package","name":"duckdb-async","version":"0.10.2"}]}}}
ns: "conn-manager"
System Info
SQLTools Version 0.28.3
VS Code Version: 1.92.0
OS: Windows 10
Driver:
DuckDBDriver for SQLTools Version 1.0.0
Database version: :memory:
Node: node-v19.9.0-x64 or node-v20.16.0-x64
Severity
serious, but I can work around it
Additional Information, or Workarounds
Raise as vscode-sqltools bug and I was advised to raise a bug with the author of the DuckDB driver https://github.com/mtxr/vscode-sqltools/issues/1362