Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

Static Agent Error

Avatar

Level 6

Hi,

I'm trying to configure a Static Agent, but when I am publishing an Asset it is throwing the following error:

03.07.2015 15:26:41 - DEBUG - static : Requesting http://localhost:4502/content/dam/geometrixx/documents/GeoCube_Datasheet.pdf
03.07.2015 15:26:41 - WARN - static : Unable to retrieve content: Unable to fetch content from http://localhost:4502/content/dam/geometrixx/documents/GeoCube_Datasheet.pdf : 401

Is there any user configuration that should be done for this agent?

Thanks

1 Accepted Solution

Avatar

Correct answer by
Level 10
6 Replies

Avatar

Level 6

I found this error in the log:

org.apache.commons.httpclient.HttpMethodDirector No credentials available for BASIC 'Sling (Development)'@localhost:4502

By the log it seems the credentials are not being passed.

Does anyone know if there is any extra configuration to be done in order to make this agent work?

thanks

Avatar

Correct answer by
Level 10

Avatar

Level 6

Hi Sham,

I followed the steps from this blog entry. Is there any other documentation available about this feature?

It seems it can not send the credentials and because of that receives a 401 error.

I'll keep investigating in case I found some news I'll post here.

Thanks

Avatar

Level 10

Document is blog post should work.  In case you are using AEM 5.6.1 install service pack and hotfix  cq-5.6.1-hotfix-5329-1.0.zip. Otherwise reach official support channel.

Avatar

Level 6

Hi,

It is now working.

I just restarted the instance and it started working. Don't know why :)

Thanks

Avatar

Level 3

Restart is a must get it work. I also configured and it worked only after restart,