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
Clearml Task Execution Fails Trying To Pull Data From Gitlab. The Credentials Are Correct (Username + Access Token), But I Get This Error:

ClearML task execution fails trying to pull data from Gitlab.
The credentials are correct (username + access token), but I get this error:
remote: HTTP Basic: Access denied. The provided password or token is incorrect or your account has 2FA enabled and you must use a personal access token instead of a password. SeeHow do I debug this?

  
  
Posted 2 years ago
Votes Newest

Answers 14


Upgraded, the issue persists

  
  
Posted 2 years ago

your account has 2FA enabled and you must use a personal access token instead of a password.I'm assuming you have created the personal access token and used it, not the pass

  
  
Posted 2 years ago

Yes, I am able to clone locally on the same server the agent is running on. However I do it using ssh auth

  
  
Posted 2 years ago

Was I right to put the credentials in

clearml.conf

on the machine I am starting the agent on?

AdventurousButterfly15 Yes exactly!
you should be able to see that in the log of the Task (at the top of the log there will be the entire configuration), can you see the git user there?

  
  
Posted 2 years ago

Yes, the git user is correct. It does not display the password of course. I tested and the config is definitely coming from clearml.conf

Still, the error persists

  
  
Posted 2 years ago

The task runs in a docker container if that’s relevant

  
  
Posted 2 years ago

Sure, will so tomorrow

  
  
Posted 2 years ago

Any chance you can share the Log?
(feel free to DM it so it will not end up public)

  
  
Posted 2 years ago

Hi AdventurousButterfly15 , are you able to clone locally? What version of the agent are you using

  
  
Posted 2 years ago

Yes, I created a token and out it into aget.git_pass

  
  
Posted 2 years ago

(base) boris@adamastor:~/clearml_config$ clearml-agent --version CLEARML-AGENT version 1.4.0

  
  
Posted 2 years ago

Was I right to put the credentials in clearml.conf on the machine I am starting the agent on?

Clearml conf is like this
...stuff.. agent { git_user: "btseytlin" git_pass: "gitlab accesstoken" }

  
  
Posted 2 years ago

👍

  
  
Posted 2 years ago

AdventurousButterfly15 , please upgrade to the latest agent version to see if this continues

  
  
Posted 2 years ago