Expand my Community achievements bar.

Enhance your AEM Assets & Boost Your Development: [AEM Gems | June 19, 2024] Improving the Developer Experience with New APIs and Events
SOLVED

Not able to connect to publish instance using default replication agent

Avatar

Level 9

Hi All,

I have newly configured publish instance and trying to to do a test connection but getting below error message.

Replication test to http://localhost:4503/bin/receive?sling:authRequestLogin=1

19.04.2016 23:04:40 - Create new HttpClient for Default Agent
19.04.2016 23:04:40 - * Auth User: admin
19.04.2016 23:04:40 - * HTTP Version: 1.1
19.04.2016 23:04:40 - adding header: Action:Test
19.04.2016 23:04:40 - adding header: Path:/content
19.04.2016 23:04:40 - adding header: Handle:/content
19.04.2016 23:04:40 - deserialize content for delivery
19.04.2016 23:04:40 - No message body: Content ReplicationContent.VOID is empty
19.04.2016 23:04:40 - Sending POST request to http://localhost:4503/bin/receive?sling:authRequestLogin=1
19.04.2016 23:04:40 - sent. Response: 401 Unauthorized
19.04.2016 23:04:40 - Replication (TEST) of /content not successful. Conversation follows
19.04.2016 23:04:40 - ------------------------------------------------
19.04.2016 23:04:40 - Sending message to localhost:4503
19.04.2016 23:04:40 - >> POST /bin/receive HTTP/1.0
19.04.2016 23:04:40 - >> Action: Test
19.04.2016 23:04:40 - >> Path: /content
19.04.2016 23:04:40 - >> Handle: /content
19.04.2016 23:04:40 - >> Referer: about:blank
19.04.2016 23:04:40 - >> Content-Length: 0
19.04.2016 23:04:40 - >> Content-Type: application/octet-stream
19.04.2016 23:04:40 - --
19.04.2016 23:04:40 - << HTTP/1.1 401 Unauthorized
19.04.2016 23:04:40 - << Date: Tue, 19 Apr 2016 17:34:40 GMT
19.04.2016 23:04:40 - << WWW-Authenticate: Basic realm="Sling (Development)"
19.04.2016 23:04:40 - << Transfer-Encoding: chunked
19.04.2016 23:04:40 - << Server: Jetty(8.1.14.v20131031)
19.04.2016 23:04:40 - << 
19.04.2016 23:04:40 - Message sent.
19.04.2016 23:04:40 - ------------------------------------------------
19.04.2016 23:04:40 - Replication (TEST) of /content not successful.


Replication test failed
Unauthorized

What will be the issue ?i will not change any password for 'admin' account.

Thanks,

Kishore

1 Accepted Solution

Avatar

Correct answer by
Level 9
3 Replies

Avatar

Correct answer by
Level 9

Resolved IT.