Question

4
Replies
156
Views
VenkatK9 Member since 2013 2 posts
Anthem
Posted: 8 months ago
Last activity: 8 months 2 weeks ago

File Listener setup on AWS S3 bucket is failing to start

Hi,

We have set up file listener to poll a AWS S3 bucket as defined in below article. The connectivity test from listener rule was success but not able to start the listener instance. Is there any other configuration we are missing here?

https://community.pega.com/knowledgebase/articles/data-integration/configure-file-listener-associated-storage-destination

We ensured read/write/delete policies setup for IAM role attached to EC2. PegaRULES logs says as below.

2020-01-09 15:56:28,173 [ FILE-Thread-65] [ STANDARD] [ ] [ ] ( aws.s3.FileS3Adapter) INFO
File.FileListnerName|initialize - s3 meta data doesn't exist for container: dev-S3bucket and directory: dev-S3bucket/work_FileListnerName/
com.amazonaws.services.s3.model.AmazonS3Exception: Not Found (Service: Amazon S3; Status Code: 404; Error Code: 404 Not Found; Request ID: 555F75D2D0F072F0; S3 Extended Request ID:
u4dArFTaXPggBGbYuBvffbM8aTSu7CukhfkoSH9VWw929EhBfrz8D4uhJanNvioSKPr9jUQ2iqg=)

2020-01-09 15:56:28,199 [ FILE-Thread-65] [ STANDARD] [ ] [ ] ( services.file.FileListener) ERROR File.ProcessManualStandaloneCAGFeed -
Unexpected exception caught during processing.
com.pega.pegarules.pub.PRException: Unable to create 'work' directory 'file://app-s3-alias:/dev-S3bucket/work_FileListenerName'.
at com.pega.pegarules.integration.engine.internal.services.file.FileActionImpl.initialize(FileActionImpl.java:194) ~[printegrint.jar:?]
at com.pega.pegarules.integration.engine.internal.services.file.FileActionImpl.<init>(FileActionImpl.java:128) ~[printegrint.jar:?]
at com.pega.pegarules.integration.engine.internal.services.file.FileListener.run_(FileListener.java:441) ~[printegrint.jar:?]
at com.pega.pegarules.integration.engine.internal.services.listener.ServiceListenerBaseImpl.run(ServiceListenerBaseImpl.java:455) ~[printegrint.jar:?]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_221]
Cloud Services Data Integration System Administration
Share this page LinkedIn