cancel
Showing results for 
Search instead for 
Did you mean: 
Machine Learning
Dive into the world of machine learning on the Databricks platform. Explore discussions on algorithms, model training, deployment, and more. Connect with ML enthusiasts and experts.
cancel
Showing results for 
Search instead for 
Did you mean: 

`mlflow.login()` failed with error: Failed to validate databricks credentials: Basic Authentication

cwij95
Visitor

I have been using mlflow with Databricks community edition for 3 months without any issue. However, today when I tried to login to the mlflow host (https://community.cloud.databricks.com/), using this code, I keep getting the error below.

 

# Setup MLflow
mlflow.login() # host: https://community.cloud.databricks.com/
mlflow.set_tracking_uri("databricks")
mlflow.set_experiment("/test")

 

`mlflow.login()` failed with error: Failed to validate databricks credentials: Basic Authentication is disabled for your user.

I am using Databricks Community Edition for personal experiments; however, I am no longer able to use it now. Is there any other way I can access Databricks Community Edition for mlflow now, without basic authentication (username/ password)?

3 REPLIES 3

Walter_C
Databricks Employee
Databricks Employee

I can see the following steps in docs, have you tried those approaches too: https://docs.databricks.com/en/mlflow/access-hosted-tracking-server.html#step-1-configure-your-envir...

Indeed as basic authentication has been deprecated this might affect your community edition set up as PAT tokens are also not available in CE, let me check with the internal teams if this means mlflow is no longer supported on CE and will get back to you

Thank you for your prompt response @Walter_C. I tried the recommended steps given in the shared reference (for Community Edition), and due to basic authentication being deprecated, I am no longer able to login successfully.

Walter_C
Databricks Employee
Databricks Employee

Got it, thanks for reviewing, i will make you aware as soon as I have response from my team.

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you won’t want to miss the chance to attend and share knowledge.

If there isn’t a group near you, start one and help create a community that brings people together.

Request a New Group