Expand my Community achievements bar.

Learn about Edge Delivery Services in upcoming GEM session
SOLVED

Reverse Replication test works but the agent is unable to poll the publish instance outbox

Avatar

Level 2

I have a weird issue where the reverse replication test works once I set up the agent. However, the agent is unable to poll to the publish instance outbox and it throws the following exception

 

9.08.2014 20:46:11 - INFO - qa-reverse-agent : Creating content for path /content
19.08.2014 20:46:11 - INFO - qa-reverse-agent : Create new HttpClient for QA Reverse Agent
19.08.2014 20:46:11 - INFO - qa-reverse-agent : * Auth User: admin
19.08.2014 20:46:11 - INFO - qa-reverse-agent : * HTTP Version: 1.1
19.08.2014 20:46:11 - INFO - qa-reverse-agent : Sending POST request to http://54.191.245.106:4503/bin/receive?sling:authRequestLogin=1
19.08.2014 20:46:11 - INFO - qa-reverse-agent : sent. Response: 200 OK
19.08.2014 20:46:11 - INFO - qa-reverse-agent : ------------------------------------------------
19.08.2014 20:46:11 - INFO - qa-reverse-agent : Sending message to 54.191.245.106:4503
19.08.2014 20:46:11 - INFO - qa-reverse-agent : >> POST /bin/receive HTTP/1.0
19.08.2014 20:46:11 - INFO - qa-reverse-agent : >> Action: Test
19.08.2014 20:46:11 - INFO - qa-reverse-agent : >> Path: /content
19.08.2014 20:46:11 - INFO - qa-reverse-agent : >> Handle: /content
19.08.2014 20:46:11 - INFO - qa-reverse-agent : >> Referer: about:blank
19.08.2014 20:46:11 - INFO - qa-reverse-agent : >> Content-Length: 0
19.08.2014 20:46:11 - INFO - qa-reverse-agent : >> Content-Type: application/octet-stream
19.08.2014 20:46:11 - INFO - qa-reverse-agent : --
19.08.2014 20:46:11 - INFO - qa-reverse-agent : << HTTP/1.1 200 OK
19.08.2014 20:46:11 - INFO - qa-reverse-agent : << Date: Wed, 20 Aug 2014 00:46:11 GMT
19.08.2014 20:46:11 - INFO - qa-reverse-agent : << Content-Type: text/plain;charset=UTF-8
19.08.2014 20:46:11 - INFO - qa-reverse-agent : << Content-Length: 26
19.08.2014 20:46:11 - INFO - qa-reverse-agent : << Server: Jetty(8.1.14.v20131031)
19.08.2014 20:46:11 - INFO - qa-reverse-agent : << 
19.08.2014 20:46:11 - INFO - qa-reverse-agent : << ReplicationAction TEST ok.
19.08.2014 20:46:11 - INFO - qa-reverse-agent : Message sent.
19.08.2014 20:46:11 - INFO - qa-reverse-agent : ------------------------------------------------
19.08.2014 20:46:11 - INFO - qa-reverse-agent : Replication (TEST) of /content successful.
19.08.2014 20:46:15 - ERROR - qa-reverse-agent : Error while polling agent qa-reverse-agent: com.day.cq.replication.ReplicationException: Unsupported http method POST
19.08.2014 20:46:45 - ERROR - qa-reverse-agent : Error while polling agent qa-reverse-agent: com.day.cq.replication.ReplicationException: Unsupported http method POST
19.08.2014 20:47:15 - ERROR - qa-reverse-agent : Error while polling agent qa-reverse-agent: com.day.cq.replication.ReplicationException: Unsupported http method POST
19.08.2014 20:47:45 - ERROR - qa-reverse-agent : Error while polling agent qa-reverse-agent: com.day.cq.replication.ReplicationException: Unsupported http method POST
19.08.2014 20:48:15 - ERROR - qa-reverse-agent : Error while polling agent qa-reverse-agent: com.day.cq.replication.ReplicationException: Unsupported http method POST
19.08.2014 20:48:45 - ERROR - qa-reverse-agent : Error while polling agent qa-reverse-agent: com.day.cq.replication.ReplicationException: Unsupported http method POST
19.08.2014 20:49:15 - ERROR - qa-reverse-agent : Error while polling agent qa-reverse-agent: com.day.cq.replication.ReplicationException: Unsupported http method POST

Did anyone face this issue earlier?

Thanks,

Ravi

1 Accepted Solution

Avatar

Correct answer by
Level 10

By default the "HTTP Method" field in the Extended tab in the reverse replication configuration should set to GET for all the reverse replications but it was empty indicates a POST. Please change to "GET". Attaching a snapshot for quick reference.[img]Replication.png[/img]

View solution in original post

3 Replies

Avatar

Correct answer by
Level 10

By default the "HTTP Method" field in the Extended tab in the reverse replication configuration should set to GET for all the reverse replications but it was empty indicates a POST. Please change to "GET". Attaching a snapshot for quick reference.[img]Replication.png[/img]

Avatar

Level 2

I  got the same issue.

We have reverse replication agent set up on author server for publish instance. The configurations include enabling the agent, configuring correct publish server URI, username and password. HTTP Method is set as GET.
When testing the connection from the replication agent on author, it tests successfully.
But it doesn't poll for the publish server's inbox.
On publish instances, the outbox queue is getting created successfully but doesn't empty.

Can I get some help?

Avatar

Level 2

Hi Manender,

Can you attach any related log files? Also, Please check for any connectivity issues between the publish and author instances.

Cheers,

Ravi