Yes you are correct, that error means that your device cannot connect to your Mobile Print Solution Server via the "Cloud" connection. Typically this is caused by a Network Firewall setting that is blocking communication from your Device back to the server. The server local firewall or corporate firewall settings could be blocking communication.
The communication between the Device and your Mobile Print Solution server uses Microsoft Azure Service Bus technology, your server is considered an endpoint. Here is a link to a some information on the technology, specifically around the ports that need to be open for communication:
If you cannot resolve this problem by fixing the firewall settings, I would recommend you contact Xerox Support team to help you resolve it.
I'm suffering the exact same problem.
In my servers Xerox Rest API log, I keep getting following message:
Failed to connect to Azure service endpoint: The remote server returned an error: (502) Bad Gateway. 2013/06/02 12:29:56(Z+2) Category: General Severity: Critical Win32 ThreadId:5328 Extended Properties: ExceptionMessage - The remote server returned an error: (502) Bad Gateway. ExceptionStackTrace - at System.Net.HttpWebRequest.GetResponse() at CapiWindowsService.CAPI.azurePingTimer_Elapsed(Object sender, ElapsedEventArgs e)
Windows firewall is disabled, and our corporate hardware firewall is completely open for outbound communication.
You can print out android messages with following ways: