1.2K Star 8.2K Fork 2.2K

GVP轨迹 / J-IM

 / 详情

ssl认证有时通过有时抛异常(多次登录的时候)

Backlog
Opened this issue  
2021-03-05 19:10
2021-03-05 18:40:41,666 [tio-group-52] ERROR org.tio.core.ssl.facade.Worker - server:0.0.0.0:16526, client:0:0:0:0:0:0:0:1:58312, 瑙e瘑Error:javax.net.ssl.SSLException: Received fatal alert: certificate_unknown, byte:[21, 3, 3, 0, 2, 2, 46], string: ., buffer:java.nio.HeapByteBuffer[pos=7 lim=7 cap=16921]
javax.net.ssl.SSLException: Received fatal alert: certificate_unknown
	at sun.security.ssl.Alerts.getSSLException(Alerts.java:208) ~[?:1.8.0_181]
	at sun.security.ssl.SSLEngineImpl.fatal(SSLEngineImpl.java:1666) ~[?:1.8.0_181]
	at sun.security.ssl.SSLEngineImpl.fatal(SSLEngineImpl.java:1634) ~[?:1.8.0_181]
	at sun.security.ssl.SSLEngineImpl.recvAlert(SSLEngineImpl.java:1800) ~[?:1.8.0_181]
	at sun.security.ssl.SSLEngineImpl.readRecord(SSLEngineImpl.java:1083) ~[?:1.8.0_181]
	at sun.security.ssl.SSLEngineImpl.readNetRecord(SSLEngineImpl.java:907) ~[?:1.8.0_181]
	at sun.security.ssl.SSLEngineImpl.unwrap(SSLEngineImpl.java:781) ~[?:1.8.0_181]
	at javax.net.ssl.SSLEngine.unwrap(SSLEngine.java:624) ~[?:1.8.0_181]
	at org.tio.core.ssl.facade.Worker.doUnwrap(Worker.java:414) [tio-core-3.5.8.jar:3.5.8.v20191228-RELEASE]
	at org.tio.core.ssl.facade.Worker.unwrap(Worker.java:300) [tio-core-3.5.8.jar:3.5.8.v20191228-RELEASE]
	at org.tio.core.ssl.facade.SSLFacade.decrypt(SSLFacade.java:311) [tio-core-3.5.8.jar:3.5.8.v20191228-RELEASE]
	at org.tio.core.ReadCompletionHandler.completed(ReadCompletionHandler.java:282) [tio-core-3.5.8.jar:3.5.8.v20191228-RELEASE]
	at org.tio.core.ReadCompletionHandler.completed(ReadCompletionHandler.java:213) [tio-core-3.5.8.jar:3.5.8.v20191228-RELEASE]
	at sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:126) [?:1.8.0_181]
	at sun.nio.ch.Invoker$2.run(Invoker.java:218) [?:1.8.0_181]
	at sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112) [?:1.8.0_181]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_181]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_181]
	at java.lang.Thread.run(Thread.java:748) [?:1.8.0_181]
2021-03-05 18:40:41,666 [tio-group-52] ERROR org.tio.core.ReadCompletionHandler - server:0.0.0.0:16526, client:0:0:0:0:0:0:0:1:58312, javax.net.ssl.SSLException: Received fatal alert: certificate_unknownjava.nio.HeapByteBuffer[pos=7 lim=7 cap=7]
javax.net.ssl.SSLException: Received fatal alert: certificate_unknown
	at sun.security.ssl.Alerts.getSSLException(Alerts.java:208) ~[?:1.8.0_181]
	at sun.security.ssl.SSLEngineImpl.fatal(SSLEngineImpl.java:1666) ~[?:1.8.0_181]
	at sun.security.ssl.SSLEngineImpl.fatal(SSLEngineImpl.java:1634) ~[?:1.8.0_181]
	at sun.security.ssl.SSLEngineImpl.recvAlert(SSLEngineImpl.java:1800) ~[?:1.8.0_181]
	at sun.security.ssl.SSLEngineImpl.readRecord(SSLEngineImpl.java:1083) ~[?:1.8.0_181]
	at sun.security.ssl.SSLEngineImpl.readNetRecord(SSLEngineImpl.java:907) ~[?:1.8.0_181]
	at sun.security.ssl.SSLEngineImpl.unwrap(SSLEngineImpl.java:781) ~[?:1.8.0_181]
	at javax.net.ssl.SSLEngine.unwrap(SSLEngine.java:624) ~[?:1.8.0_181]
	at org.tio.core.ssl.facade.Worker.doUnwrap(Worker.java:414) ~[tio-core-3.5.8.jar:3.5.8.v20191228-RELEASE]
	at org.tio.core.ssl.facade.Worker.unwrap(Worker.java:300) ~[tio-core-3.5.8.jar:3.5.8.v20191228-RELEASE]
	at org.tio.core.ssl.facade.SSLFacade.decrypt(SSLFacade.java:311) ~[tio-core-3.5.8.jar:3.5.8.v20191228-RELEASE]
	at org.tio.core.ReadCompletionHandler.completed(ReadCompletionHandler.java:282) [tio-core-3.5.8.jar:3.5.8.v20191228-RELEASE]
	at org.tio.core.ReadCompletionHandler.completed(ReadCompletionHandler.java:213) [tio-core-3.5.8.jar:3.5.8.v20191228-RELEASE]
	at sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:126) [?:1.8.0_181]
	at sun.nio.ch.Invoker$2.run(Invoker.java:218) [?:1.8.0_181]
	at sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112) [?:1.8.0_181]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_181]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_181]
	at java.lang.Thread.run(Thread.java:748) [?:1.8.0_181]

Comments (1)

剑雨星空 created任务
剑雨星空 set related repository to 轨迹/J-IM
Expand operation logs

这个问题解决了吗

Sign in to comment

Status
Assignees
Milestones
Pull Requests
Successfully merging a pull request will close this issue.
Branches
Planed to start   -   Planed to end
-
Top level
Priority
参与者(2)
2173092 zhhongyu admin 1578967846
Java
1
https://git.oschina.net/xchao/j-im.git
git@git.oschina.net:xchao/j-im.git
xchao
j-im
J-IM

Search