How to resolve SmartFoxServer connection error in unity

Solution 1:

is the zone name really exists and forceBlueBoxOverHttps make true because apple doesn't accept HTTP connections.

cfg.forceBlueBoxOverHttps = true;