
Reputation
Badges 1
22 × Eureka!No it seems something is still going wrong, my clear-agent-services is not starting, as well as when I install clearml-agent anywhere it's not able to verify the credentials.
Here is one log from the API[2021-05-24 09:04:46,311] [9] [WARNING] [clearml.service_repo] Returned 400 for in 0ms, msg=Invalid request path /
was checking the clearml-apiserver logs there are no events when doing clearml-agent init
{"meta":{"id":"e1dbf2fcec864085ae05762a61594e9c","trx":"e1dbf2fcec864085ae05762a61594e9c","endpoint":{"name":"users.get_current_user","requested_version":"2.13","actual_version":"1.0"},"result_code":401,"result_subcode":22,"result_msg":"Unauthorized (invalid credentials) (failed to locate provided credentials)","error_stack":null,"error_data":{}},"data":{}}
Okay, let me try that out.
I used the configuration file provided as example changes the necessary things. Looks like it's somehow not able to hit the api.clearml_agent: ERROR: Failed getting token (error 400 from
https://myclearmlapi.com ): Bad Request
I assumed this was the error when clear-ml tried to connect. Looks like this was the curl.
Cool I'll open an issue and see the response.
Redirection seems to be working with curl, as well as dashboard ie i'm able to access the dashboard with the URL.
Hi VivaciousPenguin66 I was trying to do something similar, I was able to secure the webapp with something similar to this (the cert was on lb level), but were you able to secure the port for fileserver and api server ?
Do you thing putting it behind nginx will be an useful feature ? Then i'll open a feature request issue.
What is CLEARML_HOST_IP actually signify ?
https://clearml.slack.com/archives/CTK20V944/p1621844719193900?thread_ts=1621840885.183000&cid=CTK20V944
This didn't work it seems getting the same error as before.
There are no logs in clearml-apiserver for auth.
got it, I see that serving is a very new project started in april, what other inference engine do you plan to support in the future ?
I get this response
I wanted to enable HTTPS. exposing the ports would disable the ssl nginx was providing.
Yes thanks I'll try it
Got it exposing the ports should work, I'm guessing. How do you suggest to secure the port in that case ?
Since the traffic are routed through nginx for 3 url (eg, http://myclearmlfiles.com , http://myclearmlapi.com , http://myclearmlapp.com ) to different port, what should be the value of CLEARML_HOST_IP
yes the VM has less RAM let me increase and check.
Thanks for the explanation.