Quantcast
Channel: Ignite Realtime: Message List
Viewing all articles
Browse latest Browse all 12000

Re: Problem with org.jivesoftware.smack.sasl.SASLErrorException: SASLError using DIGEST-MD5: not-authorized

$
0
0

Good stuff man.

 

    public final static String SERVER_ADDRESS = "192.168.19.50";

    public final static String SERVER_HOST = "local.server";

 

        final XMPPTCPConnectionConfiguration connectionConfiguration = XMPPTCPConnectionConfiguration.builder()

                .setServiceName(SERVER_HOST)

                .setHost(SERVER_ADDRESS)

                .setPort(SERVER_PORT)

                .setCompressionEnabled(false)

                .setDebuggerEnabled(true)

                .setSecurityMode(ConnectionConfiguration.SecurityMode.disabled)

                .build();

 

You both were right.

It seems that you can connect to the server with Address, but you need Host for authentication on the server.

Is that right?


Viewing all articles
Browse latest Browse all 12000

Trending Articles