powered by Jive Software

Connection reset

Smack Version:4.2.4

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

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

This is the message i am getting in the client

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.