DoSomething / voting-app

☑ Voting app for DoSomething.org campaigns.
MIT License
6 stars 4 forks source link

First time a user votes they receive a whoops error #479

Closed mikefantini closed 9 years ago

mikefantini commented 9 years ago

Steps to recreate:

image

I saw Adam have this issue as well.

DFurnes commented 9 years ago

There's some discussion on this in the #voting-app Slack channel. The error in question:

[2015-12-01 15:01:41] production.ERROR: exception 'PhpAmqpLib\Exception\AMQPRuntimeException' with message 'Error Connecting to server (111): Connection refused' in /var/www/voting-app/releases/20151120191855/vendor/videlalvaro/php-amqplib/PhpAmqpLib/Wire/IO/StreamIO.php:106

We saw a similar issue on Cats Gone Good a ways back, and @sheyd was able to fix it with some DevOps black magic. :crystal_ball:

DFurnes commented 9 years ago

And this is fixed! @sheyd figured out that the mq0 host for Message Broker wasn't in the etc/hosts file so the connection wasn't going anywhere. Closing. :hammer: