openfire Unsupported record version Unknown-47.115
错误日志:
写道
javax.net.ssl.SSLException: Unsupported record version Unknown-47.115
at sun.security.ssl.EngineInputRecord.bytesInCompletePacket(EngineInputRecord.java:116)
at sun.security.ssl.SSLEngineImpl.readNetRecord(SSLEngineImpl.java:845)
at sun.security.ssl.SSLEngineImpl.unwrap(SSLEngineImpl.java:758)
at javax.net.ssl.SSLEngine.unwrap(SSLEngine.java:624)
at org.jivesoftware.openfire.net.TLSStreamHandler.doHandshake(TLSStreamHandler.java:222)
at org.jivesoftware.openfire.net.TLSStreamHandler.start(TLSStreamHandler.java:168)
at org.jivesoftware.openfire.net.SocketConnection.startTLS(SocketConnection.java:182)
at org.jivesoftware.openfire.net.SocketReadingMode.negotiateTLS(SocketReadingMode.java:85)
at org.jivesoftware.openfire.net.BlockingReadingMode.readStream(BlockingReadingMode.java:138)
at org.jivesoftware.openfire.net.BlockingReadingMode.run(BlockingReadingMode.java:76)
at org.jivesoftware.openfire.net.SocketReader.run(SocketReader.java:137)
at java.lang.Thread.run(Thread.java:724)
at sun.security.ssl.EngineInputRecord.bytesInCompletePacket(EngineInputRecord.java:116)
at sun.security.ssl.SSLEngineImpl.readNetRecord(SSLEngineImpl.java:845)
at sun.security.ssl.SSLEngineImpl.unwrap(SSLEngineImpl.java:758)
at javax.net.ssl.SSLEngine.unwrap(SSLEngine.java:624)
at org.jivesoftware.openfire.net.TLSStreamHandler.doHandshake(TLSStreamHandler.java:222)
at org.jivesoftware.openfire.net.TLSStreamHandler.start(TLSStreamHandler.java:168)
at org.jivesoftware.openfire.net.SocketConnection.startTLS(SocketConnection.java:182)
at org.jivesoftware.openfire.net.SocketReadingMode.negotiateTLS(SocketReadingMode.java:85)
at org.jivesoftware.openfire.net.BlockingReadingMode.readStream(BlockingReadingMode.java:138)
at org.jivesoftware.openfire.net.BlockingReadingMode.run(BlockingReadingMode.java:76)
at org.jivesoftware.openfire.net.SocketReader.run(SocketReader.java:137)
at java.lang.Thread.run(Thread.java:724)
借鉴社区答案
http://community.igniterealtime.org/thread/33362
写道
Hey there,
I noticed one line in particular: "root certificate not trusted of", which would mean your certificate validation chain seems to be broken or you don't have the proper root certificates installed for the certificates you are using (in openfire's truststore). Next to that I also noticed some timeouts so it may be a combined problem with poor connectivity and not having the full validation chain available.
You can try setting:
xmpp.server.certificate.verify = false
on both servers, and see if you still get the s2s errors. If not, you should have a look at making sure your certificates are complete, correct, and that the truststore on your servers have the appropriate root certificates and intermediate certificates (if any) installed.
Also, if one or both of the servers are using self-signed certificates, you can try to use:
xmpp.server.certificate.accept-selfsigned = true
to make sure self-signed certificates are considered valid.
Hope this helps,
Mark.
I noticed one line in particular: "root certificate not trusted of", which would mean your certificate validation chain seems to be broken or you don't have the proper root certificates installed for the certificates you are using (in openfire's truststore). Next to that I also noticed some timeouts so it may be a combined problem with poor connectivity and not having the full validation chain available.
You can try setting:
xmpp.server.certificate.verify = false
on both servers, and see if you still get the s2s errors. If not, you should have a look at making sure your certificates are complete, correct, and that the truststore on your servers have the appropriate root certificates and intermediate certificates (if any) installed.
Also, if one or both of the servers are using self-signed certificates, you can try to use:
xmpp.server.certificate.accept-selfsigned = true
to make sure self-signed certificates are considered valid.
Hope this helps,
Mark.
相关推荐
Openfire源码 缺失的jar包- jetty-jmx-8.0.0.M2.jar 。还有其他jar包请查看
Openfire的IM Gateway插件kraken-gateway.jar 版本V1.1.2Openfire的IM Gateway插件kraken-gateway.jar 版本V1.1.2Openfire的IM Gateway插件kraken-gateway.jar 版本V1.1.2
包含Openfire_3_7_1.zip和jwchat-1.0.zip和xalan-j_2_7_0-bin.zip和JabberHTTPBind-1.1.1.zip.
openfire的linux安装版本,下载以后将文件上传到linux某文件夹下面,然后敲“tar –xzvf openfire-3.6.2-1.i386.tar.gz mv openfire /opt”命令完成安装。完成安装以后再敲“/etc/init.d/openfire /etc/init.d/...
openfire 二次开发缺少包coherence-work.jar,coherence.jar,tangosol.jar
ios即时通讯客户端开发之-mac上搭建openfire服务器 - 月光的尽头 - 博客园.webarchive ) 转发
openfire3.10.1源码编译缺少的jar包: jetty-websocket-8.1.17.v20150415 jnsapi mina-core-1.1.7-sources.jar mina-filter-compression-1.1.7-sources.jar mina-filter-ssl-1.1.7-sources.jar mina-filter-ssl.jar ...
Linux环境下的openfire安装包,能够结合spark客户端进行即时通信
openfire是基于XMPP协议的即时通讯框架,spark是pc客户端应用,类似qq客户端。smack提供了与XMPP服务通信的开发库。
coherence.jar,coherence-work.jar,tangosol.jar
openfire-4.3.0-1.x86_64.rpm, 为CentOS 安装 提供,开发即时消息使用
openfire-4.2.3-1.x86_64,linux版本,openfire4.2.3最新版本
openfire服务端
OpenFire源代码配置的时候会有几个目录报错,是由于缺少3个jar包:coherence.jar、coherence-work.jar、tangosol.jar
openfire老版本,3.7rpm版本,可以直接下载来用openfire老版本,3.7rpm版本,可以直接下载来用
因为openfire源码中没有包含coherence-work.jar包,这个包在coherence3.3b版本中可以适用。(3.7版本的太先进,导入会发现有一些API找不到)
The type org.apache.tools.ant.Task cannot be resolved. It is indirectly referenced from required .class files 部署openfire4.2.1
mina-integration-jmx-1.1.7.jar openfire 需要jar
mina-integration-jmx-2.1.3.jar 差不多最新了
openfire开发配置需要的3个jar包coherence.jar、coherence-work.jar、tangosol.jar