Assets Essentials에서 작업을 생성할 수 없음
특정 에셋 저장소에 대해 Assets Essentials UI를 사용할 때 작업을 생성할 수 없는 경우 Apache Sling Referrer Filter OSGi 구성의 "Allow Regexp Host" 속성에 누락된 값을 추가합니다.
설명 description
환경
AEM as a Cloud Service
문제/증상
특정 에셋 저장소에 대해 Assets Essentials UI(Workspace라고도 함)를 사용하는 경우 작업을 생성할 수 없습니다.
작업을 입력하고 저장 을 클릭하면 "작업을 만들 수 없습니다" 오류가 나타납니다.
또한 브라우저의 개발자 콘솔에 다음 오류가 표시됩니다.
Access to fetch at 'https://author-pxxxxxx-eyyyyyy.adobeaemcloud.com/adobe/collab/tasks/id/urn:aaid:aem:4c0a5fe9-1020-42dd-b737-b7b5c7909760' from origin 'https://exc-unifiedcontent.experience.adobe.net' has been blocked by CORS policy:
No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
MetricsNetworkIntercept.ts:159
해결 방법 resolution
로그를 확인할 때 ReferrerFilter - [ 1] 에서 작업 만들기 요청을 거부했습니다.
또한 Apache Sling 레퍼러 필터 OSGi 구성을 확인하면 작업을 만들 수 없는 인스턴스에서 "Allow Regexp Host"에 대해 정의된 항목이 없습니다.
그러나 "Allow Regexp Host"에는 [ 2] 값이 정의되어 있어야 합니다.
Apache Sling Referrer Filter OSGi 구성의 "Allow Regexp Host" 속성에 누락된 값을 추가하면 문제가 해결되었습니다.
[ 1]
msg: [ qtp625718124-83] org.apache.sling.security.impl.ReferrerFilter Rejected referrer header for POST request to /adobe/collab/tasks/id/urn:aaid:aem:19f8dd63-98ba-4575-8794-933af336fe88 : https://experience.adobe.com/
msg: [ qtp937089041-8996] org.apache.sling.security.impl.ReferrerFilter Rejected referrer header for POST request to /adobe/collab/tasks/id/urn:aaid:aem:4c0a5fe9-1020-42dd-b737-b7b5c7909760 : https://exc-unifiedcontent.experience.adobe.net/
[ 2]
"https://.*\\.adobe\\.com:443",
"https://.*\\.adobe\\.net:443",
"https://.*\\.workfront\\.com:443",
"https://.*\\.workfront-dev\\.com:443",
"https://.*\\.dev\\.workfront\\.tech:443"
Experience League 캠페인 커뮤니티에서 질문하기
이 주제에 대해 답변하고 싶은 질문이 있거나 이전 답변한 질문을 읽은 경우 이 문서를 포함하는 Experience League 커뮤니티 블로그 게시물을 보고, 질문과 의견을 보내고, Experience League 캠페인 커뮤니티에 참여하세요!