alexishughes / jabber-net

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

sasl.athenticationfailedexception #148

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Unknown, Server has a self-signed cert, but SASL auth fails.
2.
3.

What is the expected output? What do you see instead?
Authentication good. 
Saw jabber.connection.sasl.AuthenticationFailedException: Error binding 
resource: <error type="cancel"><service-unavailable xmlns="..."/>

What version of the product are you using? On what operating system?
latest SVN

Please provide any additional information below.
I cannot to any server (other than facebook? I am not sure. I have the 
bedrock.net.socket.untrustedroot = true enabled also.

Original issue reported on code.google.com by mitchell...@gmail.com on 20 Jan 2015 at 7:32

GoogleCodeExporter commented 8 years ago
You must use:
    Private Function JabberClient1_OnInvalidCertificate(sender As Object, certificate As Security.Cryptography.X509Certificates.X509Certificate, chain As Security.Cryptography.X509Certificates.X509Chain, sslPolicyErrors As Net.Security.SslPolicyErrors) Handles jc.OnInvalidCertificate
        Return True
    End Function

As well.

Original comment by mitchell...@gmail.com on 29 Jul 2015 at 7:11