-
Notifications
You must be signed in to change notification settings - Fork 31
Description
Hi, I am working at a company where all internet traffic is tunneled through a proxy server.
DuckDB supports this generally by setting a variable like SET http_proxy = 'proxy.mycompany.com:3128';. After this setting I can e.g. successfuly install the UI extension (without the http_proxy setting download will fail).
However, when I open the webinterface, it will fail with Could not fetch: '/' from 'https://ui.duckdb.org': Could not establish connection. This is because the internal http-server that serves to the webbrowser does not use this proxy.
I peaked at the source code and it seems that this could be solved by adding to
Line 247 in 763e521
| httplib::Client client(remote_url); |
client.set_proxy("proxy.mycompany.com", 3128); (not sure whether this is the only place that needs to be adapted).
If you are interested in having this fixed I will gladly provide a pr, unless you want to fix this by yourself.
Cheers
David