Support Article

HTTP 401 error with CMIS connection



User receives a HTTP 401 (‘unauthorized’) error when testing our PRPC CMIS Connector against a “FileNet” Content Managements System. User has confirmed using correct credentials.

Error Messages

2016-03-12 09:42:33,121 [ WebContainer : 5] [TABTHREAD2] [ ] [ XX:01.01.02] ( connect.cmis.CMISConnector) ERROR xxx| - Failed to retrieve repositories for XXXXCMIS
org.apache.chemistry.opencmis.commons.exceptions.CmisRuntimeException: Error: org.apache.axis2.AxisFault: HTTP ( 401 ) Unauthorized address : http://xxxxx/fncmis/RepositoryService
at org.apache.chemistry.opencmis.client.bindings.spi.webservices.RepositoryServiceImpl.getRepositoryInfos(
at org.apache.chemistry.opencmis.client.bindings.impl.RepositoryServiceImpl.getRepositoryInfos(
at org.apache.chemistry.opencmis.client.runtime.SessionFactoryImpl.getRepositories(
at org.apache.chemistry.opencmis.client.runtime.SessionFactoryImpl.getRepositories(
at com.pega.pegarules.integration.engine.internal.connect.cmis.CMISConnector.getCMISRepositories(
at com.pega.pegarules.integration.engine.internal.connect.cmis.CMISConnector.getCMISRepositories(
at com.pega.pegarules.integration.engine.internal.util.PRServiceUtils.getCMISRepositories(

Caused by: org.apache.axis2.AxisFault: HTTP ( 401 ) Unauthorized address : http://xxxxxx/fncmis/RepositoryService

Steps to Reproduce

  1.  In PRPC, create a SOAP server with url and credentials provided by filenet. This is required as CMIS connectors are connecting over a SOAP connection.
  2. In PRPC, create CMIS connector using the SOAP server created. Then test the CMIS connector connection.

Root Cause

A defect in Pegasystems’ code or rules.
PRPC did not send an HTTP cookies which were set by FileNet.


Apply HFix-28146.

Published June 17, 2016 - Updated August 18, 2016

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.