duckdb / uc_catalog

Proof-of-concept extension combining the delta extension with Unity Catalog
MIT License
43 stars 5 forks source link

DuckDB certificates errors ? #3

Open djouallah opened 3 months ago

djouallah commented 3 months ago

I am getting this error

InvalidInputException: Invalid Input Error: Attempting to execute an unsuccessful or closed pending query result
Error: IO Error: Curl Request to '${UC_ENDPOINT}/api/2.1/unity-catalog/schemas?catalog_name=testing' failed with error: 'URL using bad/illegal format or missing URL'
samansmink commented 3 months ago

hey @djouallah, there's no test infrastructure yet, so it will only work if you have a unity catalog yourself and provide the credentials to that in the UC secret

djouallah commented 3 months ago

Haha, I run it inside Databricks, I thought It will automatically get the credentials:)

samansmink commented 3 months ago

yea sorry, it's manual labour for now!

It should probably pretty simple to set that up though

Johannes-Vink commented 3 months ago

It is not that easy or at least... not for me 😉

I am connecting with valid credentials, I checked in a similar requests what is returned and it is valid... image

Same error if I try it in a slightly different way: image

I've no clue what is different with that setup, I have ~4 hours of DuckDB behind me, that is it...

djouallah commented 3 months ago

got is working using this

!mkdir -p /etc/pki/tls/certs
!ln -s /etc/ssl/certs/ca-certificates.crt /etc/pki/tls/certs/ca-bundle.crt