IBM Support

"An unexpected error occurred" when connecting to Planning Analytics Workspace (Linux) after editing paw.env

Troubleshooting


Problem

Web browser displays "An unexpected error occurred" when trying to connect to a Planning Analytics Workspace that is installed on Linux.
This error happens after modifying the paw.env configuration file by using some text editor outside the Linux machine.

Symptom

The following error appears in the wa-proxy log:
statusCode: 500,
error: {
message: 'Error: Unknown authentication strategy "cam\r"',
stack: [
'Error: Unknown authentication strategy "cam\r"',
' at attempt (/wa-proxy/node_modules/passport/lib/middleware/authenticate.js:186:37)',
' at authenticate (/wa-proxy/node_modules/passport/lib/middleware/authenticate.js:362:7)',
' at authenticate (/wa-proxy/services/pa-login.js:139:12)',
' at Layer.handle [as handle_request] (/wa-proxy/node_modules/router/lib/layer.js:93:5)',
' at next (/wa-proxy/node_modules/router/lib/route.js:144:13)',
' at /wa-proxy/node_modules/cors/lib/index.js:228:13',
' at optionsCallback (/wa-proxy/node_modules/cors/lib/index.js:199:9)',
' at corsMiddleware (/wa-proxy/node_modules/cors/lib/index.js:204:7)',
' at Layer.handle [as handle_request] (/wa-proxy/node_modules/router/lib/layer.js:93:5)',
' at next (/wa-proxy/node_modules/router/lib/route.js:144:13)',
' at Route.dispatch (/wa-proxy/node_modules/router/lib/route.js:109:3)',
' at handle (/wa-proxy/node_modules/router/index.js:520:11)',
' at Layer.handle [as handle_request] (/wa-proxy/node_modules/router/lib/layer.js:93:5)',
' at /wa-proxy/node_modules/router/index.js:296:22',
' at Function.process_params (/wa-proxy/node_modules/router/index.js:354:12)',
' at next (/wa-proxy/node_modules/router/index.js:290:10)'
]...
This can also appear as:
'Error: Unknown authentication strategy "tm1\r"'
Note the abnormal presence of the "\r" control character code

Document Location

Worldwide

[{"Type":"MASTER","Line of Business":{"code":"LOB76","label":"Data Platform"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSCTEW","label":"IBM Planning Analytics Local"},"ARM Category":[{"code":"a8m50000000KzIzAAK","label":"Planning Analytics Workspace"},{"code":"a8m0z000000blfjAAA","label":"Troubleshooting"}],"ARM Case Number":"","Platform":[{"code":"PF016","label":"Linux"}],"Version":"All Versions"},{"Product":{"code":"SSKVSF","label":"Planning Analytics on Cloud"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":" ","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"LOB76","label":"Data Platform"}}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

Modified date:
09 May 2025

UID

ibm16523832