本文主要是介绍XMPP Smack4.3.4 android端接入异常问题处理,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
一.登录时Too many (20) failed authentications异常
1.1 异常log
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:error><policy-violation xmlns='urn:ietf:params:xml:ns:xmpp-streams'/><text xml:lang='en'>Too many (20) failed authentications from this IP address (::ffff:113.88.132.28).The address will be unblocked at at 01:40:03 25.03.2020 UTC
1.2解决办法
IP被服务端加入黑名单了,需要服务端清理
二.Ping时javax.net.ssl.SSLException: Read error异常
2.1 异常log
D/SMACK: SENT (0): <iq to='im.demo.aiframe.net' id='UbyV1-113' type='get'><ping xmlns=
这篇关于XMPP Smack4.3.4 android端接入异常问题处理的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!