You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
sorry to bother you but I've been indirectly using your package by using nestjs-sqs.
Since that package was using a version of sqs-consumer working with the AWS SDK v2, I have decided to write my implementation by using only your most recent package.
Before I was using alpine-sqs image as a mock sqs server with invalid credentials. However since switching to v3 of the AWS SDK the consumer returns SQSError: SQS receive message failed: The security token included in the request is invalid. I have also tried to use valid credentials, but this time it seems like it doesn't look for the queue_url that i pass in Consumer.create() and returns SQSError: SQS receive message failed: The address https://sqs.eu-south-1.amazonaws.com/ is not valid for this endpoint.
Is your package running a credential check under the hood? Or is it the sdk v3? I have not found informations regarding that anywhere.
Your minimal, reproducible example
I have provided the necessary files
Steps to reproduce
Try passing invalid credentials to Consumer.create()
Create a basic node app that uses the environment variables included in the .env I provided. I have also added a docker-compose that relies on that dockerfile to create a network with the mock SQS sever issue.zip
Expected behavior
I expected the credentials to work even if not valid as in the SDK v2.
If that didn't work I expected the app to use the queue_url I provided
How often does this bug happen?
None
Screenshots or Videos
No response
Platform
Dockerized Environment using latest node image and alpine-sqs
Package version
7.0.1
AWS SDK version
3.276
Additional context
No response
The text was updated successfully, but these errors were encountered:
Describe the bug
Hi,
sorry to bother you but I've been indirectly using your package by using nestjs-sqs.
Since that package was using a version of sqs-consumer working with the AWS SDK v2, I have decided to write my implementation by using only your most recent package.
Before I was using alpine-sqs image as a mock sqs server with invalid credentials. However since switching to v3 of the AWS SDK the consumer returns
SQSError: SQS receive message failed: The security token included in the request is invalid
. I have also tried to use valid credentials, but this time it seems like it doesn't look for the queue_url that i pass inConsumer.create()
and returnsSQSError: SQS receive message failed: The address https://sqs.eu-south-1.amazonaws.com/ is not valid for this endpoint
.Is your package running a credential check under the hood? Or is it the sdk v3? I have not found informations regarding that anywhere.
Your minimal, reproducible example
I have provided the necessary files
Steps to reproduce
Consumer.create()
Consumer.create()
(like 'http://localhost:9324/queue/queue-name')issue.zip
Expected behavior
I expected the credentials to work even if not valid as in the SDK v2.
If that didn't work I expected the app to use the queue_url I provided
How often does this bug happen?
None
Screenshots or Videos
No response
Platform
Package version
7.0.1
AWS SDK version
3.276
Additional context
No response
The text was updated successfully, but these errors were encountered: