YevgenAntsybor / jabber-net

Automatically exported from code.google.com/p/jabber-net
Other
0 stars 0 forks source link

Jabber-net does not work with Openfire on Windows 8 Pro #131

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Run the Example.exe in the installation files
2. Type the username, password, server and network host of a remote Openfire 
server 3.7.1 on Ubuntu Server 10.04
3. Observe the debug log

What is the expected output? What do you see instead?
On a windows 7 machine, Example.exe works as expected (was able to connect to 
the openfire server and see the list of users)

The debug view shows the following and keeps going on:

SEND: <stream:stream xmlns:stream="http://etherx.jabber.org/streams" 
id="9db908cd" xmlns="jabber:client" to="poweredge2850" version="1.0">
RECV: <?xml version='1.0' encoding='UTF-8'?><stream:stream 
xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:client" 
from="poweredge2850" id="18c1a6be" xml:lang="en" version="1.0">
RECV: <stream:features><starttls 
xmlns="urn:ietf:params:xml:ns:xmpp-tls"></starttls><mechanisms 
xmlns="urn:ietf:params:xml:ns:xmpp-sasl"><mechanism>DIGEST-MD5</mechanism><mecha
nism>PLAIN</mechanism><mechanism>ANONYMOUS</mechanism><mechanism>CRAM-MD5</mecha
nism></mechanisms><compression 
xmlns="http://jabber.org/features/compress"><method>zlib</method></compression><
auth xmlns="http://jabber.org/features/iq-auth"/><register 
xmlns="http://jabber.org/features/iq-register"/></stream:features>
SEND: <starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls" />
RECV: <proceed xmlns="urn:ietf:params:xml:ns:xmpp-tls"/>
SEND: <stream:stream xmlns:stream="http://etherx.jabber.org/streams" 
id="27fc78ee" xmlns="jabber:client" to="poweredge2850" version="1.0">
RECV: <?xml version='1.0' encoding='UTF-8'?><stream:stream 
xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:client" 
from="poweredge2850" id="18c1a6be" xml:lang="en" 
version="1.0"><stream:features><mechanisms 
xmlns="urn:ietf:params:xml:ns:xmpp-sasl"><mechanism>DIGEST-MD5</mechanism><mecha
nism>PLAIN</mechanism><mechanism>ANONYMOUS</mechanism><mechanism>CRAM-MD5</mecha
nism></mechanisms><compression 
xmlns="http://jabber.org/features/compress"><method>zlib</method></compression><
auth xmlns="http://jabber.org/features/iq-auth"/><register 
xmlns="http://jabber.org/features/iq-register"/></stream:features>
SEND: <compress 
xmlns="http://jabber.org/protocol/compress"><method>zlib</method></compress>
RECV: <compressed xmlns='http://jabber.org/protocol/compress'/>
SEND: <stream:stream xmlns:stream="http://etherx.jabber.org/streams" 
id="5dedfabc" xmlns="jabber:client" to="poweredge2850" version="1.0">

and keeps going....

On the Windows 8 machine, the Example.exe could not connect to the same 
Openfire Server and the debug stops at the line below:

SEND: <stream:stream xmlns:stream="http://etherx.jabber.org/streams" 
id="844367a4" xmlns="jabber:client" to="poweredge2850" version="1.0">
RECV: <?xml version='1.0' encoding='UTF-8'?><stream:stream 
xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:client" 
from="poweredge2850" id="423878a7" xml:lang="en" version="1.0">
RECV: <stream:features><starttls 
xmlns="urn:ietf:params:xml:ns:xmpp-tls"></starttls><mechanisms 
xmlns="urn:ietf:params:xml:ns:xmpp-sasl"><mechanism>DIGEST-MD5</mechanism><mecha
nism>PLAIN</mechanism><mechanism>ANONYMOUS</mechanism><mechanism>CRAM-MD5</mecha
nism></mechanisms><compression 
xmlns="http://jabber.org/features/compress"><method>zlib</method></compression><
auth xmlns="http://jabber.org/features/iq-auth"/><register 
xmlns="http://jabber.org/features/iq-register"/></stream:features>
SEND: <starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls" />
RECV: <proceed xmlns="urn:ietf:params:xml:ns:xmpp-tls"/>

What version of the product are you using? On what operating system?
I'm using the latest version of the jabber-net.  Tested working on Windows 7 
but not on Windows 8.

Please provide any additional information below.

I tried Ejabberd server and jabber-net on both Windows 7 and Windows 8 works!  

Original issue reported on code.google.com by guitarla...@gmail.com on 17 Dec 2012 at 6:41

GoogleCodeExporter commented 8 years ago
It looks like on Windows 8 the client machine just stops sending the request 
after receiving "proceed" signal from the server...

RECV: <proceed xmlns="urn:ietf:params:xml:ns:xmpp-tls"/>

Original comment by guitarla...@gmail.com on 17 Dec 2012 at 6:50