-
Notifications
You must be signed in to change notification settings - Fork 7
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
Ensure CURLOPT_CAINFO correctly configured for each use of libcurl #22
Comments
I was able to try again in an environment that does in fact have I was unable to try the solution mentioned in that Issue as I don't have write access to |
@alarocca-apixio Thanks for reporting, would you mind sharing what distribution of Linux you are on? Also could you confirm you are on the latest version of uc_catalog by running |
I am on UPDATE EXTENSIONS output: [('delta', 'core', 'NO_UPDATE_AVAILABLE', 'f71402e', 'f71402e'), ('uc_catalog', 'core_nightly', 'UPDATED', '8547541', '1c359eb'), ('httpfs', 'core', 'NO_UPDATE_AVAILABLE', 'v1.1.3', 'v1.1.3')] I am using I wondered if perhaps I didn't get the certificate related change that was pushed yesterday. It looks like there may be an update, so I added the UPDATE EXTENSIONS to my code:
Now I'm getting a new error: So, I think the original error on this Issue has actually been resolved. I haven't yet looked into the new error. |
I saw elsewhere that the first request always failed, so I added this:
And that worked for listing the tables!
However, the curl error seems to re-appear when trying to query a table, this time with a different endpoint: So, maybe the original issue is still relevant? Perhaps the curl library isn't being consistently configured with Edit: I looked at the code and it looks like the Cert location isn't being updated in GetCredentialsRequest() |
The
certFileLocations
are currently hardcoded:uc_catalog/src/uc_api.cpp
Line 20 in 8547541
DuckDB has a config for
ca_cert_file
. Can we use this or some new config to set a custom location? My environment does not have a certFile in any of the existing locations and I don't have write access to the directories referenced:As there are no matching files in my environment, I get the following error:
The text was updated successfully, but these errors were encountered: