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
After staying connected for some time, the SQS polling fails with:
ExpiredToken: The security token included in the request is expired
In this case, the Node.js process dies, but is unable to perform the cleanup (because deleting the SQS queues would require a valid token).
It would be useful to have a more robust cleanup mechanism, e.g., by defining the name of the queue via the command line, or based on certain attributes attached to the test queue. ontopic could then identify and clean up old left-over SQS queues on startup.
Another option could be to allow the user to update the credentials at runtime.
The text was updated successfully, but these errors were encountered:
Thanks for publishing this useful library!
After staying connected for some time, the SQS polling fails with:
In this case, the Node.js process dies, but is unable to perform the cleanup (because deleting the SQS queues would require a valid token).
It would be useful to have a more robust cleanup mechanism, e.g., by defining the name of the queue via the command line, or based on certain attributes attached to the test queue.
ontopic
could then identify and clean up old left-over SQS queues on startup.Another option could be to allow the user to update the credentials at runtime.
The text was updated successfully, but these errors were encountered: