iChat connection problems

I have a recent iMac and MacBook Pro. The MacBook has no problem connecting to buddies on iChat (all of whom, including me, are Mac.com/Me.com clients), but the iMac never connects. I mention this to suggest that it doesn't seem to be an issue with my router/modem. I've checked the server settings in the preferences on both the machines, and they look identical. Also identical are the firewall settings and the file sharing settings. Any ideas why the desktop cannot connect?

iMac, Mac OS X (10.6.7)

Posted on Jun 14, 2011 6:16 PM

Reply
20 replies

Jun 15, 2011 12:54 PM in response to Scott Romans

Hi,


On the Mac.


System Preferences > Security > Firewall

IF On go to the Advanced Button

Allow Signed Apps should be ticked (Enabled) and iChat in the list.


DO NOT enable Stealth.


Router (Modem that Routes)

This should use a method to open the ports that allows multiple computers to use the same ports at the same time.

Port Forwarding normally Lists the ports you set but point them to one IP (Computer) excluding others.


UPnP is the easiest to set up if your device has it as it is an Enable Disable setting.

Finding it can be a trial and error thing.

Linksys have it in the Administration tab.

Netgears have a separate menu items for it (And it is Enabled by default)

Motorola and Netpoia devices don't have it.

D-Links have it tucked away in either Mics or Tools across the top tabs and Then Advanced down the side.

Zyxels have in it at the bottom of the middle of a three column menu.

(i.e.it can be anywhere)


If you don't have UPnP then Port Triggering (Special Applications) is the method to use.

This lists ports in sort of table.

Some ports iChat use "Listen" for themselves.

Others such as the port the visible part of an A/V Invite comes in on needs to be set to open (trigger) the A/V ports (port 5678 on UDP needs to open ports 16393-16402 on UDP)



User uploaded file
8:54 PM Wednesday; June 15, 2011

Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"


 G4/1GhzDual MDD (Leopard 10.5.8)
 MacBookPro 2Gb( 10.6.7)
 Mac OS X (10.6.7),
"Limit the Logs to the Bits above Binary Images."  No, Seriously

Jun 15, 2011 1:27 PM in response to Ralph-Johns-UK

Thanks, Ralph. I had actually turned the firewall off for both machines to try to eliminate that as a potential problem. Also, iChat works on MacBook Pro but not on the iMac, could it still be an issue with a setting on the router (as you suggest)? I had assumed not, since both machines would be using the same router, one successfully, one not. Thanks again.

Jun 15, 2011 2:05 PM in response to Scott Romans

Hi,


It does very much depend at this point on how the router has been set up.


There are essentially four methods to open ports and not all devices have then all.


Most will have Port Forwarding (it is the oldest method)

Example Pic
Shows Listed Start and End ports. (Lists all iChat 3 ports)
List an IP that they go to (Computer)

Also has an Enabled tick box.

This Linksys also lists Protocols (Rare for Port Forwarding).
Tends to need the computer to stay at the same IP (Routers may have a way of assigning this or you may have to use Static Routing on your LAN)


This method will only allow the ports to one IP (Computer excluding others).

DMZ (Demilitarised Zone)
An Enable/DIsable setting that opens all 65535 ports to one IP (Computer)
Not secure but can be useful for testing


Port Triggering

This also uses a Table.

Ports you need open all the time are listed as Trigger and Range selection.

Tables can vary slightly in style.

Example 2 Pic
This one uses a Start and End port in both sections so port 5190 (for Login to AIM) is listed 4 times

Port 5678 (Visible Invite Part) then opens port 5060 for iChat 3
Port 5060 then opens 16384-16403 for the actual Video/Audio Chat

(for iChat 4 and 5 this neeeds to be port 5678 opens 16393-16402 (there is no port 5060 used) and the group is smaller as all Video and Audio data is on one port. )

With most devices Protocols are normally listed unlike this Linksys.
Allows multiple computers to access the same ports at the same time


UPnP (Universal Plug and Play)

An On/Off setting.

Example Pic 3

Allows multiple Computers.


Apple Base Stations

These have Port Mapping Protocol
Using AIrport Utility access your Device using the Manually Configure Button

Go to the Interent Icon and then the NAT tab.

Again this is an Enable/Disable option and needs to be Enabled.
Works like UPnP


Other things

On the Mac.

Go to System Preferences > Network

Go to the Advanced Button and then the DNS tab

Are the servers listed on both computers ?

(Greyed out ones are Autodiscovered from the Router)

It may pay to add a Public DNS server (8.8.4.4 for exmple)

As iChat is making an IP to IP connection it make use of DNS.


In iChat

Open the Preferences > Accounts

Select the Server Settings tab.

Are both using SSL ?

Are they using the same Login port ?

If you log out you cna change these items

Try changing the Login port to 443 (If this account logs in to AIM (login.oscar.aol.com)
Toggling the SSL option and logging in again may also help. It needs to be reset if iChat lost the connection to the SSL server (slogin.oscar.aol.com).


User uploaded file
10:05 PM Wednesday; June 15, 2011

Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"


 G4/1GhzDual MDD (Leopard 10.5.8)
 MacBookPro 2Gb( 10.6.7)
 Mac OS X (10.6.7),
"Limit the Logs to the Bits above Binary Images."  No, Seriously

Jun 15, 2011 2:14 PM in response to Ralph-Johns-UK

One more thing.

Open the Video Menu then Connection Doctor.

In the capabilities option do both computers list the same things.


If you have red crosses fro Video chat then go to iChat > Preferences > Video Section > Bandwidth limiit and set it to 500kbps


User uploaded file
10:13 PM Wednesday; June 15, 2011

Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"


 G4/1GhzDual MDD (Leopard 10.5.8)
 MacBookPro 2Gb( 10.6.7)
 Mac OS X (10.6.7),
"Limit the Logs to the Bits above Binary Images."  No, Seriously

Jun 19, 2011 2:30 PM in response to Ralph-Johns-UK

Hi Ralph,


Thank you for your comprehensive response. I was able to try everything below "Apple Base Stations" including "Other Things," "In iChat" and the confirming the settings in the Video menu connection doctor. I wasn't able to do the stuff above "Apple Base Stations" because my internet supplier (Comcast) is telling me they don't allow customers to have manipulate port settings in order to prevent malicious stuff. However, I do have an Apple Base Station--is this where I should be able to make the changes? In other words, if I have an Apple Base Station, would I have to check the other issues (like UPnP)?


I set up an additional account with me.com in order to do some testing between my iMac and my MacBook Pro. Going in either direction, the invitation is always transmitted, and when I accept, both machines show the message "Starting video chat with ...". Unfortunately, that little clock thing starts spinning and the video chat never actually starts. I don't know if this detail matters. And again, when chatting with other people, my MBP always works, but my iMac does not. Not sure whether this detail gives you any ideas or not.


Can you clarify whether I need to manipulate the modem's ports if I'm using an Apple Base Station? Do you have any other ideas?

Jun 19, 2011 2:43 PM in response to Scott Romans

Ok,

Comcast supply Cable Modems on the whole.
Cable Modems do not route. (No set up to be done )


Airport Base Stations (including Time Capsules)

Go to Applications/Utilities

Open Airport Utility

Select your Airport in the list

Use the Manually Configure Button
Select the Internet icon across the top. (Some later versions may vary and you will have to tell me what you see)


First check the drop down at the Bottom of the pane

Does this read "Share a Public IP" ?

Of so across the top you will have three or four tabs depending on the firmware version of your Base Station.

Click the NAT one

In here you should find Port Mapping Protocol. (Apple's version of UPnP)

Tick the Box to Enable it

Apply Changes/Save Settings


User uploaded file
10:42 PM Sunday; June 19, 2011

Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"


 G4/1GhzDual MDD (Leopard 10.5.8)
 MacBookPro 2Gb( 10.6.7)
 Mac OS X (10.6.7),
"Limit the Logs to the Bits above Binary Images."  No, Seriously


Message was edited by: Ralph Johns (UK)

Jun 19, 2011 5:03 PM in response to Ralph-Johns-UK

Hi Ralph,


Thanks again, and sorry for the confusion about modem/router. I went to the AirPort Utility and made sure that it was configured to "Share a public IP address" and that "Enable NAT Port Mapping Protocol" was checked. For good measure I rebooted the AirPort and my computers. Unfortunately that did not help. I am still able to send and accept an invitation, but both computers get stuck on "Starting video chat with ..."


Any other ideas I could try. I so appreciate your help.

Jun 20, 2011 11:36 AM in response to Scott Romans

Hi,


Did your Base Station set up look like this ?

User uploaded file



Does your Internet Connection tab show the DNS servers ?

Where I have Marked "These IPs" in red yours should show the IP you get from Comcast (most likely starts with a 69, rather than the 75 shown)


I just want to confirm that the Cable Modem is exactly that and is passing on the Public IP address Comcast gives you.


If you do have DNS servers listed are they greyed out text or black text ?


Do those same DNS servers appear in the Mac's System Preferences > Network > Advanced button > DNS tab ?

Is it the same on both Macs ?


You should be Ethernet or Wifi to the Airport Base Station NOT both at the same time.


User uploaded file
7:35 PM Monday; June 20, 2011

Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"


 G4/1GhzDual MDD (Leopard 10.5.8)
 MacBookPro 2Gb( 10.6.7)
 Mac OS X (10.6.7),
"Limit the Logs to the Bits above Binary Images."  No, Seriously

Jun 21, 2011 3:41 PM in response to Ralph-Johns-UK

Hi Ralph,


My configuration is slightly different, but in most ways very similar. I do have "Share a public IP address on the internet connection, but my IP addresses are on a separate tab.


User uploaded file


The TCP/IP tab does show IP addresses, and they do have (grayed) numbers in the DNS Server(s) field. However, unlike your example, there is nothing in the "Domain Name" field.

User uploaded file


The DNS servers in the System Preference > Network > Advanced > DNS tab are NOT the same as those shown in the image above from the AirPort Utility. In the preference pane, they are grayed out and the number is 10.0.1.1, and the same one is in the preference pane of the MacBook Pro.


I don't quite understand the last comment. Do you mean if I am trying to chat between my MacBook and my iMac, both should be Ethernet or both Wifi? If so, I actually disconnected the Cat5 cable from my iMac to ensure that both would be connecting through wifi, but I still could not get past "starting ichat".


Does any of this information help?


Scott

Jun 22, 2011 11:39 AM in response to Scott Romans

Hi,


Having a Domain name filled in the box is not that important.


It will pay to Copy and Add the DNS servers that show in the Airport in to the System Preferences > Network settings.

10.1.0.1 ? or 10.0.1.1 as you post is only the DNS to the Airport. This may not make the transition onwards and upwards to the internet. (Basically you are only resolving LAN IP names to IP addresses and for iChat you need to find the Internet IP of the Buddy)


It does not matter if one computer is Ethernet and one Wifi or whether both are using the same method.

What should not be happening is one computer using bother Ethernet and Wifi at the same time (or in fact both computers using both methods).


User uploaded file
7:39 PM Wednesday; June 22, 2011

Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"


 G4/1GhzDual MDD (Leopard 10.5.8)
 MacBookPro 2Gb( 10.6.7)
 Mac OS X (10.6.7),
"Limit the Logs to the Bits above Binary Images."  No, Seriously

Jun 22, 2011 6:39 PM in response to Ralph-Johns-UK

Hello,


I did "add" the DNS servers from the AirPort configuration to the System Preferences > Network settings. I put "add" in scare quotes because I actually could not copy the number from the Airport configuration--it immediately blanked out the number. So I manually typed the two DNS numbers into the Network settings pane.


I do typically use the ethernet connection on my iMac and the WiFi for my laptop, but for testing I actually unplugged the ethernet to make sure both were using WiFi. I also reset all of my AirPort devices and re-established the network.


Unfortunately I am still having the same problem: I get and respond to the invitation, and both machines say "Starting chat with . . . " but I don't get past this.


Scott

Jun 23, 2011 11:24 AM in response to Scott Romans

So those DNS server IPs have been entered in both Ethernet and Wifi in the Mac's Network settings ?


The Computer has an IP from the Airport Base station that starts with a 10

The normal format for this if the Base Station is using the 10 group is 10.1.0.x and I was trying to ask if that was the case when you typed 10.0.1.1


The Computer should get different IPs in the Configure IPv4 part (i.e the line underneath that) for Ethernet and WiFi/Airport.


Still in System Preferences > Network > Advanced Button > TCP/IP tab is the IPv6 item Enabled ?
Try turning this Off. (that is Turn it Off and try iChat)


After it starts reading "Connecting .." does it ever give you a pop up to send to Apple ?


User uploaded file
7:24 PM Thursday; June 23, 2011

Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"


 G4/1GhzDual MDD (Leopard 10.5.8)
 MacBookPro 2Gb( 10.6.7)
 Mac OS X (10.6.7),
"Limit the Logs to the Bits above Binary Images."  No, Seriously

Jun 23, 2011 8:03 PM in response to Ralph-Johns-UK

I had actually disconnected the ethernet to try to isolate problems. When I plug it back in it is in gray andsays 10.0.1.1. What is the convention for entering multiple DNS Server numbers in the ethernet? Unlike the AirPort, it doesn't give you a +sign to enter multiple lines. Should the two be separated by commas?


Under AirPort, the Configure IPv4 says "Using DHCP", and then below that the IPv4 Address is listed as 10.0.1.6. The Router appears as 10.0.1.1. So my numbering is NOT 10.1.0.x.


I did try turning of the Configure IPv6 on both the iMac and the MBP. This didn't change things.


I get the "Starting iChat with ..." message and the spinning clock thing for about five minutes. Tonight I did wait and got an error message. I pasted the log below, excluding info after "Binary Images".


Thanks again for your help.


Date/Time: 2011-06-23 21:52:12 -0500

OS Version: 10.6.7 (Build 10J869)

Report Version: 4



iChat Connection Log:

2011-06-23 21:48:50 -0500: AVChat started with ID 1326253674.

2011-06-23 21:48:50 -0500: 0x11668d6d0: State change from AVChatNoState to AVChatStateWaiting.

2011-06-23 21:48:50 -0500: scott.romans@me.com2: State change from AVChatNoState to AVChatStateInvited.

2011-06-23 21:48:54 -0500: 0x11668d6d0: State change from AVChatStateWaiting to AVChatStateConnecting.

2011-06-23 21:48:54 -0500: scott.romans@me.com2: State change from AVChatStateInvited to AVChatStateConnecting.

2011-06-23 21:52:00 -0500: 0x11668d6d0: State change from AVChatStateConnecting to AVChatStateEnded.

2011-06-23 21:52:00 -0500: 0x11668d6d0: Error -8 (Did not receive a response from 0x11668d6d0.)

2011-06-23 21:52:00 -0500: scott.romans@me.com2: State change from AVChatStateConnecting to AVChatStateEnded.

2011-06-23 21:52:00 -0500: scott.romans@me.com2: Error -8 (Did not receive a response from 0x11668d6d0.)



Video Conference Error Report:





Video Conference Support Report:

10.548300 @/SourceCache/VideoConference/VideoConference-422.36/Video Conference/VCInitiateConference.m:2059 type=2 (00000000/0)

[Connection Data for call id: 1 returns 1

]


10.931709 @/SourceCache/VideoConference/VideoConference-422.36/Video Conference/VCInitiateConference.m:2074 type=2 (00000000/0)

[Prepare Connection With Remote Data - remote VCConnectionData: 1, local VCConnectionData: 1

]






Video Conference User Report:

0.000000 @:0 type=5 (00000000/16402)

[Local SIP port]


0.000046 @:0 type=5 (00000000/16402)

[Local SIP port]


0.000088 @:0 type=5 (00000000/16402)

[Local SIP port]


0.000139 @:0 type=5 (00000000/16402)

[Local SIP port]


10.931819 @/SourceCache/VideoConference/VideoConference-422.36/Video Conference/VCInitiateConference.m:2171 type=5 (00000000/0)

[Remote Router]

[FULLCONE]

10.931825 @/SourceCache/VideoConference/VideoConference-422.36/Video Conference/VCInitiateConference.m:2173 type=5 (00000000/0)

[Remote CommNAT Result: 0x00000102

]

Jun 24, 2011 12:04 PM in response to Scott Romans

Hi,


Understood on the IP number and the IPv6


In System Preferences > Network you can use the "front Screen" to Add DNS server in the longer filed.

It is by using commas.

However the Advanced Button > DNS tab still woks and you have the Add Button.


The Log is very odd.

It does confirm that it took 4 minutes to get from "Connecting" to the Chat Ended point.


If this was between both your Macs then the end of the log should have said both the Remote router and the Local Router were Full Cone

It also seems to miss a lot of info, such as the To And From info with LAN IPs and such

(An example somewhat spread out and separated in to Sections with Comments)



Summary,

Cable Modem as using Comcast.
Airport Base Station now set to Enable Port Mapping Protocol.

Both Mac Firewalls sorted (Either Off or iChat is listed as an Allowed App)

Network Settings on the Macs may benefit from DNS server info

IPv 6 off (As well as only using one method of Network (WiFi or Ethernet) at a time.) (Any causes of iChat 'seeing' the Internet twice)


There is no evidence in the Log that the other end did more than Accept the visible Invite (You don't get a log at all if they don't).


The Log is supposed to show the process of an SIP invite and connection Process in the log


It should detail something like this as the cause


Video Conference Error Report:

4060.685129 @SIP/SIP.c:2719 type=4 (900A0015/0)

[SIPConnectIPPort failed]


4062.687224 @SIP/SIP.c:2719 type=4 (900A0015/0)

[SIPConnectIPPort failed]


(this means the SIP port appeared to be closed)


It would continue like this:-


Video Conference Support Report:

0.890540 @Video Conference/VCInitiateConference.m:1582 type=2 (00000000/0)

[Connection Data for call id: 1 returns 1

]


4.981522 @Video Conference/VCInitiateConference.m:1597 type=2 (00000000/0)

[Prepare Connection With Remote Data - remote VCConnectionData: 1, local VCConnectionData: 1

]


4.986559 @Video Conference/VCInitiateConference.m:1701 type=2 (00000000/0)

[Initiate Conference To User: u0 with Remote VCConnectionData: 1 with Local Connection Data: 1 conferenceSettings: 1]


5.810046 @SIP/Transport.c:2362 type=1 (00000000/0)

[INVITE sip:user@rip:16402 SIP/2.0

Via: SIP/2.0/UDP sip:16402;branch=z9hG4bK0a2c00216ddc9ea4

Max-Forwards: 70

To: "u0" <sip:user@rip:16402>

From: "0" <sip:user@lip:16402>;tag=70982180

Call-ID: 37293f8a-c541-11dc-80bf-c6454c894012@lip

CSeq: 1 INVITE

Contact: <sip:user@sip:16402>;isfocus

User-Agent: Viceroy 1.3

Content-Type: application/sdp

Content-Length: 614


rip is remote IP = Buddy

lip is you )Local IP

The attempted SIP Port (16402) should be listed (5060 in iChat 3's case)


CSeq = Call sequence and should move later from INVITE to MESSAGE depending how far it gets.


The Log should also List a PING


In System Preferences > Security > Firewall do you have Stealth Enabled ?
This would block responses to PINGs

(That would normally show in the log much later after the Buddy had done more of the SIP acceptance)


At this point I am a little lost as to why this is not working.


Was this chat to your Other Mac ?

If so you can go to your Home Folder/Library/Logs/iChatConnectionErrors and view old logs there as well.




<User uploaded file
8:04 PM Friday; June 24, 2011

Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"


 G4/1GhzDual MDD (Leopard 10.5.8)
 MacBookPro 2Gb( 10.6.7)
 Mac OS X (10.6.7),
"Limit the Logs to the Bits above Binary Images."  No, Seriously

Jun 25, 2011 4:35 PM in response to Ralph-Johns-UK

Hello,


Okay, the DNS server numbers have been added to both the Ethernet pane and the AirPort pane in System Preferences > Network. In other words, I have keyed in the two DNS numbers beginning with 68 in both places.


I have confirmed that stealth mode is disabled on both machines.I have turned the firewall on but granted access to ichat.


One thing on the Airport: I do have the "Enable NAT Port Mapping Protocol" checked, but this is an indented item under "Enable default host at:"-- which is unchecked and the box after it is empty. Does something need to be done here?


I have also replaced my AirPort base station.


I waited for another error report, but to me it looks the same as the previous one.


Any ideas?


Date/Time: 2011-06-25 18:26:32 -0500

OS Version: 10.6.8 (Build 10K540)

Report Version: 4



iChat Connection Log:

2011-06-25 18:23:13 -0500: AVChat started with ID 691527836.

2011-06-25 18:23:13 -0500: 0x1166817c0: State change from AVChatNoState to AVChatStateWaiting.

2011-06-25 18:23:13 -0500: scott.romans@me.com2: State change from AVChatNoState to AVChatStateInvited.

2011-06-25 18:23:16 -0500: 0x1166817c0: State change from AVChatStateWaiting to AVChatStateConnecting.

2011-06-25 18:23:16 -0500: scott.romans@me.com2: State change from AVChatStateInvited to AVChatStateConnecting.

2011-06-25 18:26:22 -0500: 0x1166817c0: State change from AVChatStateConnecting to AVChatStateEnded.

2011-06-25 18:26:22 -0500: 0x1166817c0: Error -8 (Did not receive a response from 0x1166817c0.)

2011-06-25 18:26:22 -0500: scott.romans@me.com2: State change from AVChatStateConnecting to AVChatStateEnded.

2011-06-25 18:26:22 -0500: scott.romans@me.com2: Error -8 (Did not receive a response from 0x1166817c0.)



Video Conference Error Report:





Video Conference Support Report:

8.866817 @/SourceCache/VideoConference/VideoConference-422.50/Video Conference/VCInitiateConference.m:2059 type=2 (00000000/0)

[Connection Data for call id: 1 returns 1

]


9.361744 @/SourceCache/VideoConference/VideoConference-422.50/Video Conference/VCInitiateConference.m:2074 type=2 (00000000/0)

[Prepare Connection With Remote Data - remote VCConnectionData: 1, local VCConnectionData: 1

]






Video Conference User Report:

0.000000 @:0 type=5 (00000000/16402)

[Local SIP port]


0.000047 @:0 type=5 (00000000/16402)

[Local SIP port]


0.000091 @:0 type=5 (00000000/16402)

[Local SIP port]


0.000195 @:0 type=5 (00000000/16402)

[Local SIP port]


0.000255 @:0 type=5 (00000000/16402)

[Local SIP port]


9.361846 @/SourceCache/VideoConference/VideoConference-422.50/Video Conference/VCInitiateConference.m:2171 type=5 (00000000/0)

[Remote Router]

[FULLCONE]

9.361852 @/SourceCache/VideoConference/VideoConference-422.50/Video Conference/VCInitiateConference.m:2173 type=5 (00000000/0)

[Remote CommNAT Result: 0x00000102

]

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

iChat connection problems

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.