Openfire 3.5.0 and GTalk

Upgraded to 3.5.0 and suddenly I can’t see any of my gmail contacts and they can’t see me. Looked at the sessions and there is nothing under server sessions. Here’s what I have in the debug.log:

2008.04.08 00:30:00 OutgoingServerSocketReader: Finishing Outgoing Server Reader. No session to close.

java.io.EOFException: no more data available - expected end tag

java.lang.Exception: Failed to create connection to remote server

at org.jivesoftware.openfire.server.OutgoingSessionPromise$PacketsProcessor.sendPa cket(OutgoingSessionPromise.java:226)

at org.jivesoftware.openfire.server.OutgoingSessionPromise$PacketsProcessor.run(Ou tgoingSessionPromise.java:193)

at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java: 885)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)

at java.lang.Thread.run(Thread.java:619)

2008.04.08 00:30:00 LocalOutgoingServerSession: OS - Trying to connect to gmail.com:5269(DNS lookup: xmpp-server4.l.google.com:5269)

2008.04.08 00:30:00 LocalOutgoingServerSession: OS - Plain connection to gmail.com:5269 successful

2008.04.08 00:30:00 LocalOutgoingServerSession: OS - Going to try connecting using server dialback with: gmail.com

2008.04.08 00:30:00 ServerDialback: OS - Trying to connect to gmail.com:5269(DNS lookup: xmpp-server3.l.google.com:5269)

2008.04.08 00:30:00 ServerDialback: OS - Connection to gmail.com:5269 successful

2008.04.08 00:30:00 ServerDialback: OS - Sent dialback key to host: gmail.com id: EB4F175622756BD7 from domain: stephenscorp.com

2008.04.08 00:30:00 Connect Socket[http://addr=/209.85.162.129,port=15820,localport=5269|http://addr=/209.85.162.12 9,port=15820,localport=5269]

2008.04.08 00:30:00 ServerDialback: RS - Received dialback key from host: gmail.com to: stephenscorp.com

Here’s another dump. I tried to manually browse services with Psi. It worked for jabber.org but not gmail.

2008.04.08 00:40:25 LocalOutgoingServerSession: OS - Trying to connect to gmail.com:5269(DNS lookup: xmpp-server4.l.google.com:5269)

2008.04.08 00:40:25 LocalOutgoingServerSession: OS - Plain connection to gmail.com:5269 successful

2008.04.08 00:40:25 LocalOutgoingServerSession: OS - Going to try connecting using server dialback with: gmail.com

2008.04.08 00:40:25 ServerDialback: OS - Trying to connect to gmail.com:5269(DNS lookup: xmpp-server3.l.google.com:5269)

2008.04.08 00:40:26 ServerDialback: OS - Connection to gmail.com:5269 successful

2008.04.08 00:40:26 ServerDialback: OS - Sent dialback key to host: gmail.com id: 332304DDEE7B3728 from domain: stephenscorp.com

2008.04.08 00:40:26 Connect Socket[http://addr=/209.85.162.129,port=16040,localport=5269|http://addr=/209.85.162.12 9,port=16040,localport=5269]

2008.04.08 00:40:26 ServerDialback: RS - Received dialback key from host: gmail.com to: stephenscorp.com

2008.04.08 00:40:45 Logging off pubsub.jabber.org on org.jivesoftware.openfire.net.SocketConnection@18c14b3 socket: Socket[http://addr=/208.68.163.214,port=43593,localport=5269|http://addr=/208.68.163.21 4,port=43593,localport=5269] session: org.jivesoftware.openfire.session.LocalIncomingServerSession@80bc28 status: -1 address: pubsub.jabber.org id: 393b1532

2008.04.08 00:40:45 Logging off conference.jabber.org on org.jivesoftware.openfire.net.SocketConnection@19853c2 socket: Socket[http://addr=/208.68.163.214,port=43592,localport=5269|http://addr=/208.68.163.21 4,port=43592,localport=5269] session: org.jivesoftware.openfire.session.LocalIncomingServerSession@b9242e status: -1 address: conference.jabber.org id: 94c94df

2008.04.08 00:40:45 Logging off proxy.jabber.org on org.jivesoftware.openfire.net.SocketConnection@15be31e socket: Socket[http://addr=/208.68.163.214,port=43591,localport=5269|http://addr=/208.68.163.21 4,port=43591,localport=5269] session: org.jivesoftware.openfire.session.LocalIncomingServerSession@19707 status: -1 address: proxy.jabber.org id: ea6565ef

2008.04.08 00:40:46 OutgoingServerSocketReader: Finishing Outgoing Server Reader. No session to close.

java.io.EOFException: no more data available - expected end tag

java.lang.Exception: Failed to create connection to remote server

at org.jivesoftware.openfire.server.OutgoingSessionPromise$PacketsProcessor.sendPa cket(OutgoingSessionPromise.java:226)

at org.jivesoftware.openfire.server.OutgoingSessionPromise$PacketsProcessor.run(Ou tgoingSessionPromise.java:193)

at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java: 885)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)

at java.lang.Thread.run(Thread.java:619)

2008.04.08 00:40:46 ServerDialback: RS - Trying to connect to Authoritative Server: gmail.com:5269(DNS lookup: xmpp-server2.l.google.com:5269)

2008.04.08 00:40:46 ServerDialback: RS - Trying to connect to Authoritative Server: gmail.com:5269(DNS lookup: xmpp-server1.l.google.com:5269)

2008.04.08 00:40:46 LocalOutgoingServerSession: OS - Trying to connect to gmail.com:5269(DNS lookup: xmpp-server.l.google.com:5269)

2008.04.08 00:40:46 LocalOutgoingServerSession: OS - Plain connection to gmail.com:5269 successful

2008.04.08 00:40:46 ServerDialback: RS - Connection to AS: gmail.com:5269 successful

2008.04.08 00:40:46 LocalOutgoingServerSession: OS - Going to try connecting using server dialback with: gmail.com

2008.04.08 00:40:46 ServerDialback: OS - Trying to connect to gmail.com:5269(DNS lookup: xmpp-server4.l.google.com:5269)

2008.04.08 00:40:46 ServerDialback: RS - Connection to AS: gmail.com:5269 successful

2008.04.08 00:40:46 ServerDialback: OS - Connection to gmail.com:5269 successful

2008.04.08 00:40:46 ServerDialback: OS - Sent dialback key to host: gmail.com id: 347396DC8FAA6D82 from domain: stephenscorp.com

2008.04.08 00:40:46 ServerDialback: RS - Asking AS to verify dialback key for id4cfbf794

2008.04.08 00:40:46 ServerDialback: RS - Asking AS to verify dialback key for id14f8a83f

2008.04.08 00:40:46 Connect Socket[http://addr=/209.85.162.129,port=16043,localport=5269|http://addr=/209.85.162.12 9,port=16043,localport=5269]

2008.04.08 00:40:46 ServerDialback: RS - Received dialback key from host: gmail.com to: stephenscorp.com

2008.04.08 00:40:46 ServerDialback: RS - Key was VERIFIED by the Authoritative Server for: gmail.com

2008.04.08 00:40:46 ServerDialback: RS - Closing connection to Authoritative Server: gmail.com

2008.04.08 00:40:46 ServerDialback: RS - Sending key verification result to OS: gmail.com

2008.04.08 00:40:46 ServerDialback: RS - Key was NOT VERIFIED by the Authoritative Server for: gmail.com

2008.04.08 00:40:46 ServerDialback: RS - Closing connection to Authoritative Server: gmail.com

2008.04.08 00:40:46 ServerDialback: RS - Sending key verification result to OS: gmail.com

2008.04.08 00:40:46 Connection closed before session established

Socket[http://addr=/209.85.162.129,port=16033,localport=5269|http://addr=/209.85.162.12 9,port=16033,localport=5269]

And here’s what I’m getting client-side:

/code

Looks like the session wasn’t established:

2008.04.08 00:40:46 ServerDialback: RS - Key was NOT VERIFIED by the Authoritative Server for: gmail.com

And the 404 looks like what the domain will return to the client in this case.

Something has change IP or FQDN or SRV record or a new hardware and gmail will not be authorized by your server.

My IP has changed, but it changed over a month ago. In that time I upgraded to both RC and RC2 with no problems talking to the google servers until I upgraded to 3.5.0 proper.

2008.04.08 20:29:10 LocalOutgoingServerSession: OS - Trying to connect to gmail.com:5269(DNS lookup: xmpp-server3.l.google.com:5269)

2008.04.08 20:29:11 LocalOutgoingServerSession: OS - Plain connection to gmail.com:5269 successful

2008.04.08 20:29:11 LocalOutgoingServerSession: OS - Going to try connecting using server dialback with: gmail.com

2008.04.08 20:29:11 ServerDialback: OS - Trying to connect to gmail.com:5269(DNS lookup: xmpp-server2.l.google.com:5269)

2008.04.08 20:29:11 ServerDialback: OS - Connection to gmail.com:5269 successful

2008.04.08 20:29:11 ServerDialback: OS - Sent dialback key to host: gmail.com id: 7745AF8BAC50BD4D from domain: skylink64.ru

2008.04.08 20:29:12 Connect Socket[http://addr=/72.14.252.129,port=64714,localport=5269|http://addr=/72.14.252.129, port=64714,localport=5269]

2008.04.08 20:29:12 ServerDialback: RS - Received dialback key from host: gmail.com to: skylink64.ru

2008.04.08 20:29:31 OutgoingServerSocketReader: Finishing Outgoing Server Reader. No session to close.

java.io.EOFException: no more data available - expected end tag

java.lang.Exception: Failed to create connection to remote server

at org.jivesoftware.openfire.server.OutgoingSessionPromise$PacketsProcessor.sendPa cket(OutgoingSessionPromise.java:226)

at org.jivesoftware.openfire.server.OutgoingSessionPromise$PacketsProcessor.run(Ou tgoingSessionPromise.java:193)

at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

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

2008.04.08 20:29:55 Error delivering raw text

org.jivesoftware.openfire.net.SocketConnection@ef22c9 socket: Socket[http://addr=/72.14.252.129,port=64714,localport=5269|http://addr=/72.14.252.129, port=64714,localport=5269] session: org.jivesoftware.openfire.session.LocalIncomingServerSession@1011281 status: 1 address: gmail.com id: 447c15f9

java.net.SocketException: Broken pipe

at java.net.SocketOutputStream.socketWrite0(Native Method)

at java.net.SocketOutputStream.socketWrite(Unknown Source)

at java.net.SocketOutputStream.write(Unknown Source)

at org.jivesoftware.openfire.net.ServerTrafficCounter$OutputStreamWrapper.write(Se rverTrafficCounter.java:270)

at sun.nio.cs.StreamEncoder.writeBytes(Unknown Source)

at sun.nio.cs.StreamEncoder.implFlushBuffer(Unknown Source)

at sun.nio.cs.StreamEncoder.implFlush(Unknown Source)

at sun.nio.cs.StreamEncoder.flush(Unknown Source)

at java.io.OutputStreamWriter.flush(Unknown Source)

at java.io.BufferedWriter.flush(Unknown Source)

at org.jivesoftware.openfire.net.SocketConnection.deliverRawText(SocketConnection. java:595)

at org.jivesoftware.openfire.server.ServerDialback.verifyReceivedKey(ServerDialbac k.java:675)

at org.jivesoftware.openfire.session.LocalIncomingServerSession.verifyReceivedKey( LocalIncomingServerSession.java:327)

at org.jivesoftware.openfire.net.ServerSocketReader.processUnknowPacket(ServerSock etReader.java:160)

at org.jivesoftware.openfire.net.SocketReader.process(SocketReader.java:216)

at org.jivesoftware.openfire.net.BlockingReadingMode.readStream(BlockingReadingMod e.java:156)

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

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

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

2008.04.08 20:29:55 ServerDialback: AS - Key was: VALID for host: gmail.com id: 7745AF8BAC50BD4D

2008.04.08 20:29:55 Logging off gmail.com on org.jivesoftware.openfire.net.SocketConnection@ef22c9 socket: Socket[http://addr=/72.14.252.129,port=64714,localport=5269|http://addr=/72.14.252.129, port=64714,localport=5269] session: org.jivesoftware.openfire.session.LocalIncomingServerSession@1011281 status: -1 address: gmail.com id: 447c15f9

2008.04.08 20:29:55 ServerDialback: RS - Trying to connect to Authoritative Server: gmail.com:5269(DNS lookup: xmpp-server3.l.google.com:5269)

2008.04.08 20:29:55 ServerDialback: RS - Connection to AS: gmail.com:5269 successful

2008.04.08 20:29:55 ServerDialback: RS - Asking AS to verify dialback key for idd04411f9

2008.04.08 20:29:56 ServerDialback: RS - Key was VERIFIED by the Authoritative Server for: gmail.com

2008.04.08 20:29:56 ServerDialback: RS - Closing connection to Authoritative Server: gmail.com

2008.04.08 20:29:56 ServerDialback: RS - Sending key verification result to OS: gmail.com

2008.04.08 20:29:56 ServerDialback: AS - Verifying key for host: gmail.com id: 67889D3B46B6F028

2008.04.08 20:29:56 ServerDialback: AS - Key was: VALID for host: gmail.com id: 67889D3B46B6F028

2008.04.08 20:29:56 Logging off gmail.com on org.jivesoftware.openfire.net.SocketConnection@1b7a8c5 socket: Socket[http://addr=/72.14.252.129,port=64721,localport=5269|http://addr=/72.14.252.129, port=64721,localport=5269] session: org.jivesoftware.openfire.session.LocalIncomingServerSession@2c0ef0 status: 1 address: gmail.com id: d04411f9

I’m guessing this means you can’t communicate with Google’s servers either, vanaf?

And suddenly it’s working again…meh.

Have recently upgraded to 3.5 I am having the same problem with the following domains: gmail.com, google.com, googlemail.com.

Here is my stacktrace:

2008.04.15 11:10:36 Error verifying key of remote server: vdh.za.net

java.net.SocketTimeoutException: connect timed out

at java.net.PlainSocketImpl.socketConnect(Native Method)

at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)

at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)

at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)

at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)

at java.net.Socket.connect(Socket.java:520)

at org.jivesoftware.openfire.server.ServerDialback.verifyKey(ServerDialback.java:5 22)

at org.jivesoftware.openfire.server.ServerDialback.validateRemoteDomain(ServerDial back.java:464)

at org.jivesoftware.openfire.server.ServerDialback.createIncomingSession(ServerDia lback.java:348)

at org.jivesoftware.openfire.session.LocalIncomingServerSession.createSession(Loca lIncomingServerSession.java:101)

at org.jivesoftware.openfire.net.ServerSocketReader.createSession(ServerSocketRead er.java:211)

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

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

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

at java.lang.Thread.run(Thread.java:595)

2008.04.15 11:11:09 Error verifying key of remote server: gmail.com

java.net.SocketTimeoutException: connect timed out

at java.net.PlainSocketImpl.socketConnect(Native Method)

at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)

at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)

at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)

at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)

at java.net.Socket.connect(Socket.java:520)

at org.jivesoftware.openfire.server.ServerDialback.verifyKey(ServerDialback.java:5 22)

at org.jivesoftware.openfire.server.ServerDialback.validateRemoteDomain(ServerDial back.java:464)

at org.jivesoftware.openfire.server.ServerDialback.createIncomingSession(ServerDia lback.java:348)

at org.jivesoftware.openfire.session.LocalIncomingServerSession.createSession(Loca lIncomingServerSession.java:101)

at org.jivesoftware.openfire.net.ServerSocketReader.createSession(ServerSocketRead er.java:211)

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

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

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

at java.lang.Thread.run(Thread.java:595)

Recently upgraded from 3.5rc1 to 3.5 and having the same issues, for those of you who have somehow fixed this, how did you fix it?

I still haven’t fixed this, I am considering a downgrade, I may try 3.5 rc1.

Unfortunately I can’t find an easy way to download the RC1 binaries, does anybody know the URL?

My IP has not changed recently, and I am experiencing the same problem. It is perhaps related to the SRV records for my domain (MOGGL.COM)?

I have the same problem…

Yep. It’s just coming and going. Every once in a while I look at my buddy list and can see the people online that are always online. But usually they don’t show up.