update AMI error notice to include 502 bad gateway

...since it's a useful symptom. Also to make it clear that the server
is effectively then dead until restarted. Refines #654.