Buddy auth and GTalk -> Openfire failing

My XMPP domain is fourkitchens.com.

I can currently:

  • Federate in all ways (messaging and authorization) with jabber.org.

  • Send messages to GTalk users if they’ve added the Openfire account to their buddy list.

I cannot:

  • Receive messages from GTalk, regardless of whether I’ve added the GTalk account to my buddy list.

  • Authorize my Openfire accounts on my GTalk buddy lists.

  • Authorize my GTalk accounts on my Openfire buddy lists.

I see the following in my debug log when I close the GTalk server-to-server session and send a message from Openfire to GTalk:

2008.06.30 06:46:53 OutgoingServerSocketReader: Finishing Outgoing Server Reader. Closing session: org.jivesoftware.openfire.session.LocalOutgoingServerSession@f9de08 status: -1 address: gmail.com id: 0A3E89BEB62662EF

java.net.SocketException: Socket closed

at java.net.SocketInputStream.socketRead0(Native Method)

at java.net.SocketInputStream.read(Unknown Source)

at org.jivesoftware.openfire.net.ServerTrafficCounter$InputStreamWrapper.read(Serv erTrafficCounter.java:210)

at sun.nio.cs.StreamDecoder.readBytes(Unknown Source)

at sun.nio.cs.StreamDecoder.implRead(Unknown Source)

at sun.nio.cs.StreamDecoder.read(Unknown Source)

at java.io.InputStreamReader.read(Unknown Source)

at org.xmlpull.mxp1.MXParser.fillBuf(MXParser.java:2992)

at org.xmlpull.mxp1.MXParser.more(MXParser.java:3046)

at org.jivesoftware.openfire.net.MXParser.nextImpl(MXParser.java:321)

at org.xmlpull.mxp1.MXParser.nextToken(MXParser.java:1100)

at org.dom4j.io.XMPPPacketReader.parseDocument(XMPPPacketReader.java:317)

at org.jivesoftware.openfire.server.OutgoingServerSocketReader$1.run(OutgoingServe rSocketReader.java:93)

2008.06.30 06:46:53 002037 (01/05/00) - Connection #1 tested: OK

2008.06.30 06:46:53 002038 (01/05/00) - Connection #1 tested: OK

2008.06.30 06:46:53 002038 (01/05/00) - Connection #3 tested: OK

2008.06.30 06:46:53 002039 (01/05/00) - Connection #3 tested: OK

2008.06.30 06:47:03 002039 (02/05/00) - Connection #4 tested: OK

2008.06.30 06:47:03 002040 (02/05/00) - Connection #5 tested: OK

2008.06.30 06:47:03 002041 (02/05/00) - Connection #4 tested: OK

2008.06.30 06:47:03 002041 (01/05/00) - Connection #5 tested: OK

2008.06.30 06:47:03 002041 (01/05/00) - Connection #2 tested: OK

2008.06.30 06:47:03 002042 (02/05/00) - Connection #1 tested: OK

2008.06.30 06:47:03 002043 (02/05/00) - Connection #1 tested: OK

2008.06.30 06:47:03 LocalOutgoingServerSession: OS - Trying to connect to gmail.com:5269(DNS lookup: xmpp-server4.l.google.com:5269)

2008.06.30 06:47:03 002043 (01/05/00) - Connection #2 tested: OK

2008.06.30 06:47:03 LocalOutgoingServerSession: OS - Plain connection to gmail.com:5269 successful

2008.06.30 06:47:03 LocalOutgoingServerSession: OS - Going to try connecting using server dialback with: gmail.com

2008.06.30 06:47:03 ServerDialback: OS - Trying to connect to gmail.com:5269(DNS lookup: xmpp-server3.l.google.com:5269)

2008.06.30 06:47:03 ServerDialback: OS - Connection to gmail.com:5269 successful

2008.06.30 06:47:03 ServerDialback: OS - Sent dialback key to host: gmail.com id: 2868FF73202267EE from domain: fourkitchens.com

2008.06.30 06:47:03 Connect Socket[http://addr=/72.14.252.129,port=16972,localport=5269|http://addr=/72.14.252.129, port=16972,localport=5269]

2008.06.30 06:47:03 Error creating session

java.io.EOFException: input contained no data

at org.xmlpull.mxp1.MXParser.fillBuf(MXParser.java:3003)

at org.xmlpull.mxp1.MXParser.more(MXParser.java:3046)

at org.xmlpull.mxp1.MXParser.parseProlog(MXParser.java:1410)

at org.jivesoftware.openfire.net.MXParser.nextImpl(MXParser.java:332)

at org.xmlpull.mxp1.MXParser.next(MXParser.java:1093)

at org.jivesoftware.openfire.net.SocketReader.createSession(SocketReader.java:364)

at org.jivesoftware.openfire.net.BlockingReadingMode.run(BlockingReadingMode.java: 54)

at org.jivesoftware.openfire.net.SocketReader.run(SocketReader.java:120)

at java.lang.Thread.run(Unknown Source)

2008.06.30 06:47:03 Connection closed before session established

Socket[http://addr=/72.14.252.129,port=16972,localport=5269|http://addr=/72.14.252.129, port=16972,localport=5269]

2008.06.30 06:47:04 Connect Socket[http://addr=/72.14.252.129,port=16973,localport=5269|http://addr=/72.14.252.129, port=16973,localport=5269]

2008.06.30 06:47:04 ServerDialback: RS - Received dialback key from host: gmail.com to: fourkitchens.com

2008.06.30 06:47:04 ServerDialback: RS - Trying to connect to Authoritative Server: gmail.com:5269(DNS lookup: xmpp-server2.l.google.com:5269)

2008.06.30 06:47:04 ServerDialback: RS - Connection to AS: gmail.com:5269 successful

2008.06.30 06:47:04 ServerDialback: RS - Asking AS to verify dialback key for id3b582bb7

2008.06.30 06:47:04 ServerDialback: RS - Key was VERIFIED by the Authoritative Server for: gmail.com

2008.06.30 06:47:04 ServerDialback: RS - Closing connection to Authoritative Server: gmail.com

2008.06.30 06:47:04 ServerDialback: RS - Sending key verification result to OS: gmail.com

2008.06.30 06:47:04 ServerDialback: AS - Verifying key for host: gmail.com id: 2868FF73202267EE

2008.06.30 06:47:04 ServerDialback: AS - Key was: VALID for host: gmail.com id: 2868FF73202267EE

2008.06.30 06:47:04 ServerDialback: OS - Validation GRANTED from: gmail.com id: 2868FF73202267EE for domain: fourkitchens.com

I see nothing when sending from GTalk to Openfire, but GTalk does give me error code 503.

Any ideas? I’m running Openfire 3.5.2 on 64-bit RHEL 5.

I’m going to try changing my DNS SRV records to point to plain fourkitchens.com instead of xmpp.fourkitchens.com because the certificate I use is for fourkitchens.com.