Support Article

File listener failing when authentication is disabled

SA-33196

Summary



We're processing high volume of data via file listener. We would like to disable authentication to improve processing.

It works correctly when authentication is enabled via Service Package but it fails with below error when authentication is disabled via Service Package. Service Package is using exactly the same access group than the one used with authentication.

Error is not at all explicit and we couldn't trace without authentication

2017-01-16 21:37:44,449 [ FILE-Thread-2123] [ STANDARD] [ ] [ ] ( FlowProblems.Work_.Action) ERROR File.APACCreateTexts|process|AC555BF0379F1AF39B4D5F909BD4DBA13|1484602664387000|APACMigrateData/APACMigrateData/APACMigrateTextsData - Problem flow abort due to system flow FlowProblems being the issue

-----------------
Best practice is to disable authentication when processing high throughput as described in this PDN article: https://pdn.pega.com/how-support-high-throughput-file-services-multithreading. Authentication process loads rulesets list of the authenticated user.

Error Messages



2017-01-16 21:31:31,719 [ FILE-Thread-2120] [ STANDARD] [ ] [ ] ( FlowProblems.Work_.Action) ERROR File.APACCreateTexts|process|AC555BF0379F1AF39B4D5F909BD4DBA13|1484602291640000|APACMigrateData/APACMigrateData/APACMigrateTextsData dmuser - Problem flow abort due to system flow FlowProblems being the issue

2017-01-16 21:37:44,449 [ FILE-Thread-2123] [ STANDARD] [ ] [ ] ( FlowProblems.Work_.Action) ERROR File.APACCreateTexts|process|AC555BF0379F1AF39B4D5F909BD4DBA13|1484602664387000|APACMigrateData/APACMigrateData/APACMigrateTextsData - Problem flow abort due to system flow FlowProblems being the issue

[no exception stack provided for the ERRORs.]


Steps to Reproduce



Configure a File listener and configure the service package without authentication


Root Cause



The activity associated to the File Listener do call activities that themselves require authentication.

Resolution



Removing the requirement for authentication from the sub-activities call by the File Listener activity did the job.

Published February 2, 2017

Have a question? Get answers now.

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