Support Questions
Find answers, ask questions, and share your expertise

PutS3Object fails when using Client side encryption

PutS3Object fails when using Client side encryption

New Contributor

I get an error when using client side encryption with Customer Master Key (in PutS3Object in NiFi 1.10.0).

Processor works perfectly when encryption is not used.

The examplary AES key that I use is randomly generated: 6XtOQkXcvELfF5224T8mricDrSEeFh3rR1CEE4qBTIo=

Screenshot 2019-11-05 at 16.24.48.png

 

Error:

PutS3Object[id=3b697bed-016e-1000-7492-a2311ff00e42] Failed to put StandardFlowFileRecord[uuid=432a81c7-3879-4474-af23-11e202aa385b,claim=StandardContentClaim [resourceClaim=StandardResourceClaim[id=1572954920976-1, container=default, section=1], offset=969, length=17],offset=0,name=test.json,size=17] to Amazon S3 due to Unable to execute HTTP request: Connect to xxx.s3.eu-west-1.amazonaws.com:443 [xxx.s3.eu-west-1.amazonaws.com/xx.xxx.xx.xxx] failed: connect timed out: com.amazonaws.SdkClientException: Unable to execute HTTP request: Connect to xxx.s3.eu-west-1.amazonaws.com:443 [xxx.s3.eu-west-1.amazonaws.com/xx.xxx.xx.xxx] failed: connect timed out

Does anyone knows how to handle that?