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
Hi All - Sorry For All The Posts But Hopefully This Is The Last Issue! I Have My Server All Set Up And Configured On Gcp And Went To Go Test It And Ran Into An Error It Looks Like A Few Others Have Had In The Past Here From A Search But I Didn'T See Any R

Hi all - sorry for all the posts but hopefully this is the last issue! I have my server all set up and configured on GCP and went to go test it and ran into an error it looks like a few others have had in the past here from a search but I didn't see any resolution in those threads, and google isn't much help either.

I've got my credentials from the server and whether I use python or the command line, I can't seem to connect and get the same error:

SSLError(SSLError(1, '[SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:1131)'))': /auth.login
I was trying to save a dataset to make sure cloud storage was working, so I tried via the example code for the python SDK, and then when that failed I went to go to the command line and ran clearml-init and during set up when I copy and pasted my credentials I got the same error.

Does anyone know what is causing this? The only somewhat related answer I found was a SO saying it might be an older version of OpenSSL on my OS but I double checked and my base python is using OpenSSL 1.1.1s which should be fine to support all encryption protocols.

  
  
Posted 2 years ago
Votes Newest

Answers 19


Oh, my mistake - if you ran into this issue when running clearml-init , the file wouldn't have been created...

  
  
Posted 2 years ago

You can leave out the credentials embedded there, of course 🙂

  
  
Posted 2 years ago

So the question is, what exactly did you paste into the clearml-init during the process? Can you share what you received from the server in step 2ii ? (of course, you can mark out the key/secret there)

  
  
Posted 2 years ago

Can you see this file in your home folder (not root)? i.e. ls -la ~ ?

  
  
Posted 2 years ago

Hi DashingKoala39 , how did you set up the SSL termination?

  
  
Posted 2 years ago

Sorry, I was in ~ I just (probably mistakenly) refer to that as root

  
  
Posted 2 years ago

I think maybe it didn't get far enough to do that because I see a .clearml_data.json file in my root but no clearml.conf. I could PM you the connection credentials if that might help? It isn't live yet so I don't mind, just let me know!

  
  
Posted 2 years ago

I just realized something, one thing that confused me is the docs said that you get the app/api/etc subdomains but I seem to connect directly using the http://subdomain.domain.com without http://app.subdomain.domain.com and in fact http://app.subdomain.domain.com doesn't work. Would that matter? Should I have *. http://subdomain.domain.com on my certificate and does that nginx file in the link need to be added to at all?

  
  
Posted 2 years ago

    web_server: domain
    api_server: domain:8008

Did the domain start with http ? https ? Were these addresses consistent with how you configured your network?

  
  
Posted 2 years ago

Thanks for the response! As instructed by the init file I pasted the full JSON object from the app credential screen, so it looked something like:

api { 
    web_server: domain
    api_server: domain:8008
    credentials {
        "access_key" = "xxx"
        "secret_key"  = "xxx"
    }
}

As an update, to get my team up and running I redid the server with everything except for the SSL, and it worked with no issues. But I'd still like to try to get SSL configured for obvious reasons so I appreciate the help!

  
  
Posted 2 years ago

Oh, wait, so how did you configure the clearml.conf file? what are the values for the api server, web server and files server?

  
  
Posted 2 years ago

So basically clearml-init should have created a clearml.conf file in your home for - can you find it and share its contents?

  
  
Posted 2 years ago

Hi again SuccessfulKoala55 ! I used nginx and Let's Encrypt, and used the recommended steps from the community that were posted here https://github.com/allegroai/clearml-server/issues/78

  
  
Posted 2 years ago

Hi SuccessfulKoala55 ! Any other ideas on this one? I feel like it has something to do with the api server but I really am at a loss for how to fix it

  
  
Posted 2 years ago

Oh sorry I misunderstood, I don't have any conf files for the SDK at the moment. When I tried via python I simply used the credentials I got from my instance and when I tried on the command land I ran clearml-init and followed the prompts until it ran into the same SSL error. During the prompts I got to #2iii on this page https://clear.ml/docs/latest/docs/deploying_clearml/clearml_config_for_clearml_server/ and that's when I got the SSL error so I couldn't get to the configuration of those URIs

  
  
Posted 2 years ago

When I was getting the SSL error, it was using https, and it should have been consistent, though I really just copied over the nginx settings from the github here None . I was playing around with it a bit because I thought maybe since other ports don't seem to be handled that was the issue but no matter what I tried I still got the same errors.

  
  
Posted 2 years ago

I do have this bit from the docs in my apiserver.conf files

auth { cookies { httponly: true secure: true domain: ".clearml.mydomain.com" max_age: 99999999999 } }Which I thought was the way to configure subdomains, but I didn't do the load balancer config as I don't need load balancing for our use case.

  
  
Posted 2 years ago

so my clearml.conf file only has settings for my google bucket, when I created the VM from the image it didn't actually come with any config files in the /opt/clearml/config directory, so I've been adding them and putting in the sections I need to edit there.

  
  
Posted 2 years ago

I was referring to the SDK configuration since you said you're getting the error when using the credentials from the server when running python

  
  
Posted 2 years ago
2K Views
19 Answers
2 years ago
2 years ago
Tags
Similar posts