-
Notifications
You must be signed in to change notification settings - Fork 64
Open
Description
I'm trying to use my SQS docker as the SQS server, but the package is always sending to AWS server.
My .env:
QUEUE_CONNECTION=sqs-fifo
SQS_FIFO_PREFIX=http://sqs:9324
SQS_FIFO_QUEUE=queuename.fifo
SQS_FIFO_SUFFIX=-local
AWS_DEFAULT_REGION=sa-east-1
SQS_FIFO_DEDUPLICATOR=unique
SQS_FIFO_ALLOW_DELAY=false
My config:
'connections' => [
'sqs-fifo' => [
'driver' => 'sqs-fifo',
'key' => env('AWS_ACCESS_KEY_ID'),
'secret' => env('AWS_SECRET_ACCESS_KEY'),
'prefix' => env('SQS_FIFO_PREFIX', 'https://sqs.us-east-1.amazonaws.com/your-account-id'),
'queue' => env('SQS_FIFO_QUEUE', 'default.fifo'),
'suffix' => env('SQS_FIFO_SUFFIX', '-tickets'),
'region' => env('AWS_DEFAULT_REGION', 'sa-east-1'),
'after_commit' => false,
'group' => 'default',
'deduplicator' => env('SQS_FIFO_DEDUPLICATOR', 'unique'),
'allow_delay' => env('SQS_FIFO_ALLOW_DELAY', false),
],
]
When calling dispatch, I get the error:
Error executing "SendMessage" on "https://sqs.sa-east-1.amazonaws.com"; AWS HTTP error: Client error: `POST https://sqs.sa-east-1.amazonaws.com` resulted in a `403 Forbidden` response:
{"__type":"com.amazon.coral.service#UnrecognizedClientException","message":"The security token included in the request i (truncated...)
InvalidClientTokenId (Sender): The security token included in the request is invalid. - {"__type":"com.amazon.coral.service#UnrecognizedClientException","message":"The security token included in the request is invalid."}
Shouldn't the prefix parameter be the URL?
Metadata
Metadata
Assignees
Labels
No labels