The policy-violation exception is working now. Following shows what is being feedback. Quite a mouth full for user to read.
Thanks for the effort.
01-08 16:08:24.235 org.atalk.android D/SMACK: SENT (1): <stream:stream xmlns=‘jabber:client’ to=‘jab.com’ xmlns:stream=‘http://etherx.jabber.org/streams’ version=‘1.0’ xml:lang=‘en’>
01-08 16:08:24.665 org.atalk.android D/SMACK: RECV (1): <?xml version='1.0'?><stream:stream xmlns=‘jabber:client’ xmlns:stream=‘http://etherx.jabber.org/streams’ id=‘11641259353516965609’ from=‘jab.com’ version=‘1.0’ xml:lang=‘en’>stream:errorToo many (2) failed authentications from this IP address (xxx.xx.84.204). The address will be unblocked at 08:27:22 08.01.2017 UTC</stream:error></stream:stream>
01-08 16:08:24.675 org.atalk.android W/αTalk: [5] org.jivesoftware.smack.AbstractXMPPConnection.callConnectionClosedOnErrorListen er() Connection XMPPTCPConnection[not-authenticated] (1) closed with error
org.jivesoftware.smack.XMPPException$StreamErrorException: policy-violation You can read more about the meaning of this stream error at http://xmpp.org/rfcs/rfc6120.html#streams-error-conditions
stream:errorToo many (2) failed authentications from this IP address (115.66.84.204). The address will be unblocked at 08:27:22 08.01.2017 UTC</stream:error>
at org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketReader.parsePackets(XMPPTCPC onnection.java:1044)
at org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketReader.access$300(XMPPTCPCon nection.java:979)
at org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketReader$1.run(XMPPTCPConnecti on.java:994)
at java.lang.Thread.run(Thread.java:818)
