question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[1.3.0-RC1] Update hangs when resolving against Artifactory with auth

See original GitHub issue

steps

  1. start sbt

problem

It starts to resolve dependencies, but never finishes:

[info] Loading project definition from /home/claudio/src/check/project
[info] Updating 

  | => check-build / update 516s

expectation

It should successfully resolve dependencies.

Adding useCoursier := false to project/build.sbt resolves this problem.

Is it possible to debug into this?

We are using dynamic revisions, ie. 2.7.+, for our own SBT plugin in project/plugins.sbt which might coursier to fail…

notes

sbt version: 1.3.0-RC1

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:3
  • Comments:20 (15 by maintainers)

github_iconTop GitHub Comments

3reactions
avdvcommented, May 22, 2019

It seems like the root cause of the issue is custom artifactory server authentication. In my project, I have a strict dependency version of an sbt-plugin coming from private artifactory and it still hangs.

Yes, you’re right. I forgot about the global resolver configuration. It only hangs when trying to resolve against Artifactory with credentials. I’ll update the coursier issue.

1reaction
avdvcommented, Jul 29, 2019

yea, this is still reproducible on my project too

FYI, this issue is indeed resolved for me with 1.3.0-RC3. 🎉 😅

Read more comments on GitHub >

github_iconTop Results From Across the Web

How Resolve Authentication Issues Against the Access Server
Artifactory is most likely having issues authenticating against the access server with the credentials provided you provided.
Read more >
The Artifactory Upgrade Failed - What Next? - JFrog
Artifactory upgrades are complex, and troubleshooting them involves looking into the startup sequence.
Read more >
Artifactory Release Notes - JFrog
Overview. This page presents release notes for JFrog Artifactory describing the main fixes and enhancements made to each version as it is released....
Read more >
Artifactory REST API - JFrog - JFrog Documentation
If generated on a previous version, you must regenerate your API key and use the new key as a password for basic authentication....
Read more >
Release Notes - Artifactory 6.x - JFrog Wiki
For details, please refer to the Upgrade Notice under the release notes for ... Pull Replication on many files may have caused Artifactory...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found