Experience Manager - Web Tier pipeline execution failing during TestCacheInvalidation

Last update: 2024-02-21

Description

Environment
Experience Manager as a Cloud Service

Issue
The Web Tier pipeline execution fails with error below in log file:

=== RUN TestCacheInvalidation
main_test.go:237: Test fails. Expected header ‘X-Vhost’ to be existing and not: ‘catch-all’, got: ‘catch-all’
— FAIL: TestCacheInvalidation (0.00s)
FAIL
exit status 1

Resolution

Steps to Resolve

Important
At least one enabled vhost must declare a ServerAlias value that includes either * OR 127.0.0.1 localhost. Including just localhost in the ServerAlias is not guaranteed to handle cache invalidation requests in all versions of the dispatcher validator.

On this page