403 Forbiddden for Aspose Repository

Hi Support,

We are getting the below error in the bit bucket the while compiling in the application

[ERROR] Failed to execute goal on project ResumeParser9: Could not resolve dependencies for project com.rchilli:ResumeParser9:war:0.0.1-SNAPSHOT: Failed to collect dependencies at com.aspose:aspose-words:jar:jdk17:22.9: Failed to read artifact descriptor for com.aspose:aspose-words:jar:jdk17:22.9: Could not transfer artifact com.aspose:aspose-words:pom:22.9 from/to AsposeJavaAPI (https://repository.aspose.com/repo/): authorization failed for https://repository.aspose.com/repo/com/aspose/aspose-words/22.9/aspose-words-22.9.pom, status: 403 Forbidden -> [Help 1]

@rchilli,

could you please attach your .pom file here for our reference? Please make sure it has the following:

...
<dependency>
	<groupId>com.aspose</groupId>
	<artifactId>aspose-words</artifactId>
	<version>24.5</version>
	<classifier>jdk17</classifier>
</dependency>
...
<repository>
	<id>AsposeJavaAPI</id>
	<name>Aspose Java API</name>
	<url>https://releases.aspose.com/java/repo/</url>
</repository>
...
<dependencies>
		<dependency>
			<groupId>com.aspose</groupId>
			<artifactId>aspose-words</artifactId>
			<version>22.9</version>
			<classifier>jdk17</classifier>
		</dependency>
</dependencies>
<repositories>
		<repository>
			<id>AsposeJavaAPI</id>
			<name>Aspose Java API</name>
			<url>https://repository.aspose.com/repo/</url>
		</repository>
	</repositories>

@rchilli,

Perhaps the problem is an incorrect repository description. Please try using the following:

...
<repository>
	<id>AsposeJavaAPI</id>
	<name>Aspose Java API</name>
	<url>https://releases.aspose.com/java/repo/</url>
</repository>
...

It was working before since last 2 to 3 years, since yesterday we are getting the 403 error

Although, tried this as well in pom.xml but still same error

<repository>
			<id>AsposeJavaAPI</id>
			<name>Aspose Java API</name>
			<url>https://releases.aspose.com/java/repo/</url>
</repository>

@rchilli,
unfortunately I can’t reproduce the problem on my side. Version 22.9 downloads for a simple test project without any issues. This appears to be an internal issue with the repository servers and access to them from different locations. Try downloading the dependencies a little later, or as a workaround, try creating a Maven module with only the Aspose dependencies and a link to the Aspose repository.

In addition, I would like to specifically draw your attention to the fact that version 22.9 is old and no longer supported. I strongly recommend using the latest version (currently 24.5). It contains the latest updates and fixes for bugs and vulnerabilities. It can be downloaded by the following link:
Download Aspose.Words for Java 24.5 .

To use this version, we need to buy the latest license for this and that will be very long process within the organization

It is crucial issue for us, as we are not able to release the solution on the production.
It was working properly till yesterday. Please suggest some solution or any change from your side in last 1 or 2 day?

@rchilli We will check and provide you more information. Please accept our apologies for your inconvenience.

We are having the same problem as well… getting 403 forbidden exception

 <!-- https://mvnrepository.com/artifact/com.aspose/aspose-words -->
        <dependency>
            <groupId>com.aspose</groupId>
            <artifactId>aspose-words</artifactId>
            <version>19.11</version>
            <classifier>jdk17</classifier>
        </dependency>

 <repository>
            <id>AsposeJavaAPI</id>
            <name>Aspose Java API</name>
            <url>https://repository.aspose.com/repo/</url>
        </repository>

And we are not looking to buy a new version right now.

@ankit11088 I have informed the responsible person regarding the problem. Please accept our apologies for your inconvenience.

Hi,

Any update on the same?
Things are getting delayed

@rchilli @ankit11088 I have received an answer from our hosting 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.

Then how we can resolve this issue?

@rchilli I have answered you via private message.

Hello. How can we resolve the issue?

@pavilandoangelo Could you please provide your IP address via private message from where the Aspose Repository is requested. We will check whether it has been blocked.

Hi, we are having same issue wince Friday, any update here? it blocks releases of the product.

@julianprius We are working with our hosting team in order to resolve the problem. Please accept our apologies for your inconvenience.

Hi @alexey.noskov any update for this issue ?

@itohirin Our hosting team is working on the problem. Please accept our apologies for your inconvenience.