Fetching Aspose.Slides for Java Binaries Is Failing in Azure

build task is failing as fetching binaries is failing with 403 as follows

FAILURE: Build failed with an exception.
at ExecState._setResult (/home/vsts/work/_tasks/Gradle_8d8eebd8-2b94-4c97-85af-839254cc6da4/2.191.0/node_modules/azure-pipelines-task-lib/toolrunner.js:944:25)

at ExecState.CheckComplete (/home/vsts/work/_tasks/Gradle_8d8eebd8-2b94-4c97-85af-839254cc6da4/2.191.0/node_modules/azure-pipelines-task-lib/toolrunner.js:927:18)
  • What went wrong:
    at ChildProcess. (/home/vsts/work/_tasks/Gradle_8d8eebd8-2b94-4c97-85af-839254cc6da4/2.191.0/node_modules/azure-pipelines-task-lib/toolrunner.js:840:19)
    Execution failed for task ‘:compileJava’.
    at ChildProcess.emit (events.js:198:13)

Could not resolve all files for configuration ‘:compileClasspath’.
at maybeClose (internal/child_process.js:982:16)
Could not resolve com.aspose:aspose-slides:21.12.
at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)
Required by:
project :
Could not resolve com.aspose:aspose-slides:21.12.
Could not get resource ‘https://repository.aspose.com/repo/com/aspose/aspose-slides/21.12/aspose-slides-21.12.pom’.
Could not GET ‘https://repository.aspose.com/repo/com/aspose/aspose-slides/21.12/aspose-slides-21.12.pom’. Received status code 403 from server: Forbidden
we are facing this issue from past 3 days in azure, though it is working locally.

@nagasatish,
Thank you for contacting support.

This is a known issue recently. Please read this post to solve the problem on your side.

Hi @Andrey_Potapov i am facing the issue in azure pipe line run, which is a fresh vm on azure cloud, for running the build.
we are using repository URL as maven { url 'https://repository.aspose.com/repo/' }
dependency as implementation ‘com.aspose:aspose-slides:21.12:jdk16’
on running gradlew build we are seeing the above issue.

on local machine i don’t see any issue. we are facing this issue from last 3 days

@nagasatish,
Thank you for the additional information. We will reply to you as soon as possible.

@nagasatish

Please share your Azure VM IP address so i can forward this to our hosting team to do further investigation on it. Thanks.

@nagasatish

Did you get chance to run your Azure pipelines again? My Azure pipeline is working with Aspose Repository - https://repository.aspose.com/repo/.

Feel free to reach us for any issue related to it. Thanks.

@farooq.sheikh thanks for the update. now it is working