Okay.  So, I've got a test id on wavesandbox and I'm giving things a more in
depth whirl.

I start up my wave server.  It is running changeset:   117:37ee5072274b.
connected to an openfire server 3.6.4 on the same server, using Java Version
1.6.0_0 Sun Microsystems.  I have WAVESERVER_DISABLE_VERIFICATION=false and
WAVESERVER_DISABLE_SIGNER_VERIFICATION=false

I am using a certificate that I got from CAcert.org

The key problem that I seem to be having is a timeout from
wave.wavesandbox.com  (Down at the bottom of the posted logs).  Is there
some reason wave.wavesandbox.com can't reply to my requests?  Any thoughts
on what is going on, or how to more effectively debug this would be
appreciated.

Aldon

The server seems to start up okay:

Nov 3, 2009 2:36:25 PM
org.waveprotocol.wave.examples.fedone.waveserver.WaveServerImpl <init>
INFO: Wave Server configured to host local domains: [orient-lodge.com]
Nov 3, 2009 2:36:25 PM
org.waveprotocol.wave.examples.fedone.ServerMain$RpcInetSocketAddressFactory
<init>
INFO: Starting client frontend on host: orient-lodge.com port: 9876
Yes, this is an open server, feel free to try and connect, but let me know
what happens
Nov 3, 2009 2:36:26 PM
org.waveprotocol.wave.examples.fedone.federation.xmpp.WaveXmppComponent
initialize
INFO: initializing with JID: wave.orient-lodge.com
Nov 3, 2009 2:36:26 PM
org.waveprotocol.wave.examples.fedone.federation.xmpp.WaveXmppComponent
start
INFO: connected to XMPP server with JID: wave.orient-lodge.com
Nov 3, 2009 2:36:26 PM
org.waveprotocol.wave.examples.fedone.federation.xmpp.XmppDisco
sendDiscoItemsGet
INFO: Trying to discover remote server: initech-corp.com
Hmm, Why is it trying to connect to initech?
Nov 3, 2009 2:36:26 PM
org.waveprotocol.wave.examples.fedone.federation.xmpp.WaveXmppComponent
processPacket
INFO: received XMPP packet:

<iq type="get" id="434-2" from="component.orient-lodge.com"
to="wave.orient-lodge.com">
  <query xmlns="http://jabber.org/protocol/disco#info"/>
</iq>
Nov 3, 2009 2:36:26 PM
org.waveprotocol.wave.examples.fedone.federation.xmpp.WaveXmppComponent
processIqPacket
INFO: key for this error is
org.xmpp.packet.IQ:component.orient-lodge.com:434-2
Nov 3, 2009 2:36:26 PM
org.waveprotocol.wave.examples.fedone.federation.xmpp.WaveXmppComponent
sendPacket
INFO: sent XMPP packet:
<iq type="result" id="434-2" from="wave.orient-lodge.com"
to="component.orient-lodge.com">
  <query xmlns="http://jabber.org/protocol/disco#info";>
    <identity category="collaboration" type="google-wave" name="Google
Prototype Wave Server - FedOne"/>
    <feature var="http://waveprotocol.org/protocol/0.2/waveserver"/>
  </query>
</iq>
Nov 3, 2009 2:36:26 PM
org.waveprotocol.wave.examples.fedone.federation.xmpp.WaveXmppComponent
sendPacket
INFO: sent XMPP packet:
<iq type="get" id="5939-0" to="initech-corp.com"
from="wave.orient-lodge.com">
  <query xmlns="http://jabber.org/protocol/disco#items"/>
</iq>
Nov 3, 2009 2:36:26 PM
org.waveprotocol.wave.examples.fedone.federation.xmpp.WaveXmppComponent
sendPacket
INFO: key for this error is org.xmpp.packet.IQ:initech-corp.com:5939-0
Nov 3, 2009 2:36:26 PM org.waveprotocol.wave.examples.fedone.ServerMain run
INFO: Starting server
Nov 3, 2009 2:36:27 PM
org.waveprotocol.wave.examples.fedone.federation.xmpp.WaveXmppComponent
processPacket
INFO: received XMPP packet:

<iq type="error" id="5939-0" to="wave.orient-lodge.com"
from="initech-corp.com">
  <query xmlns="http://jabber.org/protocol/disco#items"/>
  <error code="404" type="cancel">
    <remote-server-not-found xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"/>
  </error>
</iq>
I am guessing that I'm getting the 404 from initech, because it should be
checking wave.initech-corp.com instead of just initech-corp.com
Nov 3, 2009 2:36:27 PM
org.waveprotocol.wave.examples.fedone.federation.xmpp.WaveXmppComponent
processIqPacket
INFO: key for this error is org.xmpp.packet.IQ:initech-corp.com:5939-0
Nov 3, 2009 2:36:27 PM
org.waveprotocol.wave.examples.fedone.federation.xmpp.WaveXmppComponent
sendPacket
INFO: sent XMPP packet:
<iq type="get" id="5379-1" to="wave.initech-corp.com"
from="wave.orient-lodge.com">
  <query xmlns="http://jabber.org/protocol/disco#info"/>
</iq>
Nov 3, 2009 2:36:27 PM
org.waveprotocol.wave.examples.fedone.federation.xmpp.WaveXmppComponent
sendPacket
INFO: key for this error is org.xmpp.packet.IQ:wave.initech-corp.com:5379-1
Nov 3, 2009 2:36:29 PM
org.waveprotocol.wave.examples.fedone.federation.xmpp.WaveXmppComponent
processPacket
INFO: received XMPP packet:
Nov 3, 2009 2:36:29 PM
org.waveprotocol.wave.examples.fedone.federation.xmpp.WaveXmppComponent
processPacket
INFO: received XMPP packet:

<iq type="error" id="5379-1" to="wave.orient-lodge.com"
from="wave.initech-corp.com">
  <query xmlns="http://jabber.org/protocol/disco#info"/>
  <error code="404" type="cancel">
    <remote-server-not-found xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"/>
  </error>
</iq>
Nov 3, 2009 2:36:29 PM
org.waveprotocol.wave.examples.fedone.federation.xmpp.WaveXmppComponent
processIqPacket
INFO: key for this error is org.xmpp.packet.IQ:wave.initech-corp.com:5379-1
Nov 3, 2009 2:36:29 PM
org.waveprotocol.wave.examples.fedone.federation.xmpp.XmppDisco$DiscoItemIte
rator run
INFO: Couldn't find wave on initech-corp.com
initech-corp.com does not appear to have wave
Well, that's okay.  I didn't really want to talk to initech-corp.com anyway,
but is this right?

I create a new wave, which works fine  (I'll skip over log information
unless people really want it)

Then using the client-console, I attempt
/add [email protected]

It goes through the same sort of machinations of attempting to discover
wavesandbox.com and then wave.wavesandbox.com

I get:

INFO: sent XMPP packet:
<iq type="get" id="7644-3" to="wave.wavesandbox.com"
from="wave.orient-lodge.com">
  <query xmlns="http://jabber.org/protocol/disco#info"/>
</iq>
Nov 3, 2009 2:39:51 PM
org.waveprotocol.wave.examples.fedone.federation.xmpp.WaveXmppComponent
sendPacket
INFO: key for this error is org.xmpp.packet.IQ:wave.wavesandbox.com:7644-3
Nov 3, 2009 2:45:51 PM
org.waveprotocol.wave.examples.fedone.federation.xmpp.WaveXmppComponent
processPacket
INFO: received XMPP packet:

<iq type="error" id="7644-3" to="wave.orient-lodge.com"
from="wave.wavesandbox.com">
  <query xmlns="http://jabber.org/protocol/disco#info"/>
  <error code="404" type="cancel">
    <remote-server-not-found xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"/>
  </error>
</iq>
Nov 3, 2009 2:45:51 PM
org.waveprotocol.wave.examples.fedone.federation.xmpp.WaveXmppComponent
processIqPacket
INFO: key for this error is org.xmpp.packet.IQ:wave.wavesandbox.com:7644-3
Nov 3, 2009 2:45:51 PM
org.waveprotocol.wave.examples.fedone.federation.xmpp.XmppDisco$DiscoItemIte
rator run
INFO: Couldn't find wave on wavesandbox.com
Nov 3, 2009 2:45:51 PM
org.waveprotocol.wave.examples.fedone.federation.xmpp.XmppFederationHostForD
omain$1 run
SEVERE: wavesandbox.com does not appear to have wave

Looking at the XMPP debug files from Openfire, I get

2009.11.03 14:39:51 LocalOutgoingServerSession: OS - Trying to connect to
wave.wavesandbox.com:5269(DNS lookup: xmpp-server.l.google.com:5268)
2009.11.03 14:39:51 LocalOutgoingServerSession: OS - Plain connection to
wave.wavesandbox.com:5269 successful
2009.11.03 14:39:51 LocalOutgoingServerSession: OS - About to try connecting
using server dialback XMPP 1.0 with: wave.wavesandbox.com
2009.11.03 14:39:51 ServerDialback: OS - Sent dialback key to host:
wave.wavesandbox.com id: 513635D0974756D0 from domain: wave.orient-lodge.com
2009.11.03 14:40:11 OutgoingServerSocketReader: Finishing Outgoing Server
Reader. No session to close.
java.io.EOFException: no more data available - expected end tag
</stream:stream> to close start tag <stream:stream> from line 1, parser
stopped on END_TAG seen ...<dialback
xmlns="urn:xmpp:features:dialback"/></stream:features>... @1:264
at org.xmlpull.mxp1.MXParser.fillBuf(MXParser.java:3035)
at org.xmlpull.mxp1.MXParser.more(MXParser.java:3046)
at org.jivesoftware.openfire.net.MXParser.nextImpl(MXParser.java:76)
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(OutgoingSe
rverSocketReader.java:93)
2009.11.03 14:41:51 ServerDialback: OS - Time out waiting for answer in
validation from: wave.wavesandbox.com id: 513635D0974756D0 for domain:
wave.orient-lodge.com
2009.11.03 14:41:51 LocalOutgoingServerSession: OS - Error, SERVER DIALBACK
with wave.wavesandbox.com failed
2009.11.03 14:41:51 LocalOutgoingServerSession: OS - Going to try connecting
using server dialback with: wave.wavesandbox.com
2009.11.03 14:41:51 ServerDialback: OS - Trying to connect to
wave.wavesandbox.com:5269(DNS lookup: xmpp-server4.l.google.com:5268)
2009.11.03 14:41:51 ServerDialback: OS - Connection to
wave.wavesandbox.com:5269 successful
2009.11.03 14:41:51 ServerDialback: OS - Sent dialback key to host:
wave.wavesandbox.com id: 8DB1E599090808FE from domain: wave.orient-lodge.com
2009.11.03 14:42:11 OutgoingServerSocketReader: Finishing Outgoing Server
Reader. No session to close.
java.io.EOFException: no more data available - expected end tag
</stream:stream> to close start tag <stream:stream> from line 1, parser
stopped on START_TAG seen .../streams" xmlns="jabber:server"
xmlns:db="jabber:server:dialback">... @1:141
at org.xmlpull.mxp1.MXParser.fillBuf(MXParser.java:3035)
at org.xmlpull.mxp1.MXParser.more(MXParser.java:3046)
at org.jivesoftware.openfire.net.MXParser.nextImpl(MXParser.java:76)
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(OutgoingSe
rverSocketReader.java:93)
2009.11.03 14:43:51 ServerDialback: OS - Time out waiting for answer in
validation from: wave.wavesandbox.com id: 8DB1E599090808FE for domain:
wave.orient-lodge.com
2009.11.03 14:43:51 LocalOutgoingServerSession: OS - Trying to connect to
wavesandbox.com:5269(DNS lookup: wavesandbox.com:5269)
2009.11.03 14:45:51 OutgoingSessionPromise: Error sending packet to remote
server:
<iq type="get" id="7644-3" to="wave.wavesandbox.com"
from="wave.orient-lodge.com">
<query xmlns="http://jabber.org/protocol/disco#info"/>
</iq>
java.lang.Exception: Failed to create connection to remote server
at
org.jivesoftware.openfire.server.OutgoingSessionPromise$PacketsProcessor.sen
dPacket(OutgoingSessionPromise.java:252)
at
org.jivesoftware.openfire.server.OutgoingSessionPromise$PacketsProcessor.run
(OutgoingSessionPromise.java:216)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:11
10)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:6
03)
at java.lang.Thread.run(Thread.java:636)
2009.11.03 14:51:12 Set parameter http.connection.timeout = 3000
2009.11.03 14:51:12 Set parameter http.socket.timeout = 3000

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Wave 
Protocol" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/wave-protocol?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to