Quantcast
Channel: Active questions tagged amazon-ec2 - Stack Overflow
Viewing all articles
Browse latest Browse all 29245

Not able to send message to AWS SQS using SDK

$
0
0

I have setup an EC2 instance in the private subnet and assigned it an IAM role with permissions to send messages to my SQS queue. Using AWS CLI I'm able to send messages properly but when I do it through a program(tried node and java) I'm getting "connection timedout" exceptions. As per the AWS docs, SDKs should automatically get credentials when using roles. Any clues where things could be going wrong ?


Viewing all articles
Browse latest Browse all 29245

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>