Sai, Welcome to NiFi! This sounds like an "interesting" error. Would you please share the version of NiFi you are using? Also, can you get the complete stack trace of the error from NIFI_HOME/logs/nifi-app.log? The error suggests that NiFi cannot connect to SQS at all, and has not proceeded as far as using your credentials (which should indeed be your role/Default Credentials).
It's great that you tested with the AWS CLI, so you have the basics of connectivity and access permissions worked out. Would you be willing to share the cli parameters you used (with your queue URL munged) for comparison to the request NiFi is making? Thanks, James On Thu, Aug 11, 2016 at 11:49 AM, Peddy, Sai <[email protected]> wrote: > Hi Everyone, > > > > My name is Sai I am very new to nifi so I am still getting up to speed > with things. I have been trying to get the GetSQS processor working and > have worked with a few folks that have more experience, but we cannot seem > to figure out why we are facing trouble with this. We have an ec2 instance > that is hosting Nifi and I am trying to connect to an SQS I have created. > Using awscli on the ec2-instance, I am able to receive message from SQS. > However, I am having trouble with the SQS processor. > > > > I’ve set all the required fields and have checked them several times > (queue url, region, etc.). For aws credentials I am using a > AWSCredentialsProviderControllerService – and have left the default > properties(most of which are blank). I heard that if these were left blank > the service will use the IAM role from the ec2-instance(Not entirely sure).. > > > > I am receiving the below error message and am unsure exactly why this is > the case. Any help or advice would be greatly appreciated! > > > > Failed to receive messages from Amazon SQS due to > com.amazonaws.AmazonClientException: > Unable to execute HTTP request: connect timed out: > com.amazonaws.AmazonClientException: > Unable to execute HTTP request: connect timed out > > > > Thanks, > > *Sai Peddy* > > ------------------------------ > > The information contained in this e-mail is confidential and/or > proprietary to Capital One and/or its affiliates and may only be used > solely in performance of work or services for Capital One. The information > transmitted herewith is intended only for use by the individual or entity > to which it is addressed. If the reader of this message is not the intended > recipient, you are hereby notified that any review, retransmission, > dissemination, distribution, copying or other use of, or taking of any > action in reliance upon this information is strictly prohibited. If you > have received this communication in error, please contact the sender and > delete the material from your computer. >
