Closed FreekingDean closed 8 years ago
It may just be a problem with the JavaScript of the front-end site. The GroupMe interface is working from a sleeping state (with about 5-10 seconds of delay). Will investigate further.
The backend servers should 'wake up' at the same time as the web servers.
Ah! Are they running on the same Heroku app?
Yes, they are defined as two different nodes inside ~/Procfile
, but they run under the same app.
Ah! I should have looked at that first
That's weird. I just tested the front end and it keeps timing out. The GroupMe interface on the other hand happens within a few seconds. PaperTrail is returning H12 (router-level timout after 30 seconds).
a31ac23 will redirect users for now. Keeping open as master thread.
This is due to an error in the sinatra code, I am updating it an releasing a seperate JeffBot-Web version to fix.
https://github.com/FreekingDean/JeffBot-Web fixes this. We could/should close this when #28 is merged.
Closing from #28
It looks like your backend server is timing out.
I also see you're using RabbitMQ for message passing in order to process messages. Heroku will automatically sleep an app with no activity in the past (some number) minutes. Message passing will then not be received by the sleeping server which is the backend service in this case. Unfortunately the best/only way to fix this I know of is to pay 💸 . I think hobby dynos are something like 6$ a month though.