After upgrading the DuckDB JDBC client to 1.5.0.0, calling CALL start_ui_server() now attempts to automatically download the ui extension from the internet, resulting in a SQLException.
java.sql.SQLException: Extension Autoloading Error: An error occurred while trying to
automatically install the required extension 'ui':
Failed to download extension "ui" at URL
"http://extensions.duckdb.org/v1.5.0/osx_arm64/ui.duckdb_extension.gz"
Environment
- DuckDB JDBC
1.5.0.0
- macOS ARM64 (Apple Silicon)
Steps to Reproduce
- Add DuckDB JDBC
1.5.0.0 as a dependency in a Java project
- Create a DuckDB connection and execute
CALL start_ui_server()
- Observe that DuckDB attempts to download the
ui extension from http://extensions.duckdb.org/v1.5.0/osx_arm64/ui.duckdb_extension.gz
- Call fails with
SQLException: Extension Autoloading Error
Note: The ui extension and start_ui_server() were introduced in DuckDB 1.1.0. In versions prior to 1.5.0.0, start_ui_server() worked without triggering an extension download from the internet.
Expected
CALL start_ui_server() should not silently trigger an extension download. If the ui extension is not installed, it should fail with a clear error indicating the extension is missing — not attempt a
network download.
Request
Please advise on how to invoke start_ui_server() without triggering an automatic extension download, or provide a way to pre-bundle the ui extension for offline environments.
After upgrading the DuckDB JDBC client to
1.5.0.0, callingCALL start_ui_server()now attempts to automatically download theuiextension from the internet, resulting in aSQLException.java.sql.SQLException: Extension Autoloading Error: An error occurred while trying to
automatically install the required extension 'ui':
Failed to download extension "ui" at URL
"http://extensions.duckdb.org/v1.5.0/osx_arm64/ui.duckdb_extension.gz"
Environment
1.5.0.0Steps to Reproduce
1.5.0.0as a dependency in a Java projectCALL start_ui_server()uiextension fromhttp://extensions.duckdb.org/v1.5.0/osx_arm64/ui.duckdb_extension.gzSQLException: Extension Autoloading ErrorNote: The
uiextension andstart_ui_server()were introduced in DuckDB 1.1.0. In versions prior to1.5.0.0,start_ui_server()worked without triggering an extension download from the internet.Expected
CALL start_ui_server()should not silently trigger an extension download. If theuiextension is not installed, it should fail with a clear error indicating the extension is missing — not attempt anetwork download.
Request
Please advise on how to invoke
start_ui_server()without triggering an automatic extension download, or provide a way to pre-bundle theuiextension for offline environments.