HT202078: If you use FaceTime and iMessage behind a firewall

Learn about If you use FaceTime and iMessage behind a firewall
appscenco

Q: imagent or iMessage ignore proxy settings?

Hi all,

 

On a never-used-before iMessage on a Mountain Lion computer, i tried to setup a new AppleId account. I saw the typical "Could not sign in. Please check your network connection".

 

The Mac accesses internet through a proxy: I have configured http proxy, https proxy and ftp proxy on Network settings.

 

As the error was persistent, I debugged with tcpdump and I noticed that every time I put the credentials, iMessage or imagent asked for DNS entries for us-courier.push-apple.com.akadns.net . That name resolved to a series of Akamai IPs, and just afterwards I saw the application tried to connect directly to those IPs, not through the proxy. That obviously failed.

 

Any idea on how to make iMessage to work with a proxy?

 

Thanks,

appscenco

Mac mini, OS X Mountain Lion (10.8.5), Messages Version 7.0.1 (3322)

Posted on Feb 10, 2015 5:53 AM

Close

Q: imagent or iMessage ignore proxy settings?

  • All replies
  • Helpful answers

  • by Ralph Johns (UK),

    Ralph Johns (UK) Ralph Johns (UK) Feb 10, 2015 1:54 PM in response to appscenco
    Level 9 (72,994 points)
    Applications
    Feb 10, 2015 1:54 PM in response to appscenco

    Hi,

     

    It is supposed to use the System Preferences settings.


    However this ignores the fact that if you set up an AIM account in the Sever Settings for that you can set a proxy there.

    Having said that: all the way though the various iChat versions people reported issues with that.

     

    There seems to be issues with the Peer-to-Peer nature of some of the connections that proxies are difficult to get around.

     

     

    3Sigcopy2.png

    9:54 pm      Tuesday; February 10, 2015

     

      iMac 2.5Ghz i5 2011 (Mavericks 10.9)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
     Couple of iPhones and an iPad