if you receive 401 unauthorized when you execute heroku tasks or rake task, most likely you missed the authentication details to execute some heroku actions which required charging money.
for example, if you use autoscaling gem in some classes. You may see this error when you execute the rake task which requires adding more background worker.
to solve it, just configure the heroku user and password. the following line is extracted from workless README page:
heroku config:add HEROKU_USER=<your username> HEROKU_PASSWORD=<your password>
No comments:
Post a Comment