[AEMaaCS] Cannot access Assets UI and Content Distribution with “Gave up fetching queue state” error

Last update: 2022-11-29

Description

Environment
Experience Cloud

Issue/Symptoms
The following error occurs when opening Assets UI and Content Distribution.

31.01.2022 02:16:37.882 cm-<b></b><b></b>-<b></b><b></b>-aem-author-<b></b><b></b><b></b>-<b></b>* WARN <b>*.</b>*.<b>*.</b>* 1643595337830 GET /assets.html/content/dam HTTP/1.1 com.day.cq.dam.commons.util.DamUtil Cannot build entryDepthMap

java.lang.RuntimeException: Gave up fetching queue state

    at org.apache.sling.distribution.journal.queue.impl.PubQueueCache.fetchIfNeeded(PubQueueCache.java:155) org.apache.sling.distribution.journal:0.1.20

    at org.apache.sling.distribution.journal.queue.impl.PubQueueCache.getOffsetQueue(PubQueueCache.java:117) org.apache.sling.distribution.journal:0.1.20

    at org.apache.sling.distribution.journal.queue.impl.PubQueueProviderImpl.getOffsetQueue(PubQueueProviderImpl.java:198) org.apache.sling.distribution.journal:0.1.20

    at org.apache.sling.distribution.journal.queue.impl.PubQueueProviderImpl.getQueue(PubQueueProviderImpl.java:173) org.apache.sling.distribution.journal:0.1.20

    at org.apache.sling.distribution.journal.impl.publisher.DistributionPublisher.getQueue(DistributionPublisher.java:226) org.apache.sling.distribution.journal:0.1.20

    at com.adobe.granite.distribution.core.impl.replication.adapters.ReplicationAgent.getQueue(ReplicationAgent.java:179) com.adobe.granite.distribution.core:0.2.70


 

Resolution

This issue was affected by GRANITE-37870 and SKYOPS-24148. The temporary workaround is to refresh the Content Distribution Queue. Follow these steps to refresh.

  1. Execute Test Connection in Content Distribution Agent UI. (http://IP:PORT/libs/granite/distribution/content/distribution-agent.html?agentName=publish)
  2. Activate a dummy page in the site’s UI.
  3. Re-execute pipeline from Cloud Manager (Note: NOT required to modify any code).

On this page