The security token included in the request is invalid. Aws::SQS::Errors::InvalidClientTokenId

1.4k Views Asked by At

When i try to start shoryuken i am getting this error

The security token included in the request is invalid. (Aws::SQS::Errors::InvalidClientTokenId). Even that is worked for me previously.

The message added to the queue but the Worker not able to access the queue.

2

There are 2 best solutions below

1
hbled On

You should generate a new token. It has probably expired.

0
Arunprasath On

Yes i fixed this issue. i have to run shoryuken in production mode i have two different keys. Thanks.

RAILS_ENV=production  bundle exec shoryuken -R -C config/shoryuken.yml -L ./log/shoryuken.log -P ./log/shoryuken.pid -d