Skip navigation
11953 Views 20 Replies Latest reply: Apr 15, 2008 2:25 AM by Richard Wooding RSS
Bronze 48 posts since
Apr 30, 2006
Currently Being Moderated

Apr 9, 2008 7:17 AM

Problems connecting to gmail.com

I just upgraded to 3.5.0, and it seems all my gmail contacts have become unreachable. I don't see anything in the error or warning logs about "gmail.com" or "google.com". Any idea how to start debugging this problem?

  • sixthring KeyContributor 3,789 posts since
    Apr 2, 2007
    Currently Being Moderated
    Apr 9, 2008 7:22 AM (in response to Remko Troncon)
    Re: 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.

  • Bronze 2 posts since
    Apr 10, 2008
    Currently Being Moderated
    Apr 10, 2008 12:55 PM (in response to Remko Troncon)
    Re: Problems connecting to gmail.com

    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"

    • Daniel Henninger Gold 2,953 posts since
      Aug 10, 2005
      Currently Being Moderated
      Apr 10, 2008 3:53 PM (in response to fidojones)
      Re: Problems connecting to gmail.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...

      • Ivan Bronze 30 posts since
        Feb 7, 2007
        Currently Being Moderated
        Apr 10, 2008 10:14 PM (in response to Daniel Henninger)
        Re: Problems connecting to gmail.com

        not only gmail.com

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

        • Daniel Henninger Gold 2,953 posts since
          Aug 10, 2005
          Currently Being Moderated
          Apr 11, 2008 7:05 AM (in response to Ivan)
          Re: Problems connecting to gmail.com

          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.

          • Stefan Reuter KeyContributor 327 posts since
            Aug 3, 2005
            Currently Being Moderated
            Apr 12, 2008 11:32 AM (in response to Daniel Henninger)
            Re: Problems connecting to gmail.com

            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.

            Attachments:
          • Ivan Bronze 30 posts since
            Feb 7, 2007
            Currently Being Moderated
            Apr 12, 2008 1:46 PM (in response to Daniel Henninger)
            Re: Problems connecting to gmail.com

            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)

          • Ivan Bronze 30 posts since
            Feb 7, 2007
            Currently Being Moderated
            Apr 12, 2008 1:48 PM (in response to Daniel Henninger)
            Re: Problems connecting to gmail.com

            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.230,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.230,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

  • Richard Wooding Bronze 11 posts since
    Apr 15, 2008
    Currently Being Moderated
    Apr 15, 2008 2:25 AM (in response to Remko Troncon)
    Re: Problems connecting to gmail.com

     

    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.

     

     

More Like This

  • Retrieving data ...

Bookmarked By (0)

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points