Can't submit Service Catalog request due to a CORS policy in Service Point
search cancel

Can't submit Service Catalog request due to a CORS policy in Service Point

book

Article ID: 186441

calendar_today

Updated On:

Products

CA Service Management - Service Desk Manager CA Service Catalog CA Service Desk Manager

Issue/Introduction

The following error appears in the Console tab when submitting a Service Catalog request through Service Point:

Access to XMLHttpRequest at 'http://Catalog_hostname:port/usm/wpf?Node=icguinode.submitservicerequest&b2b=json&sh=mwa4L/KhYBdU8TAON+8Lb/7lDUg=&portal=true&locale=en-US' from origin 'http://ServicePoint_hostname:port' has been blocked by CORS policy: The value of the 'Access-Control-Allow-Credentials' header in the response is '' which must be 'true' when the request's credentials mode is 'include'. The credentials mode of requests initiated by the XMLHttpRequest is controlled by the withCredentials attribute.
 

Environment

Release : 17.x

Component : Service Point

Cause

Post-installation steps have not been implemented.

Resolution

Implement the Service Catalog post-installation steps noted in the following document:

https://techdocs.broadcom.com/us/en/ca-enterprise-software/business-management/ca-service-management/17-3/installing/Installing-CA-Service-Management-17-3-0-22/Post-Installation-Tasks-for-CA-Service-Management-17-3-0-22.html

 

In Chrome 91 and later releases the error remains: To solve this problem, enable SSL for Service Catalog and Service Point and add the following to the 'context' element of server.xml file in USM_HOME/view/conf:

 <CookieProcessor sameSiteCookies="none" />

For example:

<Context path="/usm" docBase="\Program Files\CA\Service Catalog\view\webapps\usm" debug="0" reloadable="false" ><CookieProcessor sameSiteCookies="none" />
<Manager pathname="" />
 <Loader delegate="true" />
</Context>         
        
</Context>

Additional Information

Chrome Browser shows errors in Service Point

Cannot submit service catalog request due to custom JS files