powered by Jive Software

Problems connecting to gmail.com

did you also upgrade your gateway plugin? that plugin is notoriously buggy to upgrade (sorry Daniel). I make it a point to always do a manual upgrade of that plugin, by stopping the server deleting the old one and its folder and adding the new one in.

I’m not using the xmpp gateway, so I doubt that the gateway plugin has something to do with my GTalk contacts. Anyway, yes, I have installed the gateway plugin from scratch (with an existing database).

Ah, now I understand the confusion. I actually meant all my Jabber contacts @gmail.com are unreachable, not the contacts on my GTalk account.

Update: although I don’t get anything in my error logs, I do see the following in XML console:

<presence from="XXXXXXX@gmail.com" type=“error” to="XXXX@el-tramo.be/Work" >

<error type=“cancel” code=“404” >

<remote-server-not-found xmlns=“urn:ietf:params:xml:ns:xmpp-stanzas”/>

</error>

</presence>

However, I checked, and I am able to connect to the gmail s2s port from the host where Openfire is running. Any ideas?

mtstravel wrote:

did you also upgrade your gateway plugin? that plugin is notoriously buggy to upgrade (sorry Daniel). I make it a point to always do a manual upgrade of that plugin, by stopping the server deleting the old one and its folder and adding the new one in.

That -should- be fixed actually. The problem was that the Openfire unload and load routines weren’t really waiting for the plugin to stop. Gato fixed that a couple of versions ago. In theory the Gateway plugin should update properly nowadays. If it’s not let me know. =)

sounds like a DNS issue.

Has something else changed: IP or FQDN or SRV record or a new hardware and gmail is no longer authorized by your server.

Another thread had the same issue that self correct with time: http://www.igniterealtime.org/community/message/168080#168080

I turned on debugging, and DNS and connecting seems to go fine, but I get these kinds of messages:

2008.04.09 16:52:16 ServerDialback: OS - Time out waiting for answer in validation from: gmail.com id: 90C7B3DAA54883B4 for domain: el-tramo.be

It sounds like a problem on their end. The response is not coming back. They may be caching something on their end.

i used again the 3.4.5 Openfire version and was connected to gmail over s2s. No problem.

With 3.5.0 have the same problems as above.

No idea why. Is there any change in the 3.5.0 ?

Thanks

Patience I suppose. After a while, my gmail contacts started popping up again. One thing that still doesn’t work is joining groupchats on other servers, though

Same problem, with clean instalation and with upgrade instalation. I have no dns problem, works perfect with 3.5.0 rc1 but fails on 3.5.0 rc2 and 3.5.0 final, 3.4.5 works perfect also. It’s not a DNS problem it’s a bug…

org.jivesoftware.openfire.PacketException: Cannot route packet of type IQ or Presence to bare JID:

at org.jivesoftware.openfire.spi.RoutingTableImpl.routePacket(RoutingTableImpl.jav a:215)

at org.jivesoftware.openfire.server.OutgoingSessionPromise$PacketsProcessor.return ErrorToSender(OutgoingSessionPromise.java:259)

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

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.10 21:35:02 Cookie rejected: “$Version=0; PREF=ID=9ae5d3f7ab0d2a55:TM=1207856132:LM=1207856132:S=J6HiUm-bQxmf9W4w; $Path=/; $Domain=.google.com”. Illegal domain attribute “.google.com”. Domain of origin: “google.com

Hrm. that’s very useful information (rc1 vs rc2 vs release) I created JM-1323 regarding the issue. There -were- some changes, but focusing on locking, between rc1 and rc2. On the surface it doesn’t seem like that would cause a problem but…

not only gmail.com

S2S in OpenFire 3.5.0 works very strange with many servers except anothers OpenFires

Can you give us some examples? It appears to be working great with ejabberd, but we didn’t see many other implementations that it was connecting to.

As you mentioned locking changes I’ve attached snippet of my debug.log that shows a simlar (the same?) problem with another server since 3.5.0.

There are a lot of “Time out waiting for answer in validation from” messages before that and then all “Verifying key for host” come at once at the end.

For example MUC service conference.jabber.ru

I didn’t see it working from openfire 3.5.0

With ejabberd servers such as jabber.ru, jabbus.org, jabnet.org openfire 3.5.0 works very unstable(some times works, some times not)

Only server with which Openfire 3.5.0 works fine is Openfire(tested with 3.4.2).

UPD: with openfire S2S is unstable too but lesser then with others(but greater then it was on previous versions of openfire)

For example debug log about connections with gmail.com and ejabberd’s servers:

2008.04.13 00:37:59 LocalOutgoingServerSession: OS - Trying to connect to gmail.com:5269(DNS lookup: xmpp-server2.l.google.com:5269)

2008.04.13 00:38:00 LocalOutgoingServerSession: OS - Plain connection to gmail.com:5269 successful

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

2008.04.13 00:38:00 ServerDialback: OS - Trying to connect to gmail.com:5269(DNS lookup: xmpp-server1.l.google.com:5269)

2008.04.13 00:38:00 ServerDialback: OS - Connection to gmail.com:5269 successful

2008.04.13 00:38:01 ServerDialback: OS - Sent dialback key to host: gmail.com id: 76DC411C7BA0992B from domain: skylink64.ru

2008.04.13 00:38:01 Connect Socket[http://addr=/72.14.252.129,port=54686,localport=5269|http://addr=/72.14.252.129, port=54686,localport=5269]

2008.04.13 00:38:01 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:331)

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

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

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(Unknown Source)

2008.04.13 00:38:01 Connection closed before session established

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

2008.04.13 00:38:02 Connect Socket[http://addr=/72.14.252.129,port=54688,localport=5269|http://addr=/72.14.252.129, port=54688,localport=5269]

2008.04.13 00:38:02 ServerDialback: RS - Received dialback key from host: gmail.com to: skylink64.ru

2008.04.13 00:38:21 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.13 00:38:46 ServerDialback: RS - Trying to connect to Authoritative Server: jabnet.org:5269(DNS lookup: jabnet.org:5269)

2008.04.13 00:38:46 LocalOutgoingServerSession: OS - Trying to connect to jabnet.org:5269(DNS lookup: jabnet.org:5269)

2008.04.13 00:38:46 ServerDialback: RS - Connection to AS: jabnet.org:5269 successful

2008.04.13 00:38:46 LocalOutgoingServerSession: OS - Plain connection to jabnet.org:5269 successful

2008.04.13 00:38:46 ServerDialback: RS - Asking AS to verify dialback key for id90297367

2008.04.13 00:38:46 LocalOutgoingServerSession: OS - Going to try connecting using server dialback with: jabnet.org

2008.04.13 00:38:46 ServerDialback: OS - Trying to connect to jabnet.org:5269(DNS lookup: jabnet.org:5269)

2008.04.13 00:38:46 ServerDialback: RS - Key was VERIFIED by the Authoritative Server for: jabnet.org

2008.04.13 00:38:46 ServerDialback: RS - Closing connection to Authoritative Server: jabnet.org

2008.04.13 00:38:46 ServerDialback: RS - Sending key verification result to OS: jabnet.org

2008.04.13 00:38:46 ServerDialback: OS - Connection to jabnet.org:5269 successful

2008.04.13 00:38:46 ServerDialback: OS - Sent dialback key to host: jabnet.org id: 2286598596 from domain: skylink64.ru

2008.04.13 00:38:46 Connect Socket[http://addr=/88.147.254.230,port=55452,localport=5269|http://addr=/88.147.254.23 0,port=55452,localport=5269]

2008.04.13 00:38:46 ServerDialback: AS - Verifying key for host: jabnet.org id: 2286598596

2008.04.13 00:38:46 ServerDialback: AS - Key was: VALID for host: jabnet.org id: 2286598596

2008.04.13 00:38:46 ServerDialback: AS - Connection closed for host: jabnet.org id: 2286598596

2008.04.13 00:38:46 Connection closed before session established

Socket[http://addr=/88.147.254.230,port=55452,localport=5269|http://addr=/88.147.254.23 0,port=55452,localport=5269]

2008.04.13 00:38:46 ServerDialback: OS - Validation GRANTED from: jabnet.org id: 2286598596 for domain: skylink64.ru

2008.04.13 00:38:46 ServerDialback: AS - Verifying key for host: jabnet.org id: 2100003458

2008.04.13 00:38:46 ServerDialback: AS - Key was: VALID for host: jabnet.org id: 2100003458

Yep, same issue…the previous thread is mine.

It started working again…and then it stopped. And then it started. And now it’s stopped again. Definitely did not have these issues with the RCs.

Wait, what do you mean the “RCs”? So far I’ve heard that RC1 was fine, but RC2 ‘broke it’. Are you telling me it worked fine for you in RC2?

Eh, I’m an idiot sometimes. I went back and checked and apparently I never installed RC2. I was running RC1 with no issues outside of Gateway plugin stuff. I upgraded to 3.5.0 proper and started experiencing the GTalk issue.

Hi I am having the same problem, having recently upgraded to 3.5. I have uninstalled the gateway plugin (to eliminate it as a source of the problem). My openfire installation is unable to create a s2s connection to the following domains:

gmail.com

google.com

googlemail.com

This is the error message from my logs:

2008.04.15 10:01:04 Error verifying key of remote server: google.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)

If anybody can help me with this issue I would appreciate it. I can supply logs if necessary.