Hi.
I'm experimenting with Vysper S2S, for an application where I will send
business data in xmpp between servers (I'm implementing an existing
protocol). In my network, there won't be any xmpp clients, only servers
and S2S connections.
I initially tried Vysper connecting to a prosody server, but wasn't able
to see the dialback handshake complete (see
http://www.mail-archive.com/[email protected]/msg05153.html)
I'm now experimenting with S2S between two Vysper instances. This
connects, but after the handshake all my messages seem to be returned
with error codes. For Ping, I see:
<iq xmlns="jabber:client" id="xmppping-1028a464-dff8-455e-8d70-63fe76ee137f"
to="local.co.uk" from="remote.co.uk" type="error">
<ping xmlns="urn:xmpp:ping"></ping>
<error type="cancel">
<service-unavailable
xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"></service-unavailable>
<text xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"
xml:lang="en_US">namespace not supported</text>
</error>
</iq>
Is this expected for a server-to-server connection?
Cheers,
Dave
The full log of the request and response is:
2013-06-08 01:31:33 FINE org.slf4j.impl.JCLLoggerAdapter debug Session
Client[2](SSL): Writing Message : WriteRequest: HeapBuffer[pos=0 lim=177
cap=256: 3C 69 71 20 78 6D 6C 6E 73 3D 22 6A 61 62 62 65...]
2013-06-08 01:31:33 FINE org.slf4j.impl.JCLLoggerAdapter debug Session
Client[2](SSL): Writing Message : MessageWriteRequest, parent : WR
WrapperWriteRequest: [ prolog=false, open=true, close=true,
content=true,
stanza=[iq.id='xmppping-da6fb6a9-611f-4157-88b6-845d6f56f8c0'.to='remote.co.uk'.from='local.co.uk'.type='get'.ping.xmlns='urn:xmpp:ping']
2013-06-08 01:31:33 FINE org.slf4j.impl.JCLLoggerAdapter debug > <iq
xmlns="jabber:server" from="local.co.uk" to="remote.co.uk" type="get"
id="xmppping-da6fb6a9-611f-4157-88b6-845d6f56f8c0"><ping
xmlns="urn:xmpp:ping"></ping></iq>
2013-06-08 01:31:33 FINE org.slf4j.impl.JCLLoggerAdapter debug Session
Client[2](SSL): Message received : HeapBuffer[pos=0 lim=421 cap=512: 17
03 01 01 A0 A8 F1 A0 51 DD C7 84 5B E4 53 06...]
2013-06-08 01:31:33 FINE org.slf4j.impl.JCLLoggerAdapter debug Session
Client[2](SSL) Processing the received message
2013-06-08 01:31:33 FINE org.slf4j.impl.JCLLoggerAdapter debug Session
Client[2](SSL): Processing the SSL Data
2013-06-08 01:31:33 FINE org.slf4j.impl.JCLLoggerAdapter debug
Processing a MESSAGE_RECEIVED for session 2
2013-06-08 01:31:33 FINE org.slf4j.impl.JCLLoggerAdapter debug Decoder
writing stanza: <iq xmlns="jabber:client"
id="xmppping-da6fb6a9-611f-4157-88b6-845d6f56f8c0" to="local.co.uk"
from="remote.co.uk" type="error"><ping
xmlns="urn:xmpp:ping"></ping><error type="cancel"><service-unavailable
xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"></service-unavailable><text
xmlns="urn:ietf:params:xml:ns:xmpp-stanzas" xml:lang="en_US">namespace
not supported</text></error></iq>
2013-06-08 01:31:33 FINE org.slf4j.impl.JCLLoggerAdapter debug < <iq
xmlns="jabber:client" id="xmppping-da6fb6a9-611f-4157-88b6-845d6f56f8c0"
to="local.co.uk" from="remote.co.uk" type="error"><ping
xmlns="urn:xmpp:ping"></ping><error type="cancel"><service-unavailable
xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"></service-unavailable><text
xmlns="urn:ietf:params:xml:ns:xmpp-stanzas" xml:lang="en_US">namespace
not supported</text></error></iq>
2013-06-08 01:31:43 FINE org.slf4j.impl.JCLLoggerAdapter debug XMPP
server connector to remote.co.uk timed out, closing