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
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

Issue with Replication agents in Author 6.5.10

Avatar

Community Advisor

Hi All,

 

We have recently upgraded AEM to SP 10 pack (from 6.5.7)

I have noticed that if we disable and enable the replication agent in Author instance  - it throws "Unauthorized Error".

To resolve the error - we have updated back the same password in transport tab of password section and we are seeing the same issue in all the environments.

Did anyone faced this issue ? please share your thoughts.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

@Kiran_Vedantam Yeah - when we disable the agent and tried to re-enable the agent, we are getting "Unauthorized Error" -> eventhough we have correct credentials are configured.

 

Then - I have updated the same credentials and it worked.

View solution in original post

4 Replies

Avatar

Community Advisor

Hi @Raja-kp 

 

Can you share more error log on what exactly it is saying like this

Kiran_Vedantam_0-1637345855562.png

Thanks,

Kiran Vedantam.

Avatar

Community Advisor

HI @Kiran_Vedantam Replication log as below:

Replication test to http:<server>:4503/bin/receive?sling:authRequestLogin=1
2021-11-17 06:12:57 - Create new HttpClient for Replication Publish 1
2021-11-17 06:12:57 - * Auth User: admin
2021-11-17 06:12:57 - * HTTP Version: 1.1
2021-11-17 06:12:57 - * Connect Timeout: 900000
2021-11-17 06:12:57 - * Socket Timeout: 900000
2021-11-17 06:12:57 - adding header: Action:Test
2021-11-17 06:12:57 - adding header: Path:/content
2021-11-17 06:12:57 - adding header: Handle:/content
2021-11-17 06:12:57 - deserialize content for delivery
2021-11-17 06:12:57 - No message body: Content ReplicationContent.VOID is empty
2021-11-17 06:12:57 - Sending POST request to http://<server>:4503/bin/receive?sling:authRequestLogin=1
2021-11-17 06:12:57 - sent. Response: 401 Unauthorized
2021-11-17 06:12:57 - Replication (TEST) of /content not successful. Conversation follows
2021-11-17 06:12:57 - ------------------------------------------------
2021-11-17 06:12:57 - Sending message to <server>:4503
2021-11-17 06:12:57 - >> POST /bin/receive HTTP/1.0
2021-11-17 06:12:57 - >> Action: Test
2021-11-17 06:12:57 - >> Path: /content
2021-11-17 06:12:57 - >> Handle: /content
2021-11-17 06:12:57 - >> Referer: about:blank
2021-11-17 06:12:57 - >> Content-Length: 0
2021-11-17 06:12:57 - >> Content-Type: application/octet-stream
2021-11-17 06:12:57 - --
2021-11-17 06:12:57 - << HTTP/1.1 401 Unauthorized
2021-11-17 06:12:57 - << Date: Wed, 17 Nov 2021 06:12:57 GMT
2021-11-17 06:12:57 - << WWW-Authenticate: Basic realm="Sling (Development)"
2021-11-17 06:12:57 - << Transfer-Encoding: chunked
2021-11-17 06:12:57 - <<
2021-11-17 06:12:57 - Message sent.
2021-11-17 06:12:57 - ------------------------------------------------
2021-11-17 06:12:57 - Replication (TEST) of /content not successful.
Replication test failed
Unauthorized

Avatar

Community Advisor

Hi @Raja-kp 

 

Can u check the uID and pwd? It says Unauthorized issue.

 

Thanks,

Kiran Vedantam.

Avatar

Correct answer by
Community Advisor

@Kiran_Vedantam Yeah - when we disable the agent and tried to re-enable the agent, we are getting "Unauthorized Error" -> eventhough we have correct credentials are configured.

 

Then - I have updated the same credentials and it worked.