Reputation
Badges 1
22 × Eureka!yes the VM has less RAM let me increase and check.
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
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":{}}
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.
Do you thing putting it behind nginx will be an useful feature ? Then i'll open a feature request issue.
Okay, let me try that out.
I wanted to enable HTTPS. exposing the ports would disable the ssl nginx was providing.
I get this response
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.
Got it exposing the ports should work, I'm guessing. How do you suggest to secure the port in that case ?
Redirection seems to be working with curl, as well as dashboard ie i'm able to access the dashboard with the URL.
There are no logs in clearml-apiserver for auth.
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 /
I assumed this was the error when clear-ml tried to connect. Looks like this was the curl.
What is CLEARML_HOST_IP actually signify ?
Cool I'll open an issue and see the response.
Thanks for the explanation.
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 ?
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 thanks I'll try it
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 ?