Skip to main content
francisco_ribei
Level 6
Oct 16, 2015 2:27 AM UTC
Solved

Static Agent Error

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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Sham_HC
Sham_HCAccepted solution
Level 10
Oct 16, 2015 2:27 AM UTC

6 replies

francisco_ribei
Level 6
Oct 16, 2015 2:27 AM UTC

Hi,

It is now working.

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

Thanks

Translate
Sham_HC
Level 10
Oct 16, 2015 2:27 AM UTC

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.

Translate
francisco_ribei
Level 6
Oct 16, 2015 2:27 AM UTC

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

Translate
Sham_HC
Sham_HCAccepted solution
Level 10
Oct 16, 2015 2:27 AM UTC
francisco_ribei
Level 6
Oct 16, 2015 2:27 AM UTC

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

Translate
Level 3
Sep 23, 2016 1:25 AM UTC

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

Translate