Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Maven clean install unauthorized error

Avatar

Avatar
Validate 1
Level 2
rajnishkaushik
Level 2

Likes

7 likes

Total Posts

14 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 1
View profile

Avatar
Validate 1
Level 2
rajnishkaushik
Level 2

Likes

7 likes

Total Posts

14 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 1
View profile
rajnishkaushik
Level 2

15-12-2017

When running the maven clean install command:

mvn clean install -PautoInstallPackage -Daem.host=remoteserver -Daem.port=4502 -Dsling.user=admin -Dsling.password=<password>

I am getting:

[DEBUG] Authorization required

[DEBUG] Supported authentication schemes in the order of preference: [ntlm, digest, basic]

[DEBUG] Challenge for ntlm authentication scheme not available

[DEBUG] Challenge for digest authentication scheme not available

[INFO] basic authentication scheme selected

[DEBUG] Using authentication scheme: basic

[DEBUG] Authorization challenge processed

[DEBUG] Authentication scope: BASIC 'Sling (Development)'@remoteserver:4502

[DEBUG] Credentials required

[DEBUG] Credentials provider not available

[INFO] Failure authenticating with BASIC 'Sling (Development)'@remoteserver:4502

[ERROR] Request to http://remoteserver:4502/crx/packmgr/service.jsp failed, response=Unauthorized

[DEBUG] Should close connection in response to directive: close

[DEBUG] Releasing connection back to connection manager.

Surprisingly the curl call to the same server, with exact same credentials is successful:

curl -u admin:<password> http://remoteserver:4502/crx/packmgr/service.jsp?cmd=ls

I tried to find the logs in error.log, access.log, and request.log for either calls, but AEM does not seem to be keeping the logs for call to /crx/packmgr/service.jsp

Is there anyway, I can setup the AEM to log the calls to /crx/packmgr/service.jsp?

Thanks you very much for looking at my question. Would greatly appreciate a suggestion.

View Entire Topic

Avatar

Avatar
Validate 1
Level 2
rajnishkaushik
Level 2

Likes

7 likes

Total Posts

14 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 1
View profile

Avatar
Validate 1
Level 2
rajnishkaushik
Level 2

Likes

7 likes

Total Posts

14 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 1
View profile
rajnishkaushik
Level 2

15-12-2017

Abhishek- The pom.xml properties are default properties as created by the maven archetype 10. Kindly seem my other post