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.

springfox-swagger2:3.0.0-SNAPSHOT Access denied to: springfox-swagger2-3.0.0-20200629.123820-84.jar

See original GitHub issue

Starting from today (Jun 29) maven couldn’t resolve latest snapshot dependency of 3.0.0-SHAPSHOT.

Actual error is: access denied to: http://oss.jfrog.org/artifactory/oss-snapshot-local/io/springfox/springfox-swagger2/3.0.0-SNAPSHOT/springfox-swagger2-3.0.0-20200629.123820-84.jar

In case if I try to download file manually (or via wget) everything works fine, but maven says that this dependencies is forbidden for download.

Tested on CI instance and local, problems are the same. Looks like smth changed un artifactory configuration.

Also providing mvn build output and sensitive pom.xml data:

pom.xml


    <dependencies>
        <dependency>
            <groupId>io.springfox</groupId>
            <artifactId>springfox-swagger2</artifactId>
            <version>3.0.0-SNAPSHOT</version>
        </dependency>
    </dependencies>
    </repositories>
        <repository>
            <id>jcenter-snapshots</id>
            <name>jcenter</name>
            <url>http://oss.jfrog.org/artifactory/oss-snapshot-local/</url>
        </repository>
    </repositories>

and error output:


[ERROR] Failed to execute goal on project $ArtifactId: Could not resolve dependencies for project $GroupId:$ArtifactId:jar:$Version: Could not transfer artifact io.springfox:springfox-swagger2:jar:3.0.0-20200629.123820-84 from/to jcenter-snapshots (http://oss.jfrog.org/artifactory/oss-snapshot-local/): Access denied to: http://oss.jfrog.org/artifactory/oss-snapshot-local/io/springfox/springfox-swagger2/3.0.0-SNAPSHOT/springfox-swagger2-3.0.0-20200629.123820-84.jar -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
dilipkrishcommented, Jun 29, 2020

After some digging this is what I found https://status.jfrog.io points to a GCP outage

1reaction
kentilinicommented, Jun 30, 2020

everything works fine now, thanks for rapid response!

Read more comments on GitHub >

github_iconTop Results From Across the Web

No results found

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