Closed tanlin2013 closed 2 years ago
Resolved in https://github.com/tanlin2013/mbl/commit/1abe1a22657ab64117d43ad76baa62cb7d9f6a41 by puting MLFLOW_S3_ENDPOINT_URL
behind the nginx server.
Encounter another error saying that AWS credentials (for minio) are wrong.
botocore.exceptions.ClientError: An error occurred (SignatureDoesNotMatch) when calling the ListObjectsV2 operation: The request signature we calculated does not match the signature you provided. Check your key and signing method.
The variable $host
and $http_host
are 2 different stuffs in nginx.
Describe the problem
When calling mlflow client to list the artifacts in runs, an error arises and says Access Denied.
Code to reproduce the issue
Error Log
What Happened?
Turns out
MLFLOW_S3_ENDPOINT_URL
pointing to the minio server needs to be set both on server and client side. MLflow doesn't do that part for you.Reference
https://github.com/mlflow/mlflow/issues/1813