-
Notifications
You must be signed in to change notification settings - Fork 935
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Spurious "Unable to find credentials" error logs in sbt update
with artifactory
#7141
Comments
Looks like the error might be coming from here: https://github.com/sbt/librarymanagement/blob/54011d5e74335bab229bc3f6532b6a1ca6d0d5cd/ivy/src/main/scala/sbt/internal/librarymanagement/ivyint/ErrorMessageAuthenticator.scala#L125 |
One thing I don't understand is that this error/warning message is coming from code that's related to Ivy. I thought that SBT has been using coursier for a while now. Maybe it's using coursier to resolve from an Ivy repository? |
You don't have |
Correct, I haven't set |
I agree it seems downright weird. I'm afraid I don't know this part of the codebase and I don't have any special insight. A couple general suggestions though, one would be to try running with |
You haven't specified wich sbt version you are using. |
steps
credentials += Credentials("Artifactory Realm", "artifactory.company.tld", "valid username", "valid password")
sbt -client update
problem
The
sbt -client update
step often prints a stack of spurious error logs like this:But then it successfully completes the command.
The greyed out boxes are the "artifactory.company.tld"
expectation
Don't print error logs when the command is correct.
notes
The text was updated successfully, but these errors were encountered: