远程主机在握手期间关闭连接 - 帮助菜鸟



任何人都可以帮助分辨可能导致这种情况的原因:

pi@raspberrypi ~/openhab $ sudo ./start.sh
Launching the openHAB runtime...
osgi> 00:09:50.841 INFO  o.o.c.internal.CoreActivator[:92] - openHAB runtime has been started (v1.3.1).
00:10:26.588 INFO  o.o.m.c.i.ModelRepositoryImpl[:99] - Loading model 'test.items'
00:10:35.225 INFO  o.o.i.s.i.DiscoveryServiceImpl[:92] - mDNS service has been started
00:10:42.865 INFO  o.o.m.c.i.ModelRepositoryImpl[:99] - Loading model 'test.sitemap'
00:10:57.579 INFO  o.o.i.r.i.RESTApplication[:158] - Started REST API at /rest
00:11:03.592 INFO  o.o.u.w.i.s.WebAppServlet[:99] - Started Classic UI at /openhab.app
00:11:18.138 INFO  o.o.b.i.internal.IhcConnection[:139] - Connecting to IHC / ELKO LS controller [IP='192.168.1.20:443' Username='admin' Password='pass'].
00:11:23.928 ERROR o.o.b.i.internal.IhcConnection[:188] - Connection to IHC / ELKO LS controller failed.
**javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake
        at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:973)
Caused by: java.io.EOFException: SSL peer shut down incorrectly
        at sun.security.ssl.InputRecord.read(InputRecord.java:505)**
00:11:24.032 INFO  o.o.c.s.AbstractActiveService[:189] - IHC / ELKO LS refresh and notification listener service has been started
00:12:02.482 INFO  o.o.i.r.i.RESTApplication[:174] - Stopped REST API
00:12:06.826 INFO  o.o.u.w.i.s.WebAppServlet[:110] - Stopped Classic UI

我觉得这是由证书验证问题引起的。 使用的是 CA 签名证书还是自签名证书?如果您没有任何证书,请使用java密钥工具生成自己的证书。

有关此的更多详细信息将有所帮助。

相关内容

  • 没有找到相关文章

最新更新