This message was posted on behalf of Intel Corporation
Thanks for reaching out!
It seems that you are trying to use the example that used Intel's Cloud service, am I right? If so, the reason why this example is failing is explained in https://communities.intel.com/thread/107871. As you can see in that thread, Intel® Cloud Analytics have been discontinued, nevertheless, there are some alternatives that are compatible with Galileo. You can find them in: https://software.intel.com/en-us/iot/hardware/edison under the section Connect with MQTT.
I hope this helps.