UI test failures in AEMaaCS due to IP Allowlisting

The article explains how IP restrictions on AEM author and publish servers can block pipeline access during end-to-end or UI testing. This happens when the pipeline’s IP ranges aren’t properly allowlisted, resulting in HTTP 403   Forbidden errors. To resolve the issue, allowlist the pipeline’s IP ranges.

Description description

Environment

  • Product: Adobe Experience Manager as a Cloud Service (AEMaaCS) – Sites
  • Feature: Cloud Manager CI/CD Pipeline

Issue/Symptoms

  • The CI/CD pipeline fails during end-to-end tests due to IP restrictions on AEM author and publish servers.
  • The pipeline receives HTTP 403 Forbidden errors when trying to load pages.
  • Removing IP restrictions temporarily resolves the issue, confirming it’s caused by missing IP allowlisting.

Resolution resolution

To resolve the issue, follow these steps:

  1. Allowlist the following IP ranges in your allowlist settings for both author and publish environments to ensure the CI/CD pipeline can run UI tests successfully:

    • 20.44.81.210/32
    • 20.44.81.197/32
    • 40.65.215.0/28
    • 52.177.162.128/25
    • 52.177.164.0/25
    • 52.232.229.230/32
    • 52.232.229.253/32
    • 40.70.226.144/28
    • 40.70.226.80/28
    • 40.70.226.176/28
    • 40.70.226.48/28
    • 40.70.225.224/28
    • 40.70.226.96/28
    • 40.70.226.192/28
    • 40.70.226.208/28
    • 40.70.226.112/28
    • 40.70.225.240/28
    • 40.70.226.160/28
    • 40.70.226.128/28
    • 40.70.226.16/28
    • 40.70.226.0/28
    • 40.70.226.64/28
    • 40.70.226.32/28
  2. Rerun your end-to-end tests through the pipeline after updating the allowlist to confirm successful execution without access errors.

  3. Check external dependencies if issues persist. Confirm whether your testing tool (for example, Cypress) relies on external systems or services that also require allowlisting.

  4. Confirm resolution by verifying that all necessary functionality is restored once tests execute successfully without errors.

UI Testing in AEM as a Cloud Service User Guide

recommendation-more-help
3d58f420-19b5-47a0-a122-5c9dab55ec7f