Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

我在启动idea连接虚拟机时提示 reason: error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure. Please make sure the certificate are correctly configured and copied.我不知道为什么握手失败了 #4700

Open
zhengcookie opened this issue Nov 5, 2024 · 1 comment

Comments

@zhengcookie
Copy link

"C:\Program Files\Java\jdk-11.0.2\bin\java.exe" -Djdk.tls.namedGroups=secp256k1“ -XX:TieredStopAtLevel=1 -noverify -Dspring.output.ansi.enabled=always -Dcom.sun.management.jmxremote -Dspring.jmx.enabled=true -Dspring.liveBeansView.mbeanDomain -Dspring.application.admin.enabled=true "-Dmanagement.endpoints.jmx.exposure.include=*" "-javaagent:D:\Program Files\JetBrains\IntelliJ IDEA 2024.2.3\lib\idea_rt.jar=13459:D:\Program Files\JetBrains\IntelliJ IDEA 2024.2.3\bin" -Dfile.encoding=UTF-8 -classpath "D:\比赛\区块链\区块链国赛、省赛\国赛10套题资料\GZ036 国赛10套题-前后端代码\projects\project4\project-4-back\target\classes;D:\Maven\respository\org\springframework\boot\spring-boot-starter-web\2.6.2\spring-boot-starter-web-2.6.2.jar;D:\Maven\respository\org\springframework\boot\spring-boot-starter\2.6.2\spring-boot-starter-2.6.2.jar;D:\Maven\respository\org\springframework\boot\spring-boot\2.6.2\spring-boot-2.6.2.jar;D:\Maven\respository\org\springframework\boot\spring-boot-autoconfigure\2.6.2\spring-boot-autoconfigure-2.6.2.jar;D:\Maven\respository\org\springframework\boot\spring-boot-starter-logging\2.6.2\spring-boot-starter-logging-2.6.2.jar;D:\Maven\respository\ch\qos\logback\logback-classic\1.2.9\logback-classic-1.2.9.jar;D:\Maven\respository\ch\qos\logback\logback-core\1.2.9\logback-core-1.2.9.jar;D:\Maven\respository\org\apache\logging\log4j\log4j-to-slf4j\2.17.0\log4j-to-slf4j-2.17.0.jar;D:\Maven\respository\org\apache\logging\log4j\log4j-api\2.17.0\log4j-api-2.17.0.jar;D:\Maven\respository\org\slf4j\jul-to-slf4j\1.7.32\jul-to-slf4j-1.7.32.jar;D:\Maven\respository\jakarta\annotation\jakarta.annotation-api\1.3.5\jakarta.annotation-api-1.3.5.jar;D:\Maven\respository\org\yaml\snakeyaml\1.29\snakeyaml-1.29.jar;D:\Maven\respository\org\springframework\boot\spring-boot-starter-json\2.6.2\spring-boot-starter-json-2.6.2.jar;D:\Maven\respository\com\fasterxml\jackson\datatype\jackson-datatype-jdk8\2.13.1\jackson-datatype-jdk8-2.13.1.jar;D:\Maven\respository\com\fasterxml\jackson\datatype\jackson-datatype-jsr310\2.13.1\jackson-datatype-jsr310-2.13.1.jar;D:\Maven\respository\com\fasterxml\jackson\module\jackson-module-parameter-names\2.13.1\jackson-module-parameter-names-2.13.1.jar;D:\Maven\respository\org\springframework\boot\spring-boot-starter-tomcat\2.6.2\spring-boot-starter-tomcat-2.6.2.jar;D:\Maven\respository\org\apache\tomcat\embed\tomcat-embed-core\9.0.56\tomcat-embed-core-9.0.56.jar;D:\Maven\respository\org\apache\tomcat\embed\tomcat-embed-el\9.0.56\tomcat-embed-el-9.0.56.jar;D:\Maven\respository\org\apache\tomcat\embed\tomcat-embed-websocket\9.0.56\tomcat-embed-websocket-9.0.56.jar;D:\Maven\respository\org\springframework\spring-web\5.3.14\spring-web-5.3.14.jar;D:\Maven\respository\org\springframework\spring-beans\5.3.14\spring-beans-5.3.14.jar;D:\Maven\respository\org\springframework\spring-webmvc\5.3.14\spring-webmvc-5.3.14.jar;D:\Maven\respository\org\springframework\spring-aop\5.3.14\spring-aop-5.3.14.jar;D:\Maven\respository\org\springframework\spring-context\5.3.14\spring-context-5.3.14.jar;D:\Maven\respository\org\springframework\spring-expression\5.3.14\spring-expression-5.3.14.jar;D:\Maven\respository\org\hamcrest\hamcrest\2.2\hamcrest-2.2.jar;D:\Maven\respository\org\springframework\spring-core\5.3.14\spring-core-5.3.14.jar;D:\Maven\respository\org\springframework\spring-jcl\5.3.14\spring-jcl-5.3.14.jar;D:\Maven\respository\org\fisco-bcos\java-sdk\fisco-bcos-java-sdk\2.9.0\fisco-bcos-java-sdk-2.9.0.jar;D:\Maven\respository\org\slf4j\slf4j-api\1.7.32\slf4j-api-1.7.32.jar;D:\Maven\respository\org\bouncycastle\bcprov-jdk15on\1.60\bcprov-jdk15on-1.60.jar;D:\Maven\respository\org\apache\commons\commons-lang3\3.12.0\commons-lang3-3.12.0.jar;D:\Maven\respository\org\fisco-bcos\netty-sm-ssl-context\1.5.0\netty-sm-ssl-context-1.5.0.jar;D:\Maven\respository\org\fisco-bcos\tcnative\2.0.51.0\tcnative-2.0.51.0.jar;D:\Maven\respository\com\fasterxml\jackson\core\jackson-databind\2.13.1\jackson-databind-2.13.1.jar;D:\Maven\respository\com\fasterxml\jackson\core\jackson-annotations\2.13.1\jackson-annotations-2.13.1.jar;D:\Maven\respository\com\fasterxml\jackson\core\jackson-core\2.13.1\jackson-core-2.13.1.jar;D:\Maven\respository\commons-io\commons-io\2.4\commons-io-2.4.jar;D:\Maven\respository\com\squareup\javapoet\1.7.0\javapoet-1.7.0.jar;D:\Maven\respository\info\picocli\picocli\3.6.0\picocli-3.6.0.jar;D:\Maven\respository\com\webank\webank-blockchain-java-crypto\1.0.2\webank-blockchain-java-crypto-1.0.2.jar;D:\Maven\respository\org\projectlombok\lombok\1.18.22\lombok-1.18.22.jar;D:\Maven\respository\com\moandjiezana\toml\toml4j\0.7.2\toml4j-0.7.2.jar;D:\Maven\respository\com\google\code\gson\gson\2.8.9\gson-2.8.9.jar;D:\Maven\respository\com\webank\webank-blockchain-hsm-crypto\1.0.0-GMT0018\webank-blockchain-hsm-crypto-1.0.0-GMT0018.jar;D:\Maven\respository\junit\junit\4.13.2\junit-4.13.2.jar;D:\Maven\respository\org\hamcrest\hamcrest-core\2.2\hamcrest-core-2.2.jar;D:\Maven\respository\io\netty\netty-all\4.1.50.Final\netty-all-4.1.50.Final.jar" com.example.project4back.Project4BackApplication

. ____ _ __ _ _
/\ / ' __ _ () __ __ _ \ \ \
( ( )_
_ | '_ | '| | ' / ` | \ \ \
\/ )| |)| | | | | || (| | ) ) ) )
' |
| .__|| ||| |_, | / / / /
=========|
|==============|/=////
:: Spring Boot :: (v2.6.2)

2024-11-06 01:36:56.069 INFO 10624 --- [ main] c.e.p.Project4BackApplication : Starting Project4BackApplication using Java 11.0.2 on DESKTOP-PMQDEEQ with PID 10624 (D:\比赛\区块链\区块链国赛、省赛\国赛10套题资料\GZ036 国赛10套题-前后端代码\projects\project4\project-4-back\target\classes started by ZHENG in D:\比赛\区块链\区块链国赛、省赛\国赛10套题资料\GZ036 国赛10套题-前后端代码\projects\project4\project-4-back)
2024-11-06 01:36:56.072 INFO 10624 --- [ main] c.e.p.Project4BackApplication : No active profile set, falling back to default profiles: default
2024-11-06 01:36:57.146 INFO 10624 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8080 (http)
2024-11-06 01:36:57.159 INFO 10624 --- [ main] o.apache.catalina.core.StandardService : Starting service [Tomcat]
2024-11-06 01:36:57.159 INFO 10624 --- [ main] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.56]
2024-11-06 01:36:57.305 INFO 10624 --- [ main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext
2024-11-06 01:36:57.305 INFO 10624 --- [ main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 1186 ms
2024-11-06 01:36:58.158 INFO 10624 --- [ main] org.fisco.bcos.sdk.BcosSDK : create BcosSDK, configPath: D:\比赛\区块链\区块链国赛、省赛\国赛10套题资料\GZ036 国赛10套题-前后端代码\projects\project4\project-4-back\src\main\resources\config-example.toml
2024-11-06 01:36:58.188 INFO 10624 --- [ main] o.f.bcos.sdk.network.ConnectionManager : all connections, size: 2, list: [ConnectionInfo{host='192.168.132.17', port=20200}, ConnectionInfo{host='192.168.132.17', port=20201}]
2024-11-06 01:36:58.188 INFO 10624 --- [ main] org.fisco.bcos.sdk.network.NetworkImp :

  • TRACE INFORMATION:

====> STEP1: try to connect nodes with ecdsa context...

2024-11-06 01:36:58.189 INFO 10624 --- [ main] org.fisco.bcos.sdk.network.NetworkImp : ====> <==== STEP1-1: Load certificates for ecdsa context success..., start connManager with ECDSA sslContext
2024-11-06 01:36:58.249 INFO 10624 --- [ main] o.f.bcos.sdk.network.ConnectionManager : build ECDSA ssl context with configured certificates
2024-11-06 01:37:00.792 ERROR 10624 --- [ main] o.f.bcos.sdk.network.ConnectionManager : ssl handshake failed:/192.168.132.17:20200
reason: error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure. Please make sure the certificate are correctly configured and copied.
2024-11-06 01:37:00.792 ERROR 10624 --- [ main] o.f.bcos.sdk.network.ConnectionManager : ssl handshake failed:/192.168.132.17:20201
reason: error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure. Please make sure the certificate are correctly configured and copied.
2024-11-06 01:37:00.793 ERROR 10624 --- [ main] o.f.bcos.sdk.network.ConnectionManager : all connections have failed, [{"code":1, "msg":"ssl handshake failed:/192.168.132.17:20200
reason: error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure. Please make sure the certificate are correctly configured and copied."}, {"code":1, "msg":"ssl handshake failed:/192.168.132.17:20201
reason: error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure. Please make sure the certificate are correctly configured and copied."}]
2024-11-06 01:37:00.793 INFO 10624 --- [ main] org.fisco.bcos.sdk.network.NetworkImp : <==== STEP1 Result: try to connect nodes with ecdsa context failed. reason:
Failed to connect to all the nodes!

  • ssl handshake failed:/192.168.132.17:20200
    reason: error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure. Please make sure the certificate are correctly configured and copied.
  • ssl handshake failed:/192.168.132.17:20201
    reason: error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure. Please make sure the certificate are correctly configured and copied.

2024-11-06 01:37:00.796 ERROR 10624 --- [ntLoopGroup-2-1] o.fisco.bcos.sdk.network.ChannelHandler : handshake failed, host: 192.168.132.17, port: 20200, reason: error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure, error stack: {}

javax.net.ssl.SSLHandshakeException: error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure
at io.netty.handler.ssl.ReferenceCountedOpenSslEngine.shutdownWithError(ReferenceCountedOpenSslEngine.java:1009) ~[netty-all-4.1.50.Final.jar:4.1.50.Final]
at io.netty.handler.ssl.ReferenceCountedOpenSslEngine.sslReadErrorResult(ReferenceCountedOpenSslEngine.java:1273) ~[netty-all-4.1.50.Final.jar:4.1.50.Final]
at io.netty.handler.ssl.ReferenceCountedOpenSslEngine.unwrap(ReferenceCountedOpenSslEngine.java:1227) ~[netty-all-4.1.50.Final.jar:4.1.50.Final]
at io.netty.handler.ssl.ReferenceCountedOpenSslEngine.unwrap(ReferenceCountedOpenSslEngine.java:1298) ~[netty-all-4.1.50.Final.jar:4.1.50.Final]
at io.netty.handler.ssl.ReferenceCountedOpenSslEngine.unwrap(ReferenceCountedOpenSslEngine.java:1341) ~[netty-all-4.1.50.Final.jar:4.1.50.Final]
at io.netty.handler.ssl.SslHandler$SslEngineType$1.unwrap(SslHandler.java:206) ~[netty-all-4.1.50.Final.jar:4.1.50.Final]
at io.netty.handler.ssl.SslHandler.unwrap(SslHandler.java:1372) ~[netty-all-4.1.50.Final.jar:4.1.50.Final]
at io.netty.handler.ssl.SslHandler.decodeNonJdkCompatible(SslHandler.java:1279) ~[netty-all-4.1.50.Final.jar:4.1.50.Final]
at io.netty.handler.ssl.SslHandler.decode(SslHandler.java:1316) ~[netty-all-4.1.50.Final.jar:4.1.50.Final]
at io.netty.handler.codec.ByteToMessageDecoder.decodeRemovalReentryProtection(ByteToMessageDecoder.java:501) ~[netty-all-4.1.50.Final.jar:4.1.50.Final]
at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:440) ~[netty-all-4.1.50.Final.jar:4.1.50.Final]
at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:276) ~[netty-all-4.1.50.Final.jar:4.1.50.Final]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) ~[netty-all-4.1.50.Final.jar:4.1.50.Final]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) ~[netty-all-4.1.50.Final.jar:4.1.50.Final]
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) ~[netty-all-4.1.50.Final.jar:4.1.50.Final]
at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410) ~[netty-all-4.1.50.Final.jar:4.1.50.Final]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) ~[netty-all-4.1.50.Final.jar:4.1.50.Final]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) ~[netty-all-4.1.50.Final.jar:4.1.50.Final]
at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919) ~[netty-all-4.1.50.Final.jar:4.1.50.Final]
at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:163) ~[netty-all-4.1.50.Final.jar:4.1.50.Final]
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:714) ~[netty-all-4.1.50.Final.jar:4.1.50.Final]
at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:650) ~[netty-all-4.1.50.Final.jar:4.1.50.Final]
at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:576) ~[netty-all-4.1.50.Final.jar:4.1.50.Final]
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:493) ~[netty-all-4.1.50.Final.jar:4.1.50.Final]
at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:989) ~[netty-all-4.1.50.Final.jar:4.1.50.Final]
at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) ~[netty-all-4.1.50.Final.jar:4.1.50.Final]
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) ~[netty-all-4.1.50.Final.jar:4.1.50.Final]
at java.base/java.lang.Thread.run(Thread.java:834) ~[na:na]

2024-11-06 01:37:00.797 ERROR 10624 --- [ntLoopGroup-2-2] o.fisco.bcos.sdk.network.ChannelHandler : handshake failed, host: 192.168.132.17, port: 20201, reason: error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure, error stack: {}

javax.net.ssl.SSLHandshakeException: error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure
at io.netty.handler.ssl.ReferenceCountedOpenSslEngine.shutdownWithError(ReferenceCountedOpenSslEngine.java:1009) ~[netty-all-4.1.50.Final.jar:4.1.50.Final]
at io.netty.handler.ssl.ReferenceCountedOpenSslEngine.sslReadErrorResult(ReferenceCountedOpenSslEngine.java:1273) ~[netty-all-4.1.50.Final.jar:4.1.50.Final]
at io.netty.handler.ssl.ReferenceCountedOpenSslEngine.unwrap(ReferenceCountedOpenSslEngine.java:1227) ~[netty-all-4.1.50.Final.jar:4.1.50.Final]
at io.netty.handler.ssl.ReferenceCountedOpenSslEngine.unwrap(ReferenceCountedOpenSslEngine.java:1298) ~[netty-all-4.1.50.Final.jar:4.1.50.Final]
at io.netty.handler.ssl.ReferenceCountedOpenSslEngine.unwrap(ReferenceCountedOpenSslEngine.java:1341) ~[netty-all-4.1.50.Final.jar:4.1.50.Final]
at io.netty.handler.ssl.SslHandler$SslEngineType$1.unwrap(SslHandler.java:206) ~[netty-all-4.1.50.Final.jar:4.1.50.Final]
at io.netty.handler.ssl.SslHandler.unwrap(SslHandler.java:1372) ~[netty-all-4.1.50.Final.jar:4.1.50.Final]
at io.netty.handler.ssl.SslHandler.decodeNonJdkCompatible(SslHandler.java:1279) ~[netty-all-4.1.50.Final.jar:4.1.50.Final]
at io.netty.handler.ssl.SslHandler.decode(SslHandler.java:1316) ~[netty-all-4.1.50.Final.jar:4.1.50.Final]
at io.netty.handler.codec.ByteToMessageDecoder.decodeRemovalReentryProtection(ByteToMessageDecoder.java:501) ~[netty-all-4.1.50.Final.jar:4.1.50.Final]
at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:440) ~[netty-all-4.1.50.Final.jar:4.1.50.Final]
at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:276) ~[netty-all-4.1.50.Final.jar:4.1.50.Final]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) ~[netty-all-4.1.50.Final.jar:4.1.50.Final]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) ~[netty-all-4.1.50.Final.jar:4.1.50.Final]
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) ~[netty-all-4.1.50.Final.jar:4.1.50.Final]
at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410) ~[netty-all-4.1.50.Final.jar:4.1.50.Final]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) ~[netty-all-4.1.50.Final.jar:4.1.50.Final]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) ~[netty-all-4.1.50.Final.jar:4.1.50.Final]
at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919) ~[netty-all-4.1.50.Final.jar:4.1.50.Final]
at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:163) ~[netty-all-4.1.50.Final.jar:4.1.50.Final]
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:714) ~[netty-all-4.1.50.Final.jar:4.1.50.Final]
at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:650) ~[netty-all-4.1.50.Final.jar:4.1.50.Final]
at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:576) ~[netty-all-4.1.50.Final.jar:4.1.50.Final]
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:493) ~[netty-all-4.1.50.Final.jar:4.1.50.Final]
at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:989) ~[netty-all-4.1.50.Final.jar:4.1.50.Final]
at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) ~[netty-all-4.1.50.Final.jar:4.1.50.Final]
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) ~[netty-all-4.1.50.Final.jar:4.1.50.Final]
at java.base/java.lang.Thread.run(Thread.java:834) ~[na:na]

2024-11-06 01:37:00.806 WARN 10624 --- [ntLoopGroup-2-1] io.netty.channel.DefaultChannelPipeline : An exceptionCaught() event was fired, and it reached at the tail of the pipeline. It usually means the last handler in the pipeline did not handle the exception.

io.netty.handler.codec.DecoderException: javax.net.ssl.SSLHandshakeException: error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure
at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:471) ~[netty-all-4.1.50.Final.jar:4.1.50.Final]
at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:276) ~[netty-all-4.1.50.Final.jar:4.1.50.Final]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) ~[netty-all-4.1.50.Final.jar:4.1.50.Final]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) ~[netty-all-4.1.50.Final.jar:4.1.50.Final]
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) ~[netty-all-4.1.50.Final.jar:4.1.50.Final]
at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410) ~[netty-all-4.1.50.Final.jar:4.1.50.Final]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) ~[netty-all-4.1.50.Final.jar:4.1.50.Final]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) ~[netty-all-4.1.50.Final.jar:4.1.50.Final]
at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919) ~[netty-all-4.1.50.Final.jar:4.1.50.Final]
at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:163) ~[netty-all-4.1.50.Final.jar:4.1.50.Final]
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:714) ~[netty-all-4.1.50.Final.jar:4.1.50.Final]
at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:650) ~[netty-all-4.1.50.Final.jar:4.1.50.Final]
at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:576) ~[netty-all-4.1.50.Final.jar:4.1.50.Final]
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:493) ~[netty-all-4.1.50.Final.jar:4.1.50.Final]
at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:989) ~[netty-all-4.1.50.Final.jar:4.1.50.Final]
at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) ~[netty-all-4.1.50.Final.jar:4.1.50.Final]
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) ~[netty-all-4.1.50.Final.jar:4.1.50.Final]
at java.base/java.lang.Thread.run(Thread.java:834) ~[na:na]
Caused by: javax.net.ssl.SSLHandshakeException: error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure
at io.netty.handler.ssl.ReferenceCountedOpenSslEngine.shutdownWithError(ReferenceCountedOpenSslEngine.java:1009) ~[netty-all-4.1.50.Final.jar:4.1.50.Final]
at io.netty.handler.ssl.ReferenceCountedOpenSslEngine.sslReadErrorResult(ReferenceCountedOpenSslEngine.java:1273) ~[netty-all-4.1.50.Final.jar:4.1.50.Final]
at io.netty.handler.ssl.ReferenceCountedOpenSslEngine.unwrap(ReferenceCountedOpenSslEngine.java:1227) ~[netty-all-4.1.50.Final.jar:4.1.50.Final]
at io.netty.handler.ssl.ReferenceCountedOpenSslEngine.unwrap(ReferenceCountedOpenSslEngine.java:1298) ~[netty-all-4.1.50.Final.jar:4.1.50.Final]
at io.netty.handler.ssl.ReferenceCountedOpenSslEngine.unwrap(ReferenceCountedOpenSslEngine.java:1341) ~[netty-all-4.1.50.Final.jar:4.1.50.Final]
at io.netty.handler.ssl.SslHandler$SslEngineType$1.unwrap(SslHandler.java:206) ~[netty-all-4.1.50.Final.jar:4.1.50.Final]
at io.netty.handler.ssl.SslHandler.unwrap(SslHandler.java:1372) ~[netty-all-4.1.50.Final.jar:4.1.50.Final]
at io.netty.handler.ssl.SslHandler.decodeNonJdkCompatible(SslHandler.java:1279) ~[netty-all-4.1.50.Final.jar:4.1.50.Final]
at io.netty.handler.ssl.SslHandler.decode(SslHandler.java:1316) ~[netty-all-4.1.50.Final.jar:4.1.50.Final]
at io.netty.handler.codec.ByteToMessageDecoder.decodeRemovalReentryProtection(ByteToMessageDecoder.java:501) ~[netty-all-4.1.50.Final.jar:4.1.50.Final]
at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:440) ~[netty-all-4.1.50.Final.jar:4.1.50.Final]
... 17 common frames omitted

2024-11-06 01:37:00.806 WARN 10624 --- [ntLoopGroup-2-2] io.netty.channel.DefaultChannelPipeline : An exceptionCaught() event was fired, and it reached at the tail of the pipeline. It usually means the last handler in the pipeline did not handle the exception.

io.netty.handler.codec.DecoderException: javax.net.ssl.SSLHandshakeException: error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure
at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:471) ~[netty-all-4.1.50.Final.jar:4.1.50.Final]
at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:276) ~[netty-all-4.1.50.Final.jar:4.1.50.Final]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) ~[netty-all-4.1.50.Final.jar:4.1.50.Final]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) ~[netty-all-4.1.50.Final.jar:4.1.50.Final]
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) ~[netty-all-4.1.50.Final.jar:4.1.50.Final]
at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410) ~[netty-all-4.1.50.Final.jar:4.1.50.Final]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) ~[netty-all-4.1.50.Final.jar:4.1.50.Final]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) ~[netty-all-4.1.50.Final.jar:4.1.50.Final]
at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919) ~[netty-all-4.1.50.Final.jar:4.1.50.Final]
at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:163) ~[netty-all-4.1.50.Final.jar:4.1.50.Final]
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:714) ~[netty-all-4.1.50.Final.jar:4.1.50.Final]
at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:650) ~[netty-all-4.1.50.Final.jar:4.1.50.Final]
at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:576) ~[netty-all-4.1.50.Final.jar:4.1.50.Final]
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:493) ~[netty-all-4.1.50.Final.jar:4.1.50.Final]
at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:989) ~[netty-all-4.1.50.Final.jar:4.1.50.Final]
at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) ~[netty-all-4.1.50.Final.jar:4.1.50.Final]
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) ~[netty-all-4.1.50.Final.jar:4.1.50.Final]
at java.base/java.lang.Thread.run(Thread.java:834) ~[na:na]
Caused by: javax.net.ssl.SSLHandshakeException: error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure
at io.netty.handler.ssl.ReferenceCountedOpenSslEngine.shutdownWithError(ReferenceCountedOpenSslEngine.java:1009) ~[netty-all-4.1.50.Final.jar:4.1.50.Final]
at io.netty.handler.ssl.ReferenceCountedOpenSslEngine.sslReadErrorResult(ReferenceCountedOpenSslEngine.java:1273) ~[netty-all-4.1.50.Final.jar:4.1.50.Final]
at io.netty.handler.ssl.ReferenceCountedOpenSslEngine.unwrap(ReferenceCountedOpenSslEngine.java:1227) ~[netty-all-4.1.50.Final.jar:4.1.50.Final]
at io.netty.handler.ssl.ReferenceCountedOpenSslEngine.unwrap(ReferenceCountedOpenSslEngine.java:1298) ~[netty-all-4.1.50.Final.jar:4.1.50.Final]
at io.netty.handler.ssl.ReferenceCountedOpenSslEngine.unwrap(ReferenceCountedOpenSslEngine.java:1341) ~[netty-all-4.1.50.Final.jar:4.1.50.Final]
at io.netty.handler.ssl.SslHandler$SslEngineType$1.unwrap(SslHandler.java:206) ~[netty-all-4.1.50.Final.jar:4.1.50.Final]
at io.netty.handler.ssl.SslHandler.unwrap(SslHandler.java:1372) ~[netty-all-4.1.50.Final.jar:4.1.50.Final]
at io.netty.handler.ssl.SslHandler.decodeNonJdkCompatible(SslHandler.java:1279) ~[netty-all-4.1.50.Final.jar:4.1.50.Final]
at io.netty.handler.ssl.SslHandler.decode(SslHandler.java:1316) ~[netty-all-4.1.50.Final.jar:4.1.50.Final]
at io.netty.handler.codec.ByteToMessageDecoder.decodeRemovalReentryProtection(ByteToMessageDecoder.java:501) ~[netty-all-4.1.50.Final.jar:4.1.50.Final]
at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:440) ~[netty-all-4.1.50.Final.jar:4.1.50.Final]
... 17 common frames omitted

2024-11-06 01:37:00.806 INFO 10624 --- [ntLoopGroup-2-2] o.fisco.bcos.sdk.network.ChannelHandler : ssl close completion event, host: 192.168.132.17, port: 20201, ctx: 671895350
2024-11-06 01:37:00.806 INFO 10624 --- [ntLoopGroup-2-1] o.fisco.bcos.sdk.network.ChannelHandler : ssl close completion event, host: 192.168.132.17, port: 20200, ctx: 14569325
2024-11-06 01:37:02.891 INFO 10624 --- [ main] o.f.bcos.sdk.network.ConnectionManager : The netty has been stopped
2024-11-06 01:37:02.892 INFO 10624 --- [ main] org.fisco.bcos.sdk.network.NetworkImp : ----------------------------
====> STEP2: connect nodes with ecdsa context failed, try to connect nodes with sm-context...
2024-11-06 01:37:02.894 INFO 10624 --- [ main] org.fisco.bcos.sdk.network.NetworkImp : <==== STEP2-1: Load certificates for sm context success...
2024-11-06 01:37:02.894 INFO 10624 --- [ main] o.f.bcos.sdk.network.ConnectionManager : all connections, size: 2, list: [ConnectionInfo{host='192.168.132.17', port=20200}, ConnectionInfo{host='192.168.132.17', port=20201}]
2024-11-06 01:37:03.383 WARN 10624 --- [ main] ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'bcosService' defined in file [D:\比赛\区块链\区块链国赛、省赛\国赛10套题资料\GZ036 国赛10套题-前后端代码\projects\project4\project-4-back\target\classes\com\example\project4back\Service\BcosService.class]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.example.project4back.Service.BcosService]: Constructor threw exception; nested exception is java.lang.NoSuchMethodError: io.netty.handler.ssl.OpenSslContext.(Ljava/lang/Iterable;Lio/netty/handler/ssl/CipherSuiteFilter;Lio/netty/handler/ssl/ApplicationProtocolConfig;I[Ljava/security/cert/Certificate;Lio/netty/handler/ssl/ClientAuth;[Ljava/lang/String;ZZ[Ljava/util/Map$Entry;)V
2024-11-06 01:37:03.386 INFO 10624 --- [ main] o.apache.catalina.core.StandardService : Stopping service [Tomcat]
2024-11-06 01:37:03.404 INFO 10624 --- [ main] ConditionEvaluationReportLoggingListener :

Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
2024-11-06 01:37:03.427 ERROR 10624 --- [ main] o.s.b.d.LoggingFailureAnalysisReporter :


APPLICATION FAILED TO START


Description:

An attempt was made to call a method that does not exist. The attempt was made from the following location:

io.netty.handler.ssl.SMSslClientContext.<init>(SMSslClientContext.java:23)

The following method did not exist:

io.netty.handler.ssl.OpenSslContext.<init>(Ljava/lang/Iterable;Lio/netty/handler/ssl/CipherSuiteFilter;Lio/netty/handler/ssl/ApplicationProtocolConfig;I[Ljava/security/cert/Certificate;Lio/netty/handler/ssl/ClientAuth;[Ljava/lang/String;ZZ[Ljava/util/Map$Entry;)V

The calling method's class, io.netty.handler.ssl.SMSslClientContext, was loaded from the following location:

jar:file:/D:/Maven/respository/org/fisco-bcos/netty-sm-ssl-context/1.5.0/netty-sm-ssl-context-1.5.0.jar!/io/netty/handler/ssl/SMSslClientContext.class

The called method's class, io.netty.handler.ssl.OpenSslContext, is available from the following locations:

jar:file:/D:/Maven/respository/io/netty/netty-all/4.1.50.Final/netty-all-4.1.50.Final.jar!/io/netty/handler/ssl/OpenSslContext.class

The called method's class hierarchy was loaded from the following locations:

io.netty.handler.ssl.OpenSslContext: file:/D:/Maven/respository/io/netty/netty-all/4.1.50.Final/netty-all-4.1.50.Final.jar
io.netty.handler.ssl.ReferenceCountedOpenSslContext: file:/D:/Maven/respository/io/netty/netty-all/4.1.50.Final/netty-all-4.1.50.Final.jar
io.netty.handler.ssl.SslContext: file:/D:/Maven/respository/io/netty/netty-all/4.1.50.Final/netty-all-4.1.50.Final.jar

Action:

Correct the classpath of your application so that it contains compatible versions of the classes io.netty.handler.ssl.SMSslClientContext and io.netty.handler.ssl.OpenSslContext

Process finished with exit code 1

@zhengcookie zhengcookie changed the title reason: error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure. Please make sure the certificate are correctly configured and copied. 我在启动idea连接虚拟机时提示 reason: error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure. Please make sure the certificate are correctly configured and copied. Nov 7, 2024
@zhengcookie zhengcookie changed the title 我在启动idea连接虚拟机时提示 reason: error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure. Please make sure the certificate are correctly configured and copied. 我在启动idea连接虚拟机时提示 reason: error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure. Please make sure the certificate are correctly configured and copied.我不知道为什么握手失败了 Nov 7, 2024
@JimmyShi22
Copy link
Member

请根据输出的STEP,排查问题,也可在群里咨询小助手

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants