Projects tigase _server server-core Issues #1546
Tigase server throws not-well-formed stream error (#1546)
mdosch opened 3 weeks ago

Dear Tigase dev,

when using go-sendxmpp (version 0.12.1 or development version) with tigase server, the tigase server often returns a not-well-formed stream error. As I struggle to see what my client is doing wrong, I open the issue to further track down where the error lies.

fortune|./go-sendxmpp -du mdosch@tigase.im -p$(pass xmpp/mdosch@tigase.im) --al
low-plain martin@mdosch.de 
<?xml version='1.0'?><stream:stream to='tigase.im' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' version='1.0'>
<?xml version='1.0'?><stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' from='tigase.im' id='32b92f06-8f56-44a9-8967-286f7574844c' version='1.0' xml:lang='en'>
<stream:features><pipelining  xmlns="urn:xmpp:features:pipelining"/><starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls"><required/></starttls><compression xmlns="http://jabber.org/features/compress"><method>zlib</method></compression></stream:features>
<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
<proceed xmlns="urn:ietf:params:xml:ns:xmpp-tls"/>
<?xml version='1.0'?><stream:stream from='mdosch@tigase.im' to='tigase.im' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' version='1.0'>
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='tigase-error-tigase' from='tigase.im' version='1.0' xml:lang='en'><stream:error><see-other-host xmlns="urn:ietf:params:xml:ns:xmpp-streams">ec2-54-189-207-239.us-west-2.compute.amazonaws.com</see-other-host></stream:error></stream:stream>
<?xml version='1.0'?><stream:stream to='tigase.im' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' version='1.0'>
<?xml version='1.0'?><stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' from='tigase.im' id='d6da1170-678d-4f23-b52d-d7e494002902' version='1.0' xml:lang='en'>
<stream:features><pipelining  xmlns="urn:xmpp:features:pipelining"/><starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls"><required/></starttls><compression xmlns="http://jabber.org/features/compress"><method>zlib</method></compression></stream:features>
<?xml version='1.0'?><stream:stream from='mdosch@tigase.im' to='tigase.im' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' version='1.0'>
<?xml version='1.0'?><stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' from='tigase.im' id='3a452f38-43fa-4711-9295-48612b1d0b30' version='1.0' xml:lang='en'>
<stream:features><pipelining  xmlns="urn:xmpp:features:pipelining"/><auth xmlns="http://jabber.org/features/iq-auth"/><mechanisms xmlns="urn:ietf:params:xml:ns:xmpp-sasl"><mechanism>PLAIN</mechanism></mechanisms><register xmlns="http://jabber.org/features/iq-register"/><compression xmlns="http://jabber.org/features/compress"><method>zlib</method></compression></stream:features>
<success xmlns="urn:ietf:params:xml:ns:xmpp-sasl"/>
<?xml version='1.0'?><stream:stream from='mdosch@tigase.im' to='tigase.im' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' version='1.0'>
<?xml version='1.0'?><stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' from='tigase.im' id='3a452f38-43fa-4711-9295-48612b1d0b30' version='1.0' xml:lang='en'>
<stream:features><sm xmlns="urn:xmpp:sm:3"/><pipelining  xmlns="urn:xmpp:features:pipelining"/><register xmlns="http://jabber.org/features/iq-register"/><csi xmlns="urn:xmpp:csi:0"/><ver xmlns="urn:xmpp:features:rosterver"/><sub xmlns="urn:xmpp:features:pre-approval"/><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"/><session xmlns="urn:ietf:params:xml:ns:xmpp-session"><optional/></session><c ver="Q9k3Kk1U31Sp7XC7bCm4Q11CapM=" xmlns="http://jabber.org/protocol/caps" hash="SHA-1" node="https://tigase.net/tigase-xmpp-server"/></stream:features>
<iq type='set' id='f85eda70d0e662d5'><bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'><resource>go-sendxmpp.c8d4c5</resource></bind></iq>
<iq to="mdosch@tigase.im/go-sendxmpp.c8d4c5" xmlns="jabber:client" type="result" id="f85eda70d0e662d5"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><jid>mdosch@tigase.im/go-sendxmpp.c8d4c5</jid></bind></iq>
<presence xml:lang='en'><show></show><status></status></presence>
<message to='martin@mdosch.de' type='chat' id='bdb2dc7a22a4d3d4' xml:lang='en'><body>Wenn man auf meinen Grabstein eines Tages nur &#34;Hamburg &#39;74&#34; schreibt,&#xA;weiß jeder, wer da drunterliegt.&#xA;&#x9;&#x9;-- Jürgen Sparwasser</body></message>
</stream:stream>
<stream:error xmlns:stream="http://etherx.jabber.org/streams"><not-well-formed xmlns="urn:ietf:params:xml:ns:xmpp-streams"/></stream:error>
issue 1 of 1
Type
Bug
Priority
Normal
Assignee
Version
none
Sprints
n/a
Customer
n/a
Issue Votes (0)
Watchers (3)
Reference
tigase/_server/server-core#1546
Please wait...
Page is in error, reload to recover