When trying to load the ducklake extension in DuckDB v1.3.1 I get the following error:
ERROR: Execute of query "LOAD ducklake;" failed: HTTP Error: Failed to download extension "ducklake" at URL "http://extensions.duckdb.org/v1.3.1/x86_64-w64-mingw32/ducklake.duckdb_extension.gz" (HTTP 403)
Extension "ducklake" is an existing extension.
=ducklake
Stacktrace:
[1] execute(stmt::DuckDB.Stmt, params::Tuple{})
@ DuckDB C:\Users\kobus\.julia\packages\DuckDB\Bxsbt\src\result.jl:734
[2] execute
@ C:\Users\kobus\.julia\packages\DuckDB\Bxsbt\src\result.jl:709 [inlined]
[3] execute(con::DuckDB.Connection, sql::String, result_type::Type)
@ DuckDB C:\Users\kobus\.julia\packages\DuckDB\Bxsbt\src\result.jl:876
[4] execute(con::DuckDB.Connection, sql::String)
@ DuckDB C:\Users\kobus\.julia\packages\DuckDB\Bxsbt\src\result.jl:881
[5] top-level scope
@ d:\repos\JuliaScratch.jl\src\ducklake.jl:11
Code:
using DuckDB
using DBInterface
using DataFrames
file_name = "duck data.db"
db = DuckDB.DB(file_name)
conn = DBInterface.connect(db)
try
df = DuckDB.query(db,"SELECT version() as duckdb_version;") |> DataFrame
show(df)
DBInterface.execute(conn, "LOAD ducklake;")
finally
close(conn)
DBInterface.close!(db)
end
Program output:
1ร1 DataFrame
Row โ duckdb_version
โ String
โโโโโโผโโโโโโโโโโโโโโโโ
1 โ v1.3.1
When running duckdb CLI, the extension is loaded successfully and functions normally.
VersionInfo:
versioninfo()
Julia Version 1.11.5
Commit 760b2e5b73 (2025-04-14 06:53 UTC)
Build Info:
Official https://julialang.org/ release
Platform Info:
OS: Windows (x86_64-w64-mingw32)
CPU: 48 ร AMD Ryzen Threadripper 7960X 24-Cores
WORD_SIZE: 64
LLVM: libLLVM-16.0.6 (ORCJIT, znver4)
Threads: 10 default, 0 interactive, 5 GC (on 48 virtual cores)
Environment:
JULIA_NUM_THREADS = 10
JULIA_EDITOR = code
JULIA_VSCODE_REPL = 1
I get a similar error on Linux:
Julia Version 1.11.5
Commit 760b2e5b739 (2025-04-14 06:53 UTC)
Build Info:
Official https://julialang.org/ release
Platform Info:
OS: Linux (x86_64-linux-gnu)
CPU: 8 ร Intel(R) Xeon(R) Gold 6226 CPU @ 2.70GHz
WORD_SIZE: 64
LLVM: libLLVM-16.0.6 (ORCJIT, cascadelake)
Threads: 8 default, 0 interactive, 4 GC (on 8 virtual cores)
Environment:
JULIA_NUM_THREADS = 8
JULIA_EDITOR = code
JULIA_VSCODE_REPL = 1
JULIA_DUCKDB_LIBRARY = /usr/local/lib/libduckdb.so
where the error is:
ERROR: DuckDB.QueryException("Execute of query \"LOAD 'ducklake';\" failed: HTTP Error: Failed to download extension \"ducklake\" at URL \"http://extensions.duckdb.org/v1.3.1/x86_64-linux-gnu/ducklake.duckdb_extension.gz\" (HTTP 403)\nExtension \"ducklake\" is an existing extension.\n\nFor more info, visit https://duckdb.org/docs/stable/extensions/troubleshooting/?version=v1.3.1&platform=x86_64-linux-gnu&extension=ducklake")
Any thoughts on what is going wrong and how I can fix it?
Thank you