Expand my Community achievements bar.

Dispatcher issue - unable to connect to backend

Avatar

Level 4

Hi all

I am getting the following error in AEM author, when trying to access pages through dispatcher.

503 - Bad Gateway

The proxy server received an invalid response from an upstream server

and 504 in publish.

please see the dispatcher logs below.

[Tue Feb 20 04:11:45 2018] [D] [pid 14721 (tid 140389260392192)] Found farm publishfarm for ****.adobecqms.net

[Tue Feb 20 04:11:45 2018] [D] [pid 14721 (tid 140389260392192)] checking [/content/imf/en.html]

[Tue Feb 20 04:11:45 2018] [D] [pid 14721 (tid 140389260392192)] request URL not in cache rules: /content/imf/en.html

[Tue Feb 20 04:11:45 2018] [D] [pid 14721 (tid 140389260392192)] cache-action for [/content/imf/en.html]: NONE

[Tue Feb 20 04:11:45 2018] [D] [pid 14721 (tid 140389260392192)] Creating new socket: 34.***.63.124:4503

[Tue Feb 20 04:11:47 2018] [W] [pid 14749 (tid 140389268784896)] Unable to connect socket to 34.***.78.27:4502: Connection timed out

[Tue Feb 20 04:11:47 2018] [W] [pid 14749 (tid 140389268784896)] Unable to connect to any backend in farm authorfarm

[Tue Feb 20 04:11:48 2018] [D] [pid 14749 (tid 140389268784896)] no backends available....retrying 2/5

[Tue Feb 20 04:11:48 2018] [D] [pid 14749 (tid 140389268784896)] Creating new socket: 34.***.78.27:4502

SELinux is enabled for us. I have tried out the solutions given in following forum threads,but that doesn't work for me.

1. https://forums.adobe.com/thread/1032754

2.https://forums.adobe.com/thread/2330690

Anyone faced similar issue? Please advise.

Thanks in advance,

Anusha

2 Replies

Avatar

Level 2

Hi Anusha

Could you please check if the author/publish server is not blocking traffic from dispatcher? You need to white-list dispatcher server.