cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Error: oidc: fetch .well-known: Get "https://%E2%80%93host/oidc/.well-known/oauth-authorization-serv

feliximmanuel
New Contributor

I'm trying to authenticate databricks using WSL but suddenly getting this error.

/databricks-asset-bundle$ databricks auth login โ€“host https://<XXXXXXXXX>.12.azuredatabricks.net
Databricks Profile Name:<XXXXXXXXX>

Error: oidc: fetch .well-known: Get "https://%E2%80%93host/oidc/.well-known/oauth-authorization-server": dial tcp: lookup xn--host-z86a on 192.168.240.1:53: no such host

Someone could you please help me!

Thanks

1 REPLY 1

Kaniz_Fatma
Community Manager
Community Manager

Hi @feliximmanuelThe error message youโ€™re seeing indicates a problem with SSL certificate verification. To resolve this, follow these steps:

  1. In your Databricks configuration file (usually located at ~/.databrickscfg), add the following line to the relevant profile:

    insecure = True
    

    This setting allows Databricks Connect to bypass SSL certificate verification.

  2. Save the changes and try running your Databricks Connect setup again.

Additionally, if youโ€™re using TLS 1.3 on your clusters, consider enabling OpenJSSE in the clusterโ€™s Apache Spark configuration.

Give this a try, and let me know if it resolves the issue! ๐Ÿ˜Š

If you need further assistance, feel free to ask! ๐Ÿš€

 
Join 100K+ Data Experts: Register Now & Grow with Us!

Excited to expand your horizons with us? Click here to Register and begin your journey to success!

Already a member? Login and join your local regional user group! If there isn’t one near you, fill out this form and we’ll create one for you to join!