Examples: query, "exact match", wildcard*, wild?ard, wild*rd
Fuzzy search: cake~ (finds cakes, bake)
Term boost: "red velvet"^4, chocolate^2
Field grouping: tags:(+work -"fun-stuff")
Escaping: Escape characters +-&|!(){}[]^"~*?:\ with \, e.g. \+
Range search: properties.timestamp:[1587729413488 TO *] (inclusive), properties.title:{A TO Z}(excluding A and Z)
Combinations: chocolate AND vanilla, chocolate OR vanilla, (chocolate OR vanilla) NOT "vanilla pudding"
Field search: properties.title:"The Title" AND text
Answered
Hello! I'Ve Set Sdk.Aws.S3.Verify To False, But Im Still Getting [Ssl: Certificate_Verify_Failed]. I'Ve Added Two Prints, One For

Hello! I've set sdk.aws.s3.verify to false, but im still getting [SSL: CERTIFICATE_VERIFY_FAILED].
I've added two prints, one for boto_kwargs in clearml.storage.helper.py under class _Container function __init__() which prints:
{'endpoint_url': ' None ', 'use_ssl': True, 'verify': True, 'region_name:' None, 'config': <botocore.config.Config object at 0x7f4408d08a00>}
one in for config right before the return in clearml.backend_config.config.py under class Config function _reload() which prints:

ConfigTree([
  ('logging', ...)
  ('api', ...)
  ('sdk', ConfigTree([
    ...
    ('verify', False)
  ]))
])
  
  
Posted one year ago
Votes Newest

Answers 8


api {
    web_server: 

    api_server: 

    files_server: 

    credentials {
        access_key: key
        secret_key: secret
    }
}

sdk {
    aws {
        s3 {
            bucket: bucket-name
            key: my-key
            secret: my-secret
            secure: true
            verify: "etc/ssl/certs/ca-certificates.crt"
            multipart: false
        }
    }
}
  
  
Posted one year ago

_reload() prints ('verify', '/etc/ssl/certs/ca-certificates.crt')

  
  
Posted one year ago

U want to share your clearml.conf here?

  
  
Posted one year ago

Originally I wanted to use the environment variable AWS_CA_BUNDLE=/etc/ssl/certs however it seems boto3 doesn't respect that variable from my testing

  
  
Posted one year ago

I not very sure tbh. Just want to see if this is useful....

I got SSL error few days back and I solved it by adding cert to /etc/ssl/certs and perform update-ca-certificates .

export REQUESTS_CA_BUNDLE=/etc/ssl/certs/ca-certificates.crt

Add this. Note that verify might not work with sdk.aws.s3.verify but sdk.aws.s3.credentials . Pls see the attached image.

Example:
aws {
s3 {
credentials: [
{
# This will apply to all buckets in this host (unless key/value is specifically provided for a given bucket)
host: "<minio hostname>:443"
key: "your key"
secret: "your secret"
multipart: false
secure: true
verify: /etc/ssl/certs/ca-certificates.crt
}
]
}
}

None

hope this helps.
image

  
  
Posted one year ago

I have, _reload() prints ('verify', '/etc/ssl/certs') while __init__() simply prints {'endpoint_url': ' None ', 'use_ssl': True, 'verify': True, 'region_name:' None, 'config': <botocore.config.Config object at 0x7f4408d08a00>}

  
  
Posted one year ago

https://clear.ml/docs/latest/docs/integrations/storage/
Try add the <path to your cert> for s3.credentials.verify.

  
  
Posted one year ago

the config that gets sent to boto3 still only has verify=True

  
  
Posted one year ago
768 Views
8 Answers
one year ago
one year ago
Tags