Troubleshooting
Problem
Service Portal on Cloud users can experience authentication failures when attempting to log in to Service Portal because of security settings.
Symptom
When a user attempts to log in to Service Portal on Cloud, the following error message occurs:
An error occurred attempting to authenticate. Please contact your system administrator.
This error can occur if you connect to your IBM Control Desk instance using http instead of https.
Resolving The Problem
To resolve this problem, set the NODE_TLS_REJECT_UNAUTHORIZED environment variable to 0 as shown in the following steps:
1. In IBM Control Desk, locate the following lines of code:
- //process.env.NODE_TLS_REJECT_UNAUTHORIZED = "0";
to sccd_url with 'https' protocol
//process.env.NODE_TLS_REJECT_UNAUTHORIZED = "0";
- //process.env.NODE_TLS_REJECT_UNAUTHORIZED = "0";
3. Start the nodejs application.
Note: Because this configuration is not secure, it is not recommended in environments where strong security is required.
[{"Product":{"code":"SSZRHJ","label":"IBM Control Desk on Cloud"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"--","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"Version Independent","Edition":"All Editions","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]
Was this topic helpful?
Document Information
Modified date:
17 January 2023
UID
swg21962477