I have used licenced Aspose slides library in Java. I was working fine till last week. Now I am facing some issues in that: mainly Authentication error. I tried multiple repository in pom but each time it gave some error. I am posting 3 scenarios which I tried along with Error it is producing.
[ERROR] Failed to execute goal on project video: Could not resolve dependencies for project : Failed to collect dependencies at com.aspose:aspose-slides:jar:jdk16:19.2: Failed to read artifact descriptor for com.aspose:aspose-slides:jar:jdk16:19.2: Could not transfer artifact com.aspose:aspose-slides:pom:19.2 from/to AsposeJavaAPI (https://repository.aspose.com/repo/): authorization failed for https://repository.aspose.com/repo/com/aspose/aspose-slides/19.2/aspose-slides-19.2.pom, status: 403 Forbidden
[ERROR] Failed to execute goal on project video: Could not resolve dependencies for project : Failed to collect dependencies at com.aspose:aspose-slides:jar:jdk16:19.2: Failed to read artifact descriptor for com.aspose:aspose-slides:jar:jdk16:19.2: Could not transfer artifact com.aspose:aspose-slides:pom:19.2 from/to AsposeJavaAPI (https://artifact.aspose.com/repo/): transfer failed for https://artifact.aspose.com/repo/com/aspose/aspose-slides/19.2/aspose-slides-19.2.pom: Certificate for <artifact.aspose.com> doesn’t match any of the subject alternative names: [repository-qa.aspose.com]
[ERROR] Failed to execute goal on project video: Could not resolve dependencies for project : Failed to collect dependencies at com.aspose:aspose-slides:jar:jdk16:19.2: Failed to read artifact descriptor for com.aspose:aspose-slides:jar:jdk16:19.2: Could not transfer artifact com.aspose:aspose-slides:pom:19.2 from/to AsposeJavaAPI (https://repository.aspose.com/webapp/#/artifacts/browse/tree/General/repo/): authorization failed for https://repository.aspose.com/webapp/#/artifacts/browse/tree/General/repo/com/aspose/aspose-slides/19.2/aspose-slides-19.2.pom, status: 403 Forbidden
Please Provide some assistance as soon as possible. Any help would be appreciated.
Our repository URL is https://repository.aspose.com/repo/. This is only accessible through Maven our Gradle Clients. You can explore our repository through https://repository.aspose.com/.
Could not transfer artifact com.aspose:aspose-slides:pom:19.2 from/to AsposeJavaAPI (https://repository.aspose.com/repo/): authorization failed for
Kindly flush DNS cache for your machine and then try again. This issue will be resolved. If you are using GitHub Actions. Please add this step in you workflow.
name: Clear DNS Cache
run: |
sudo systemd-resolve --flush-caches
This solution is not working for us as we have Azure pipelines setup for building and deployment and each time maven dependencies gets downloaded directly from repository url . After trying the command which you suggested im git hub , I got error saying
Unexpected value ‘name’
Please refer the below attached screenshot for changes we tried
Please share your Azure VM IP Address through which you are accessing repository.aspose.com. I will request our hosting team to do further investigation on it.
Feel free to reach us for any issue related to it. Thanks
Failed to execute goal on project video: Could not resolve dependencies for project com.aq.springboot.ca.video:video:jar:0.0.1-SNAPSHOT: Could not find artifact com.aspose:aspose-slides:jar:jdk16:19.2 in AsposeJavaAPI (https://repository.aspose.com/repo/) → [Help 1]
@ramesh676,
Thank you for contacting support. Please describe the issue you are experiencing with environment details in a new forum thread. We will do our best to resolve it.
Failed to execute goal on project presentation_generator: Could not resolve dependencies for project com.xxx:xx:jar:0.0.1-xxx: The following artifacts could not be resolved: com.aspose:aspose-slides:jar:jdk16:22.1, com.aspose:aspose-cells:jar:16.11.0: Could not transfer artifact com.aspose:aspose-slides:jar:jdk16:22.1 from/to AsposeJavaAPI (Aspose Repository Browser /java/repo/): authorization failed for https://repository.aspose.com/java/repo/com/aspose/aspose-slides/22.1/aspose-slides-22.1-jdk16.jar, status: 403 Forbidden → [Help 1]
I tested in a simple eclipse maven project and it works absolutely fine on my end. The Aspose.Slides for Java 22.1 jar is extracted fine, see the screenshot for your reference. sc_shot1.png (178.0 KB)
We have informed the responsible team (hosting team). According to the team: “We have been experiencing a huge and sudden surge in parasitic traffic since the beginning of May. We expect this increase to continue. Therefore, we have enabled the Web Application Firewall, and it is quite possible that clients making more than 300 requests in 5 minutes have been blocked”.
We are working with our hosting team in order to resolve the problem soon. Please accept our apologies for any inconvenience. We will update you once any update is available.