openfire asmack java.lang.IllegalStateException: Not connected to server.错误解决办法
来源:互联网 发布:苏州方正软件 编辑:程序博客网 时间:2024/06/11 03:57
openfire服务器端解决办法:
“服务器设置”--“安全设置”---将“客户端安全联接”中由“非必须”,修改为“自定义”,另外把“旧的SSL方式”和“TLS方式”都设置为无效。
ConnectionConfiguration config = new ConnectionConfiguration(serverHost);
config.setReconnectionAllowed(true);config.setCompressionEnabled(false);
config.setSecurityMode(ConnectionConfiguration.SecurityMode.disabled);
config.setSASLAuthenticationEnabled(false);
0 0
- openfire asmack java.lang.IllegalStateException: Not connected to server.错误解决办法
- xmpp java.lang.IllegalStateException: Not connected to server.
- Caused by: java.lang.IllegalStateException: not connected to MediaScannerSer
- java.lang.IllegalStateException: Already connected
- java.lang.IllegalStateException: ApplicationEventMulticaster not initialized解决办法
- 举例说明android中出现java.lang.IllegalStateException: database not open这种错误的原因及解决办法
- ListFragment错误之java.lang.IllegalStateException: Content view not yet created解决办法
- java.lang.IllegalStateException 解决办法
- java.lang.IllegalStateException解决办法
- Android错误之 java.lang.IllegalStateException: System services not available to Activities before onC
- java.lang.IllegalStateException: Immutable bitmap passed to Canvas constructor错误解决办法
- java.lang.IllegalStateException: buildToolsVersion is not specified.解决办法
- java.lang.IllegalStateException: Fragment not attached to Activity 解决
- java.lang.IllegalStateException: Fragment not attached to Activity
- 解决java.lang.IllegalStateException: Fragment not attached to Activity
- Fragment抛出java.lang.IllegalStateException: Fragment not attached to Activity
- Fragment抛出java.lang.IllegalStateException: Fragment not attached to Activity
- java.lang.IllegalStateException: Failed to load ApplicationContext解决办法
- rsync+inotify 进行数据同步
- 长按tableViewCell弹出复制、黏贴菜单
- android网络通信本质分析
- MongoDB:用户认证
- 一致性hash分片
- openfire asmack java.lang.IllegalStateException: Not connected to server.错误解决办法
- Android系统详解之获取图片和视频的缩略图
- ACM-背包问题Bone Collector&&饭卡
- TCP/IP相关知识复习与总结(https/网络程序性能分析)
- Installing PEAR on OSX
- c/c++ error:GetAdaptersInfo调用失败后重复调用,导致内存溢出
- Spring mvc GET请求中文乱码问题
- android sim卡 TelephonyManager类:Android手机及Sim卡状态的获取
- 【机器学习快讯】20150128机器学习快讯