-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem with the SSL CA cert #8
Comments
I'm able to replicate this under both WSL and Ubuntu, with the following: INSTALL azure;
LOAD azure;
SET azure_storage_connection_string='DefaultEndpointsProtocol=https;AccountName=azuresdkdocs;AccountKey=redacted;EndpointSuffix=core.windows.net';
SELECT count(*) FROM 'azure://development/testing_of_duckdb/file.snappy.parquet'; |
Partial workaround for users on linux running into this: installing curl seems to fix the issue at least on ubuntu for me. The problem here is that libcurl is statically linked into the extension and there are certificates missing or in the wrong path. Installing curl may resolve this issue for some environments but a more thorough solution is required. People at ArcticDB seem to be running into the same issue here: man-group/ArcticDB#514. There's a PR up as we speak. They have actually already gone through the work of getting a PR in at the azure sdk for setting the path, it will be available at the 10th of november through vcpkg. We should be able to make use of their hard work by updating the azure sdk by then and exposing the path through duckdb. |
This one seems to be affecting my workflows as well, see discussion at microsoft/PlanetaryComputer#278 (reply in thread) Would love to be able to use this azure extension, it'll make working with a few GeoParquet datasets a lot easier. Thanks for all your great work on this so far! |
I'm using the python:3.10.13-bullseye image and I got the same issue. I already had the latest version of libcurl4-openssl-dev but I tried to also install libcurl4-gnutls-dev but still got
|
thanks for reporting @cholmes and @deanm0000. This is definitely something that will need fixing |
Same also happens to me using Ubuntu, there were no problem using Windows instead |
Are the binaries are built on an RHEL distribution ?: man-group/ArcticDB#514 (Azure/azure-sdk-for-cpp#4738) The following "fixes" the error for me on Ubuntu 22.04, but I don't know if there are security implications:
|
This worked for me :) |
The PR mentioned above appears to be released now: |
@daviewales Thanks for the ping, latest vcpkg release now has this version of azure sdk as well, I will try to find some time to look into this issue in the near future! |
Hello,
hope it will help :) |
Is this fix now released in latest Azure extension for DuckDB |
@brianwyka not yet! however, once this job has succeeded, you can use the nightly build of azure, which does contain these fixes with: |
The azure website page of the doc is not up to date so here you go:
|
Thanks for the great work! I am not sure this fixed it for me. I performed |
Hi @luuk-codebeez Just to be sure, did you set the the variable ? SET azure_transport_option_type = 'curl'; |
Woops that worked with the nightly build |
@luuk-codebeez Great to hear! I just deployed the azure nightly binaries, so from now on with Also, this has now been added to the docs https://duckdb.org/docs/extensions/azure.html. Thanks a lot for the effort here @quentingodeau! |
Would it make sense to make |
I thought about that but didn't do it, here my opinion/experience on this, when you change the default behavior of something it's really complex to rollbacks this changes. |
it works fine in windows, but when running from a notebook using linux, I get this erros
The text was updated successfully, but these errors were encountered: