Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SQS The specified queue does not exist or you do not have access to it. #342

Closed
cde0 opened this issue Jul 23, 2020 · 2 comments · May be fixed by #364
Closed

SQS The specified queue does not exist or you do not have access to it. #342

cde0 opened this issue Jul 23, 2020 · 2 comments · May be fixed by #364
Labels

Comments

@cde0
Copy link

cde0 commented Jul 23, 2020

I Get this error:

[Aws::SQS::Client 400 0.064432 0 retries] get_queue_url(queue_name:"<queue_name>",queue_owner_aws_account_id:"") Aws::SQS::Errors::NonExistentQueue The specified queue does not exist or you do not have access to it.

starting SSL for sqs.eu-west-1.amazonaws.com:443...
SSL established
<- "POST / HTTP/1.1\r\nContent-Type: application/x-www-form-urlencoded; charset=utf-8\r\nAccept-Encoding: \r\nUser-Agent: aws-sdk-ruby3/3.100.0 ruby/2.4.10 x86_64-linux aws-sdk-sqs/1.28.0\r\nHost: sqs.eu-west-1.amazonaws.com\r\nX-Amz-Date
: 20200723T130512Z\r\nX-Amz-Content-Sha256: \r\nAuthorization: AWS4-HMAC-SHA256 Credential=/eu-west-1/sqs/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=\r\nContent-Length: 108\r\nAccept: /\r\n\r\n"
-> "HTTP/1.1 400 Bad Request\r\n"

I check this issue: #250 they said that the POST Request is suppost to send the owner id.

Config file:

<worker 0>
  <source>
    @type s3
    aws_key_id <key id>
    aws_sec_key "<sec key>"
    s3_bucket "<bucket name>"
    s3_region "<region>"
    store_as gzip
    <assume_role_credentials>
      role_arn arn:aws:iam::<aws iam id>:user/<role name>
      role_session_name <role name>
    </assume_role_credentials>
    <sqs>
      queue_name "<queue name>"
      queue_owner_aws_account_id <owner aws id>
    </sqs>
  </source>
</worker>

AWS SQS User Permission:

  • sqs:DeleteMessage
  • sqs:ReceiveMessage
  • sqs:ListQueues
@github-actions
Copy link

github-actions bot commented Jul 6, 2021

This issue has been automatically marked as stale because it has been open 90 days with no activity. Remove stale label or comment or this issue will be closed in 30 days

@github-actions github-actions bot added the stale label Jul 6, 2021
@github-actions
Copy link

github-actions bot commented Aug 5, 2021

This issue was automatically closed because of stale in 30 days

@github-actions github-actions bot closed this as completed Aug 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
1 participant