Hi Greg,
I'm stepping a bit out of my technology comfort zone here, but these links suggest that it is a server communication issue:
- http://pcsupport.about.com/od/findbyerrormessage/a/502error.htm
- http://wiki-errors.com/502-bad-gateway-error-solutions/
- Chuck