Heroku & Delayed Job - Autoscale Branch - RestClient::ResourceNotFound

别来无恙 提交于 2020-01-30 08:32:16

问题


SomeController#update (RestClient::ResourceNotFound) "Resource Not Found"

I'm receiving this error (where previously I was not) while trying to enqueue delayed jobs using the autoscale branch of DelayedJob. This does not occur with a none autoscale branch but I'm at a loss to pinpoint what the problem is.

If anyone is experiencing the same or can point me toward a likely cause I'd be grateful for advice.


回答1:


Just a guess...

Is it possible the ResourceNotFound is occurring because the heroku gem cannot find your app when making the API requests to auto-scale? Try using the heroku gem outside your app and make sure you can do operations on your app from within an IRB console with the gem loaded (not Heroku console).



来源:https://stackoverflow.com/questions/3654509/heroku-delayed-job-autoscale-branch-restclientresourcenotfound

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!