Expand my Community achievements bar.

Guidelines for the Responsible Use of Generative AI in the Experience Cloud Community.

Publishing to multiple instances not triggering

Avatar

Level 5

hi,

 

we created two publishing instances, on Authoring we configured two publish agents for each instance, test connection works fine for both agents.

Problem is that only first publish agent triggers and syndicates to publishing instance. Second publish agent is enabled connection works but no activity there. We don't see any errors, enabled syndication debugging on Author but there's no errors.

When we stop first publishing instance we see replication queue piling up on first publish agent but still nothing on second publish agent.

When we reconfigure first publish agent to replicate to second publishing instance that works as well.

 

In the replication log for second publish agent we can see.

 

2023-02-10 16:05:10 - INFO - publish-agent-2 : Replication (TEST) of /content successful.
2023-02-10 16:06:29 - INFO - publish-agent-2 : Agent stopped.
2023-02-10 16:06:29 - INFO - publish-agent-2 : Agent stopped for (re)configuration
2023-02-10 16:06:29 - INFO - publish-agent-2 : Agent configuration updated at /etc/replication/agents.author/publish-agent-2/jcr:content
2023-02-10 16:06:29 - INFO - publish-agent-2 : Agent updated. State is enabled and valid
2023-02-10 16:06:29 - INFO - publish-agent-2 : Agent started.
2023-02-10 16:06:31 - INFO - publish-agent-2 : Creating content for path /content
2023-02-10 16:06:31 - INFO - publish-agent-2 : Create new HttpClient for Publish agent 2
2023-02-10 16:06:31 - INFO - publish-agent-2 : * Auth User: admin
2023-02-10 16:06:31 - INFO - publish-agent-2 : * HTTP Version: 1.1
2023-02-10 16:06:31 - INFO - publish-agent-2 : * Connect Timeout: 900000
2023-02-10 16:06:31 - INFO - publish-agent-2 : * Socket Timeout: 900000
2023-02-10 16:06:31 - INFO - publish-agent-2 : Sending POST request to http://localhost:8083/bin/receive?sling:authRequestLogin=1
2023-02-10 16:06:31 - INFO - publish-agent-2 : sent. Response: 200 OK

 

 

Any ideas ?

 

Thank you

6 Replies

Avatar

Community Advisor

HI @nbg62 ,

 

What AEM version are you using? Also, what I understanding is, you have one author and two publish instances. One Publish you are running on 8083 port, what port you are using for the second publish instance?

 

I can see the logs clearly says 'Connect Timeout', it means the server is not even up. Are you able to access AEM server on 8083 port on browser?

 

Thanks,

Ritesh Mittal

Avatar

Level 5

>I can see the logs clearly says 'Connect Timeout', it means the server is not even up

 

I think this represent default timeout value not that connection timed out

 

Authoring is on 8081, and publishing instances od 82 and 83 and I can access all instances.

AEM version is cluod runtime, 2022.6.7767.etc....

 

Thanks

Avatar

Employee Advisor

@nbg62 

Can you please check you have followed the right steps while configuring second Publish Agent. Like Serialization Type, Transport URI etc.

https://experienceleague.adobe.com/docs/experience-manager-64/deploying/configuring/replication.html...

 

I just tried on my local, I made a copy of my default agent and pointed it towards 2nd Publisher. 

 

It works fine and even logs says so.

 

Avatar

Level 5

Second publishing agent is a copy of the first/default one, just that transport uri is changed to point to second publish instance.

Avatar

Employee Advisor

would it be possible to share screen shots of your Agent 1 and Agent 2, side by side (try adding screenshots of different tabs)

 

You can start from scratch, delete agent 2 and follow below steps to create 2nd Agent.

https://experienceleague.adobe.com/docs/experience-manager-64/deploying/configuring/replication.html...

 

@nbg62 

Avatar

Level 1

Thank, I did that but it didn't help, deleted publishing instances, setup again....

When I moved to 6.5 fp10 it worked without any complications but with cloud runtime it just refused to work with 2 nodes.