Not logged in. · Lost password · Register
Forum: MatriX RSS
Avatar
vishwa #1
Member since May 2013 · 22 posts
Group memberships: Members
Show profile · Link to this post
Subject: Login fails on windows 8
Hi,

I am unable to login in windows 8. After execution of xmppClient.Open() , after 2-3 mintues, OnClose() is call automatically.

Please help me to resolve this issue.

Thanks
Vishwa
Avatar
Alex #2
Member since Feb 2003 · 4322 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
Please post your Xml logs.
We have not seen any issues on Windows 8 yet.
Avatar
vishwa #3
Member since May 2013 · 22 posts
Group memberships: Members
Show profile · Link to this post
Hi,

Following log is generated

7/19/2013 4:48:54 AM: Send : <stream:stream xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:client" version="1.0" >

7/19/2013 4:48:54 AM: Receive : <stream:stream xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:client" from="slim2" id="dde28e71" xml:lang="en" version="1.0" >

7/19/2013 4:48:55 AM: Receive : <stream:features xmlns:stream="http://etherx.jabber.org/streams">
  <starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls" />
  <mechanisms xmlns="urn:ietf:params:xml:ns:xmpp-sasl">
    <mechanism>DIGEST-MD5</mechanism>
    <mechanism>PLAIN</mechanism>
    <mechanism>ANONYMOUS</mechanism>
    <mechanism>CRAM-MD5</mechanism>
  </mechanisms>
  <compression xmlns="http://jabber.org/features/compress">
    <method>zlib</method>
  </compression>
  <auth xmlns="http://jabber.org/features/iq-auth" />
</stream:features>

7/19/2013 4:48:55 AM: Send : <starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls" />

7/19/2013 4:48:55 AM: Receive : <proceed xmlns="urn:ietf:params:xml:ns:xmpp-tls" />


Thanks
Vishwa
Avatar
Alex #4
Member since Feb 2003 · 4322 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
there seems to be a problem with updating the connection to a secure TLS connection.
Are you on Win8 or Win8.1?

On Win8.1 there are TLS issues with some servers because Microsoft deprectated RC4 by default.
See here under "Security":
http://technet.microsoft.com/en-us/library/dn303404.aspx
Avatar
vishwa #5
Member since May 2013 · 22 posts
Group memberships: Members
Show profile · Link to this post
I am using windows 8. And running the windows 8 on virtual machine.
Avatar
Alex #6
Member since Feb 2003 · 4322 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
Try some other Win8 machines then. Maybe its a problem with your virtual machine.
Or disable TLS by using StartTls = false, but this is not recommended.
Avatar
vishwa #7
Member since May 2013 · 22 posts
Group memberships: Members
Show profile · Link to this post
In reply to post #5
Thanks,

After making xmppClient.StartTls = false, login succeded. but why disable TLS is not recommended.
Avatar
Alex #8
Member since Feb 2003 · 4322 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
because TLS is encryping all your XMPP traffic. TLS on XMPP is like HTTPS on HTTP.

Alex
Avatar
vishwa #9
Member since May 2013 · 22 posts
Group memberships: Members
Show profile · Link to this post
Application should run in both windows 7 and 8. How can we login in windows 8 , by keeping tsl on.
Avatar
Alex #10
Member since Feb 2003 · 4322 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
I have no idea whats going wrong on your Windows 8 installation. As I said before none of our customers has ever reported a problem under Windows 8. And I have also not seen any problems on Windows 8 yet. We have 2 developer machines on Windows 8 and everything runs fine there.
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Forum: MatriX RSS