powered by Jive Software

Connection reset

android

#1

Smack Version:4.2.4
Android

Connection XMPPTCPConnection[somenumber@localhost/620212AE0E0E96121524811371631281] (0) closed with error
java.net.SocketException: Connection reset

Whenever i connect to server and try to send a message, the gets reseted with an exception that is above


#2

Is that a log from the server or from the client?
Are you running the server on the same device as the client?


#3

This is the message i am getting in the client


#4

This is likely caused by the remote endpoint, the XMPP server, closing the connection. If I had to bet, I’d say that it does so because you send invalid XML.

You probably want to look at the server logs.