{"action":"created","issue":{"url":"https://api.github.com/repos/getsentry/sentry-laravel/issues/22","repository_url":"https://api.github.com/repos/getsentry/sentry-laravel","labels_url":"https://api.github.com/repos/getsentry/sentry-laravel/issues/22/labels{/name}","comments_url":"https://api.github.com/repos/getsentry/sentry-laravel/issues/22/comments","events_url":"https://api.github.com/repos/getsentry/sentry-laravel/issues/22/events","html_url":"https://github.com/getsentry/sentry-laravel/issues/22","id":163566960,"number":22,"title":"Issues in combination with Task scheduling","user":{"login":"nielsvandoorn","id":3032144,"avatar_url":"https://avatars.githubusercontent.com/u/3032144?v=3","gravatar_id":"","url":"https://api.github.com/users/nielsvandoorn","html_url":"https://github.com/nielsvandoorn","followers_url":"https://api.github.com/users/nielsvandoorn/followers","following_url":"https://api.github.com/users/nielsvandoorn/following{/other_user}","gists_url":"https://api.github.com/users/nielsvandoorn/gists{/gist_id}","starred_url":"https://api.github.com/users/nielsvandoorn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nielsvandoorn/subscriptions","organizations_url":"https://api.github.com/users/nielsvandoorn/orgs","repos_url":"https://api.github.com/users/nielsvandoorn/repos","events_url":"https://api.github.com/users/nielsvandoorn/events{/privacy}","received_events_url":"https://api.github.com/users/nielsvandoorn/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-07-03T15:30:45Z","updated_at":"2016-09-24T08:39:45Z","closed_at":null,"body":"Hi,\r\n\r\nSomehow when I install Sentry into my Laravel application it will continuously generate errors that will fill up my logs (>2gb a day). The errors seems to have issues with Amazon SQS (Which I'm not using in my application). It all started when I installed the Laravel Task Scheduling system which uses a cronjob.\r\n\r\nStack trace:\r\n```\r\nNext Aws\\Sqs\\Exception\\SqsException: Error executing \"ReceiveMessage\" on \"https://sqs.us-east-1.amazonaws.com/your-account-id/your-queue-name\"; AWS HTTP error: Client error: `POST https://sqs.us-east-1.amazonaws.com/your-account-id/your-queue-name` resulted in a `403 Forbidden` response:\r\n<?xml version=\"1.0\"?><ErrorResponse xmlns=\"http://queue.amazonaws.com/doc/2012-11-05/\"><Error><Type>Sender</Type><Code>I (truncated...)\r\n InvalidClientTokenId (client): The security token included in the request is invalid. - <?xml version=\"1.0\"?><ErrorResponse xmlns=\"http://queue.amazonaws.com/doc/2012-11-05/\"><Error><Type>Sender</Type><Code>InvalidClientTokenId</Code><Message>The security token included in the request is invalid.</Message><Detail/></Error><RequestId>17676a95-0471-5c5c-b8cf-25662a1a22a8</RequestId></ErrorResponse> in /var/www/vendor/aws/aws-sdk-php/src/WrappedHttpHandler.php:192\r\nStack trace:\r\n#0 /var/www/vendor/aws/aws-sdk-php/src/WrappedHttpHandler.php(97): Aws\\WrappedHttpHandler->parseError(Array, Object(GuzzleHttp\\Psr7\\Request), Object(Aws\\Command), Array)\r\n#1 /var/www/vendor/guzzlehttp/promises/src/Promise.php(203): Aws\\WrappedHttpHandler->Aws\\{closure}(Array)\r\n#2 /var/www/vendor/guzzlehttp/promises/src/Promise.php(174): GuzzleHttp\\Promise\\Promise::callHandler(2, Array, Array)\r\n#3 /var/www/vendor/guzzlehttp/promises/src/RejectedPromise.php(40): GuzzleHttp\\Promise\\Promise::GuzzleHttp\\Promise\\{closure}(Array)\r\n#4 /var/www/vendor/guzzlehttp/promises/src/TaskQueue.php(61): GuzzleHttp\\Promise\\RejectedPromise::GuzzleHttp\\Promise\\{closure}()\r\n#5 /var/www/vendor/guzzlehttp/guzzle/src/Handler/CurlMultiHandler.php(96): GuzzleHttp\\Promise\\TaskQueue->run()\r\n#6 /var/www/vendor/guzzlehttp/guzzle/src/Handler/CurlMultiHandler.php(123): GuzzleHttp\\Handler\\CurlMultiHandler->tick()\r\n#7 /var/www/vendor/guzzlehttp/promises/src/Promise.php(246): GuzzleHttp\\Handler\\CurlMultiHandler->execute(true)\r\n#8 /var/www/vendor/guzzlehttp/promises/src/Promise.php(223): GuzzleHttp\\Promise\\Promise->invokeWaitFn()\r\n#9 /var/www/vendor/guzzlehttp/promises/src/Promise.php(266): GuzzleHttp\\Promise\\Promise->waitIfPending()\r\n#10 /var/www/vendor/guzzlehttp/promises/src/Promise.php(225): GuzzleHttp\\Promise\\Promise->invokeWaitList()\r\n#11 /var/www/vendor/guzzlehttp/promises/src/Promise.php(269): GuzzleHttp\\Promise\\Promise->waitIfPending()\r\n#12 /var/www/vendor/guzzlehttp/promises/src/Promise.php(225): GuzzleHttp\\Promise\\Promise->invokeWaitList()\r\n#13 /var/www/vendor/guzzlehttp/promises/src/Promise.php(62): GuzzleHttp\\Promise\\Promise->waitIfPending()\r\n#14 /var/www/vendor/aws/aws-sdk-php/src/AwsClientTrait.php(59): GuzzleHttp\\Promise\\Promise->wait()\r\n#15 /var/www/vendor/aws/aws-sdk-php/src/AwsClientTrait.php(78): Aws\\AwsClient->execute(Object(Aws\\Command))\r\n#16 /var/www/vendor/laravel/framework/src/Illuminate/Queue/SqsQueue.php(114): Aws\\AwsClient->__call('receiveMessage', Array)\r\n#17 /var/www/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(180): Illuminate\\Queue\\SqsQueue->pop()\r\n#18 /var/www/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(149): Illuminate\\Queue\\Worker->getNextJob(Object(Illuminate\\Queue\\SqsQueue), NULL)\r\n#19 /var/www/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(111): Illuminate\\Queue\\Worker->pop('sqs', NULL, 0, '3', '3')\r\n#20 /var/www/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(85): Illuminate\\Queue\\Worker->runNextJobForDaemon('sqs', NULL, 0, '3', '3')\r\n#21 /var/www/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(119): Illuminate\\Queue\\Worker->daemon('sqs', NULL, 0, 128, '3', '3')\r\n#22 /var/www/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(78): Illuminate\\Queue\\Console\\WorkCommand->runWorker('sqs', NULL, 0, 128, true)\r\n#23 [internal function]: Illuminate\\Queue\\Console\\WorkCommand->fire()\r\n#24 /var/www/bootstrap/cache/compiled.php(1257): call_user_func_array(Array, Array)\r\n#25 /var/www/vendor/laravel/framework/src/Illuminate/Console/Command.php(169): Illuminate\\Container\\Container->call(Array)\r\n#26 /var/www/vendor/symfony/console/Command/Command.php(256): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))\r\n#27 /var/www/vendor/laravel/framework/src/Illuminate/Console/Command.php(155): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))\r\n#28 /var/www/vendor/symfony/console/Application.php(791): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))\r\n#29 /var/www/vendor/symfony/console/Application.php(186): Symfony\\Component\\Console\\Application->doRunCommand(Object(Illuminate\\Queue\\Console\\WorkCommand), Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))\r\n#30 /var/www/vendor/symfony/console/Application.php(117): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))\r\n#31 /var/www/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(107): Symfony\\Component\\Console\\Application->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))\r\n#32 /var/www/artisan(35): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))\r\n#33 {main}\r\n```\r\n\r\nHope you can help me out!\r\n\r\nThanks,\r\nNiels"},"comment":{"url":"https://api.github.com/repos/getsentry/sentry-laravel/issues/comments/249353330","html_url":"https://github.com/getsentry/sentry-laravel/issues/22#issuecomment-249353330","issue_url":"https://api.github.com/repos/getsentry/sentry-laravel/issues/22","id":249353330,"user":{"login":"bradleyy1012","id":4410719,"avatar_url":"https://avatars.githubusercontent.com/u/4410719?v=3","gravatar_id":"","url":"https://api.github.com/users/bradleyy1012","html_url":"https://github.com/bradleyy1012","followers_url":"https://api.github.com/users/bradleyy1012/followers","following_url":"https://api.github.com/users/bradleyy1012/following{/other_user}","gists_url":"https://api.github.com/users/bradleyy1012/gists{/gist_id}","starred_url":"https://api.github.com/users/bradleyy1012/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bradleyy1012/subscriptions","organizations_url":"https://api.github.com/users/bradleyy1012/orgs","repos_url":"https://api.github.com/users/bradleyy1012/repos","events_url":"https://api.github.com/users/bradleyy1012/events{/privacy}","received_events_url":"https://api.github.com/users/bradleyy1012/received_events","type":"User","site_admin":false},"created_at":"2016-09-24T08:39:45Z","updated_at":"2016-09-24T08:39:45Z","body":"try using the absolute path to php!!\r\n/usr/local/bin/php /path/to/artisan schedule:run >> /dev/null 2>&1"}}
{"actor":{"display_login":"bradleyy1012"}}