Skip to content

Instantly share code, notes, and snippets.

@taisyo7333
Created February 21, 2017 04:56
Show Gist options
  • Save taisyo7333/376f1988225b96a23aa798fd00166818 to your computer and use it in GitHub Desktop.
Save taisyo7333/376f1988225b96a23aa798fd00166818 to your computer and use it in GitHub Desktop.
Amazon SQS Dead Letter Queue with ElasticBeanstalk

環境

  • AWS
  • Elastic Beanstalk with multi containers docker
  • nginx
  • ruby on rails

症状

  • cron.yaml で設定したジョブが毎回Dead Letter Queueに入ってしまう問題

経緯

  • 同僚が解決できなかったので対応した

原因

  • Amazon SQS に送信したHTTPリクエストがPUTになっていた。 下記の参考URLに記載されているがPOSTコマンドでなければならない。

参考URl

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment