codeforamerica / cityvoice-survey-builder

Deploy an instance of CityVoice to Heroku without ever leaving the comfort of your web browser
https://cityvoice-setup.codeforamerica.org
6 stars 4 forks source link

Investigate call errors on builder instances #95

Open daguar opened 9 years ago

daguar commented 9 years ago

A variety of errors are happening, at a 5-15% rate, meaning that many callers get an error at some point during their call.

Some basic details:

I've added basic 7-day log persistence (free tier) to most of the instances ( #94 will add it to all of them) so investigating the Heroku app-level logs and cross-referencing the Twilio errors.

Another thing to doubly check — I know some instances have been renamed. We should make sure all Twilio phone numbers have been updated to point at the new name (this doesn't happen automatically.)

Moving forward, a good process would be to have a Twilio error alert set up (easy via the admin console) for the cityvoice-builder subaccount, so that escalated error rates reach someone proactively.

I've reached out to a Rails person I trust who has a lot of experience with Heroku to get a copy of his Puma config settings — we should move to that on these, see if it reduces/eliminates the errors, and if so make that change permanent in master.