java sdk 无法连接到链
java sdk 连接时报错: 防火墙是关掉的,cmc可以连接并获取信息
"C:\Program Files\Java\jdk1.8.0_251\bin\java.exe" -agentlib:jdwp=transport=dt_socket,address=127.0.0.1:64286,suspend=y,server=n -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:C:\Users\FENGLING\AppData\Local\JetBrains\IntelliJIdea2023.3\captureAgent\debugger-agent.jar -Dfile.encoding=UTF-8 -classpath "C:\Program Files\Java\jdk1.8.0_251\jre\lib\charsets.jar;C:\Program Files\Java\jdk1.8.0_251\jre\lib\deploy.jar;C:\Program Files\Java\jdk1.8.0_251\jre\lib\ext\access-bridge-64.jar;C:\Program Files\Java\jdk1.8.0_251\jre\lib\ext\cldrdata.jar;C:\Program Files\Java\jdk1.8.0_251\jre\lib\ext\dnsns.jar;C:\Program Files\Java\jdk1.8.0_251\jre\lib\ext\jaccess.jar;C:\Program Files\Java\jdk1.8.0_251\jre\lib\ext\jfxrt.jar;C:\Program Files\Java\jdk1.8.0_251\jre\lib\ext\localedata.jar;C:\Program Files\Java\jdk1.8.0_251\jre\lib\ext\nashorn.jar;C:\Program Files\Java\jdk1.8.0_251\jre\lib\ext\sunec.jar;C:\Program Files\Java\jdk1.8.0_251\jre\lib\ext\sunjce_provider.jar;C:\Program Files\Java\jdk1.8.0_251\jre\lib\ext\sunmscapi.jar;C:\Program Files\Java\jdk1.8.0_251\jre\lib\ext\sunpkcs11.jar;C:\Program Files\Java\jdk1.8.0_251\jre\lib\ext\zipfs.jar;C:\Program Files\Java\jdk1.8.0_251\jre\lib\javaws.jar;C:\Program Files\Java\jdk1.8.0_251\jre\lib\jce.jar;C:\Program Files\Java\jdk1.8.0_251\jre\lib\jfr.jar;C:\Program Files\Java\jdk1.8.0_251\jre\lib\jfxswt.jar;C:\Program Files\Java\jdk1.8.0_251\jre\lib\jsse.jar;C:\Program Files\Java\jdk1.8.0_251\jre\lib\management-agent.jar;C:\Program Files\Java\jdk1.8.0_251\jre\lib\plugin.jar;C:\Program Files\Java\jdk1.8.0_251\jre\lib\resources.jar;C:\Program Files\Java\jdk1.8.0_251\jre\lib\rt.jar;D:\github\sdk-java-demo\target\classes;D:\BaiduNetdiskDownload\apache-maven-3.6.3\repo\org\springframework\boot\spring-boot-starter-web\2.5.5\spring-boot-starter-web-2.5.5.jar;D:\BaiduNetdiskDownload\apache-maven-3.6.3\repo\org\springframework\boot\spring-boot-starter\2.5.5\spring-boot-starter-2.5.5.jar;D:\BaiduNetdiskDownload\apache-maven-3.6.3\repo\org\springframework\boot\spring-boot\2.5.5\spring-boot-2.5.5.jar;D:\BaiduNetdiskDownload\apache-maven-3.6.3\repo\org\springframework\boot\spring-boot-autoconfigure\2.5.5\spring-boot-autoconfigure-2.5.5.jar;D:\BaiduNetdiskDownload\apache-maven-3.6.3\repo\org\springframework\boot\spring-boot-starter-logging\2.5.5\spring-boot-starter-logging-2.5.5.jar;D:\BaiduNetdiskDownload\apache-maven-3.6.3\repo\org\apache\logging\log4j\log4j-to-slf4j\2.14.1\log4j-to-slf4j-2.14.1.jar;D:\BaiduNetdiskDownload\apache-maven-3.6.3\repo\org\apache\logging\log4j\log4j-api\2.14.1\log4j-api-2.14.1.jar;D:\BaiduNetdiskDownload\apache-maven-3.6.3\repo\org\slf4j\jul-to-slf4j\1.7.32\jul-to-slf4j-1.7.32.jar;D:\BaiduNetdiskDownload\apache-maven-3.6.3\repo\jakarta\annotation\jakarta.annotation-api\1.3.5\jakarta.annotation-api-1.3.5.jar;D:\BaiduNetdiskDownload\apache-maven-3.6.3\repo\org\springframework\boot\spring-boot-starter-json\2.5.5\spring-boot-starter-json-2.5.5.jar;D:\BaiduNetdiskDownload\apache-maven-3.6.3\repo\com\fasterxml\jackson\core\jackson-databind\2.12.5\jackson-databind-2.12.5.jar;D:\BaiduNetdiskDownload\apache-maven-3.6.3\repo\com\fasterxml\jackson\core\jackson-annotations\2.12.5\jackson-annotations-2.12.5.jar;D:\BaiduNetdiskDownload\apache-maven-3.6.3\repo\com\fasterxml\jackson\core\jackson-core\2.12.5\jackson-core-2.12.5.jar;D:\BaiduNetdiskDownload\apache-maven-3.6.3\repo\com\fasterxml\jackson\datatype\jackson-datatype-jdk8\2.12.5\jackson-datatype-jdk8-2.12.5.jar;D:\BaiduNetdiskDownload\apache-maven-3.6.3\repo\com\fasterxml\jackson\datatype\jackson-datatype-jsr310\2.12.5\jackson-datatype-jsr310-2.12.5.jar;D:\BaiduNetdiskDownload\apache-maven-3.6.3\repo\com\fasterxml\jackson\module\jackson-module-parameter-names\2.12.5\jackson-module-parameter-names-2.12.5.jar;D:\BaiduNetdiskDownload\apache-maven-3.6.3\repo\org\springframework\boot\spring-boot-starter-tomcat\2.5.5\spring-boot-starter-tomcat-2.5.5.jar;D:\BaiduNetdiskDownload\apache-maven-3.6.3\repo\org\apache\tomcat\embed\tomcat-embed-core\9.0.53\tomcat-embed-core-9.0.53.jar;D:\BaiduNetdiskDownload\apache-maven-3.6.3\repo\org\apache\tomcat\embed\tomcat-embed-el\9.0.53\tomcat-embed-el-9.0.53.jar;D:\BaiduNetdiskDownload\apache-maven-3.6.3\repo\org\apache\tomcat\embed\tomcat-embed-websocket\9.0.53\tomcat-embed-websocket-9.0.53.jar;D:\BaiduNetdiskDownload\apache-maven-3.6.3\repo\org\springframework\spring-web\5.3.10\spring-web-5.3.10.jar;D:\BaiduNetdiskDownload\apache-maven-3.6.3\repo\org\springframework\spring-beans\5.3.10\spring-beans-5.3.10.jar;D:\BaiduNetdiskDownload\apache-maven-3.6.3\repo\org\springframework\spring-webmvc\5.3.10\spring-webmvc-5.3.10.jar;D:\BaiduNetdiskDownload\apache-maven-3.6.3\repo\org\springframework\spring-aop\5.3.10\spring-aop-5.3.10.jar;D:\BaiduNetdiskDownload\apache-maven-3.6.3\repo\org\springframework\spring-context\5.3.10\spring-context-5.3.10.jar;D:\BaiduNetdiskDownload\apache-maven-3.6.3\repo\org\springframework\spring-expression\5.3.10\spring-expression-5.3.10.jar;D:\BaiduNetdiskDownload\apache-maven-3.6.3\repo\org\slf4j\slf4j-api\1.7.32\slf4j-api-1.7.32.jar;D:\BaiduNetdiskDownload\apache-maven-3.6.3\repo\org\springframework\spring-core\5.3.10\spring-core-5.3.10.jar;D:\BaiduNetdiskDownload\apache-maven-3.6.3\repo\org\springframework\spring-jcl\5.3.10\spring-jcl-5.3.10.jar;D:\BaiduNetdiskDownload\apache-maven-3.6.3\repo\org\chainmaker\chainmaker-sdk-java\2.3.2\chainmaker-sdk-java-2.3.2.jar;D:\BaiduNetdiskDownload\apache-maven-3.6.3\repo\org\bouncycastle\bcpkix-jdk15on\1.62\bcpkix-jdk15on-1.62.jar;D:\BaiduNetdiskDownload\apache-maven-3.6.3\repo\org\bouncycastle\bcprov-jdk15on\1.62\bcprov-jdk15on-1.62.jar;D:\BaiduNetdiskDownload\apache-maven-3.6.3\repo\mysql\mysql-connector-java\8.0.26\mysql-connector-java-8.0.26.jar;D:\BaiduNetdiskDownload\apache-maven-3.6.3\repo\ch\qos\logback\logback-classic\1.2.6\logback-classic-1.2.6.jar;D:\BaiduNetdiskDownload\apache-maven-3.6.3\repo\ch\qos\logback\logback-core\1.2.6\logback-core-1.2.6.jar;D:\BaiduNetdiskDownload\apache-maven-3.6.3\repo\org\yaml\snakeyaml\1.28\snakeyaml-1.28.jar;D:\BaiduNetdiskDownload\apache-maven-3.6.3\repo\com\esotericsoftware\yamlbeans\yamlbeans\1.15\yamlbeans-1.15.jar;D:\BaiduNetdiskDownload\apache-maven-3.6.3\repo\javax\annotation\javax.annotation-api\1.3.2\javax.annotation-api-1.3.2.jar;D:\BaiduNetdiskDownload\apache-maven-3.6.3\repo\com\googlecode\protobuf-java-format\protobuf-java-format\1.4\protobuf-java-format-1.4.jar;D:\BaiduNetdiskDownload\apache-maven-3.6.3\repo\com\zaxxer\HikariCP\4.0.3\HikariCP-4.0.3.jar;D:\BaiduNetdiskDownload\apache-maven-3.6.3\repo\commons-dbutils\commons-dbutils\1.7\commons-dbutils-1.7.jar;D:\github\sdk-java-demo\lib\netty-tcnative-openssl-static-2.0.39.Final.jar;D:\BaiduNetdiskDownload\apache-maven-3.6.3\repo\org\apache\commons\commons-pool2\2.11.1\commons-pool2-2.11.1.jar;D:\BaiduNetdiskDownload\apache-maven-3.6.3\repo\commons-collections\commons-collections\3.2.2\commons-collections-3.2.2.jar;D:\BaiduNetdiskDownload\apache-maven-3.6.3\repo\org\bouncycastle\bcpkix-jdk18on\1.75\bcpkix-jdk18on-1.75.jar;D:\BaiduNetdiskDownload\apache-maven-3.6.3\repo\org\bouncycastle\bcprov-jdk18on\1.75\bcprov-jdk18on-1.75.jar;D:\BaiduNetdiskDownload\apache-maven-3.6.3\repo\org\bouncycastle\bcutil-jdk18on\1.75\bcutil-jdk18on-1.75.jar;D:\BaiduNetdiskDownload\apache-maven-3.6.3\repo\commons-io\commons-io\2.11.0\commons-io-2.11.0.jar;D:\BaiduNetdiskDownload\apache-maven-3.6.3\repo\com\alibaba\fastjson\2.0.32\fastjson-2.0.32.jar;D:\BaiduNetdiskDownload\apache-maven-3.6.3\repo\com\alibaba\fastjson2\fastjson2-extension\2.0.32\fastjson2-extension-2.0.32.jar;D:\BaiduNetdiskDownload\apache-maven-3.6.3\repo\com\alibaba\fastjson2\fastjson2\2.0.32\fastjson2-2.0.32.jar;D:\BaiduNetdiskDownload\apache-maven-3.6.3\repo\commons-logging\commons-logging\1.2\commons-logging-1.2.jar;D:\BaiduNetdiskDownload\apache-maven-3.6.3\repo\com\google\protobuf\protobuf-java-util\3.22.2\protobuf-java-util-3.22.2.jar;D:\BaiduNetdiskDownload\apache-maven-3.6.3\repo\com\google\code\findbugs\jsr305\3.0.2\jsr305-3.0.2.jar;D:\BaiduNetdiskDownload\apache-maven-3.6.3\repo\com\google\code\gson\gson\2.8.8\gson-2.8.8.jar;D:\BaiduNetdiskDownload\apache-maven-3.6.3\repo\com\google\errorprone\error_prone_annotations\2.11.0\error_prone_annotations-2.11.0.jar;D:\BaiduNetdiskDownload\apache-maven-3.6.3\repo\com\google\j2objc\j2objc-annotations\1.3\j2objc-annotations-1.3.jar;D:\BaiduNetdiskDownload\apache-maven-3.6.3\repo\io\netty\netty-handler\4.1.53.Final\netty-handler-4.1.53.Final.jar;D:\BaiduNetdiskDownload\apache-maven-3.6.3\repo\io\netty\netty-common\4.1.68.Final\netty-common-4.1.68.Final.jar;D:\BaiduNetdiskDownload\apache-maven-3.6.3\repo\io\netty\netty-resolver\4.1.68.Final\netty-resolver-4.1.68.Final.jar;D:\BaiduNetdiskDownload\apache-maven-3.6.3\repo\io\netty\netty-buffer\4.1.68.Final\netty-buffer-4.1.68.Final.jar;D:\BaiduNetdiskDownload\apache-maven-3.6.3\repo\io\netty\netty-transport\4.1.68.Final\netty-transport-4.1.68.Final.jar;D:\BaiduNetdiskDownload\apache-maven-3.6.3\repo\io\netty\netty-codec\4.1.68.Final\netty-codec-4.1.68.Final.jar;D:\BaiduNetdiskDownload\apache-maven-3.6.3\repo\io\grpc\grpc-api\1.53.0\grpc-api-1.53.0.jar;D:\BaiduNetdiskDownload\apache-maven-3.6.3\repo\io\grpc\grpc-context\1.53.0\grpc-context-1.53.0.jar;D:\BaiduNetdiskDownload\apache-maven-3.6.3\repo\com\google\guava\guava\31.1-android\guava-31.1-android.jar;D:\BaiduNetdiskDownload\apache-maven-3.6.3\repo\com\google\guava\failureaccess\1.0.1\failureaccess-1.0.1.jar;D:\BaiduNetdiskDownload\apache-maven-3.6.3\repo\com\google\guava\listenablefuture\9999.0-empty-to-avoid-conflict-with-guava\listenablefuture-9999.0-empty-to-avoid-conflict-with-guava.jar;D:\BaiduNetdiskDownload\apache-maven-3.6.3\repo\org\checkerframework\checker-qual\3.12.0\checker-qual-3.12.0.jar;D:\BaiduNetdiskDownload\apache-maven-3.6.3\repo\io\grpc\grpc-netty\1.53.0\grpc-netty-1.53.0.jar;D:\BaiduNetdiskDownload\apache-maven-3.6.3\repo\io\grpc\grpc-core\1.53.0\grpc-core-1.53.0.jar;D:\BaiduNetdiskDownload\apache-maven-3.6.3\repo\com\google\android\annotations\4.1.1.4\annotations-4.1.1.4.jar;D:\BaiduNetdiskDownload\apache-maven-3.6.3\repo\org\codehaus\mojo\animal-sniffer-annotations\1.21\animal-sniffer-annotations-1.21.jar;D:\BaiduNetdiskDownload\apache-maven-3.6.3\repo\io\netty\netty-codec-http2\4.1.68.Final\netty-codec-http2-4.1.68.Final.jar;D:\BaiduNetdiskDownload\apache-maven-3.6.3\repo\io\netty\netty-codec-http\4.1.68.Final\netty-codec-http-4.1.68.Final.jar;D:\BaiduNetdiskDownload\apache-maven-3.6.3\repo\io\netty\netty-handler-proxy\4.1.68.Final\netty-handler-proxy-4.1.68.Final.jar;D:\BaiduNetdiskDownload\apache-maven-3.6.3\repo\io\netty\netty-codec-socks\4.1.68.Final\netty-codec-socks-4.1.68.Final.jar;D:\BaiduNetdiskDownload\apache-maven-3.6.3\repo\io\perfmark\perfmark-api\0.25.0\perfmark-api-0.25.0.jar;D:\BaiduNetdiskDownload\apache-maven-3.6.3\repo\io\netty\netty-transport-native-unix-common\4.1.68.Final\netty-transport-native-unix-common-4.1.68.Final.jar;D:\BaiduNetdiskDownload\apache-maven-3.6.3\repo\io\grpc\grpc-stub\1.53.0\grpc-stub-1.53.0.jar;D:\BaiduNetdiskDownload\apache-maven-3.6.3\repo\io\grpc\grpc-protobuf\1.53.0\grpc-protobuf-1.53.0.jar;D:\BaiduNetdiskDownload\apache-maven-3.6.3\repo\com\google\protobuf\protobuf-java\3.21.7\protobuf-java-3.21.7.jar;D:\BaiduNetdiskDownload\apache-maven-3.6.3\repo\com\google\api\grpc\proto-google-common-protos\2.9.0\proto-google-common-protos-2.9.0.jar;D:\BaiduNetdiskDownload\apache-maven-3.6.3\repo\io\grpc\grpc-protobuf-lite\1.53.0\grpc-protobuf-lite-1.53.0.jar;D:\BaiduNetdiskDownload\apache-maven-3.6.3\repo\org\web3j\abi\4.9.7\abi-4.9.7.jar;D:\BaiduNetdiskDownload\apache-maven-3.6.3\repo\org\web3j\utils\4.9.7\utils-4.9.7.jar;D:\BaiduNetdiskDownload\apache-maven-3.6.3\repo\net\java\dev\jna\jna\5.12.1\jna-5.12.1.jar;D:\BaiduNetdiskDownload\apache-maven-3.6.3\repo\org\projectlombok\lombok\1.18.20\lombok-1.18.20.jar;D:\BaiduNetdiskDownload\apache-maven-3.6.3\repo\cn\hutool\hutool-all\5.7.22\hutool-all-5.7.22.jar;D:\Program Files\JetBrains\IntelliJ IDEA 2023.3.2\lib\idea_rt.jar" chainmaker.sdk.demo.DemoApplication 已连接到地址为 ''127.0.0.1:64286',传输: '套接字'' 的目标虚拟机
. ____ _ __ _ _
/\ / ' __ _ () __ __ _ \ \ \
( ( )__ | '_ | '| | ' / ` | \ \ \
\/ )| |)| | | | | || (| | ) ) ) )
' || .__|| ||| |_, | / / / /
=========||==============|/=////
:: Spring Boot :: (v2.5.5)
2024-11-11 16:01:54.491 INFO 66620 --- [ main] chainmaker.sdk.demo.DemoApplication : Starting DemoApplication using Java 1.8.0_251 on A22 with PID 66620 (D:\github\sdk-java-demo\target\classes started by FENGLING in D:\github\sdk-java-demo) 2024-11-11 16:01:54.494 INFO 66620 --- [ main] chainmaker.sdk.demo.DemoApplication : No active profile set, falling back to default profiles: default 2024-11-11 16:01:55.388 INFO 66620 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8081 (http) 2024-11-11 16:01:55.398 INFO 66620 --- [ main] o.apache.catalina.core.StandardService : Starting service [Tomcat] 2024-11-11 16:01:55.398 INFO 66620 --- [ main] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.53] 2024-11-11 16:01:55.523 INFO 66620 --- [ main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext 2024-11-11 16:01:55.523 INFO 66620 --- [ main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 967 ms 2024-11-11 16:01:55.914 INFO 66620 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 8081 (http) with context path '' 2024-11-11 16:01:55.923 INFO 66620 --- [ main] chainmaker.sdk.demo.DemoApplication : Started DemoApplication in 2.123 seconds (JVM running for 3.264) 2024-11-11 16:01:58.080 WARN 66620 --- [ main] org.chainmaker.sdk.GrpcClientFactory : check invoke getVersion error one
java.util.concurrent.ExecutionException: io.grpc.StatusRuntimeException: UNAVAILABLE: io exception Channel Pipeline: [SslHandler#0, ProtocolNegotiators$ClientTlsHandler#0, WriteBufferingAndExceptionHandler#0, DefaultChannelPipeline$TailContext#0] at com.google.common.util.concurrent.AbstractFuture.getDoneValue(AbstractFuture.java:588) ~[guava-31.1-android.jar:na] at com.google.common.util.concurrent.AbstractFuture.get(AbstractFuture.java:463) ~[guava-31.1-android.jar:na] at org.chainmaker.sdk.GrpcClientFactory.buseCheck(GrpcClientFactory.java:267) [chainmaker-sdk-java-2.3.2.jar:2.3.2] at org.chainmaker.sdk.GrpcClientFactory.createRpcClient(GrpcClientFactory.java:129) [chainmaker-sdk-java-2.3.2.jar:2.3.2] at org.chainmaker.sdk.GrpcClientFactory.create(GrpcClientFactory.java:109) [chainmaker-sdk-java-2.3.2.jar:2.3.2] at org.chainmaker.sdk.GrpcClientFactory.create(GrpcClientFactory.java:21) [chainmaker-sdk-java-2.3.2.jar:2.3.2] at org.apache.commons.pool2.BasePooledObjectFactory.makeObject(BasePooledObjectFactory.java:70) [commons-pool2-2.11.1.jar:2.11.1] at org.apache.commons.pool2.impl.GenericObjectPool.create(GenericObjectPool.java:571) [commons-pool2-2.11.1.jar:2.11.1] at org.apache.commons.pool2.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:298) [commons-pool2-2.11.1.jar:2.11.1] at org.apache.commons.pool2.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:223) [commons-pool2-2.11.1.jar:2.11.1] at org.chainmaker.sdk.ChainClient.sendTxRequest(ChainClient.java:2778) [chainmaker-sdk-java-2.3.2.jar:2.3.2] at org.chainmaker.sdk.ChainClient.sendRequest(ChainClient.java:3201) [chainmaker-sdk-java-2.3.2.jar:2.3.2] at org.chainmaker.sdk.ChainClient.proposalRequest(ChainClient.java:3107) [chainmaker-sdk-java-2.3.2.jar:2.3.2] at org.chainmaker.sdk.ChainClient.getLastBlock(ChainClient.java:897) [chainmaker-sdk-java-2.3.2.jar:2.3.2] at org.chainmaker.sdk.sync.TxResultDispatcher.start(TxResultDispatcher.java:101) [chainmaker-sdk-java-2.3.2.jar:2.3.2] at org.chainmaker.sdk.ChainManager.createChainClient(ChainManager.java:195) [chainmaker-sdk-java-2.3.2.jar:2.3.2] at org.chainmaker.sdk.ChainManager.createChainClient(ChainManager.java:130) [chainmaker-sdk-java-2.3.2.jar:2.3.2] at chainmaker.sdk.demo.InitClient.inItChainClient(InitClient.java:59) [classes/:na] at chainmaker.sdk.demo.DemoApplication.main(DemoApplication.java:71) [classes/:na] Caused by: io.grpc.StatusRuntimeException: UNAVAILABLE: io exception Channel Pipeline: [SslHandler#0, ProtocolNegotiators$ClientTlsHandler#0, WriteBufferingAndExceptionHandler#0, DefaultChannelPipeline$TailContext#0] at io.grpc.Status.asRuntimeException(Status.java:539) ~[grpc-api-1.53.0.jar:1.53.0] at io.grpc.stub.ClientCalls$UnaryStreamToFuture.onClose(ClientCalls.java:544) ~[grpc-stub-1.53.0.jar:1.53.0] at io.grpc.internal.DelayedClientCall$DelayedListener$3.run(DelayedClientCall.java:489) ~[grpc-core-1.53.0.jar:1.53.0] at io.grpc.internal.DelayedClientCall$DelayedListener.delayOrExecute(DelayedClientCall.java:453) ~[grpc-core-1.53.0.jar:1.53.0] at io.grpc.internal.DelayedClientCall$DelayedListener.onClose(DelayedClientCall.java:486) ~[grpc-core-1.53.0.jar:1.53.0] at io.grpc.internal.ClientCallImpl.closeObserver(ClientCallImpl.java:576) ~[grpc-core-1.53.0.jar:1.53.0] at io.grpc.internal.ClientCallImpl.access$300(ClientCallImpl.java:70) ~[grpc-core-1.53.0.jar:1.53.0] at io.grpc.internal.ClientCallImpl$ClientStreamListenerImpl$1StreamClosed.runInternal(ClientCallImpl.java:757) ~[grpc-core-1.53.0.jar:1.53.0] at io.grpc.internal.ClientCallImpl$ClientStreamListenerImpl$1StreamClosed.runInContext(ClientCallImpl.java:736) ~[grpc-core-1.53.0.jar:1.53.0] at io.grpc.internal.ContextRunnable.run(ContextRunnable.java:37) ~[grpc-core-1.53.0.jar:1.53.0] at io.grpc.internal.SerializingExecutor.run(SerializingExecutor.java:133) ~[grpc-core-1.53.0.jar:1.53.0] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) ~[na:1.8.0_251] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) ~[na:1.8.0_251] at java.lang.Thread.run(Thread.java:748) ~[na:1.8.0_251] Caused by: javax.net.ssl.SSLHandshakeException: General OpenSslEngine problem at io.netty.handler.ssl.ReferenceCountedOpenSslEngine.handshakeException(ReferenceCountedOpenSslEngine.java:1772) ~[netty-handler-4.1.53.Final.jar:4.1.53.Final] at io.netty.handler.ssl.ReferenceCountedOpenSslEngine.wrap(ReferenceCountedOpenSslEngine.java:777) ~[netty-handler-4.1.53.Final.jar:4.1.53.Final] at javax.net.ssl.SSLEngine.wrap(SSLEngine.java:511) ~[na:1.8.0_251] at io.netty.handler.ssl.SslHandler.wrap(SslHandler.java:1086) ~[netty-handler-4.1.53.Final.jar:4.1.53.Final] at io.netty.handler.ssl.SslHandler.wrapNonAppData(SslHandler.java:977) ~[netty-handler-4.1.53.Final.jar:4.1.53.Final] at io.netty.handler.ssl.SslHandler.unwrap(SslHandler.java:1450) ~[netty-handler-4.1.53.Final.jar:4.1.53.Final] at io.netty.handler.ssl.SslHandler.decodeJdkCompatible(SslHandler.java:1282) ~[netty-handler-4.1.53.Final.jar:4.1.53.Final] at io.netty.handler.ssl.SslHandler.decode(SslHandler.java:1329) ~[netty-handler-4.1.53.Final.jar:4.1.53.Final] at io.netty.handler.codec.ByteToMessageDecoder.decodeRemovalReentryProtection(ByteToMessageDecoder.java:507) ~[netty-codec-4.1.68.Final.jar:4.1.68.Final] at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:446) ~[netty-codec-4.1.68.Final.jar:4.1.68.Final] at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:276) ~[netty-codec-4.1.68.Final.jar:4.1.68.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) ~[netty-transport-4.1.68.Final.jar:4.1.68.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) ~[netty-transport-4.1.68.Final.jar:4.1.68.Final] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) ~[netty-transport-4.1.68.Final.jar:4.1.68.Final] at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410) ~[netty-transport-4.1.68.Final.jar:4.1.68.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) ~[netty-transport-4.1.68.Final.jar:4.1.68.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) ~[netty-transport-4.1.68.Final.jar:4.1.68.Final] at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919) ~[netty-transport-4.1.68.Final.jar:4.1.68.Final] at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:166) ~[netty-transport-4.1.68.Final.jar:4.1.68.Final] at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:719) ~[netty-transport-4.1.68.Final.jar:4.1.68.Final] at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:655) ~[netty-transport-4.1.68.Final.jar:4.1.68.Final] at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:581) ~[netty-transport-4.1.68.Final.jar:4.1.68.Final] at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:493) ~[netty-transport-4.1.68.Final.jar:4.1.68.Final] at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:986) ~[netty-common-4.1.68.Final.jar:4.1.68.Final] at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) ~[netty-common-4.1.68.Final.jar:4.1.68.Final] at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) ~[netty-common-4.1.68.Final.jar:4.1.68.Final] ... 1 common frames omitted Caused by: sun.security.validator.ValidatorException: PKIX path validation failed: java.security.cert.CertPathValidatorException: Path does not chain with any of the trust anchors at sun.security.validator.PKIXValidator.doValidate(PKIXValidator.java:380) ~[na:1.8.0_251] at sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:285) ~[na:1.8.0_251] at sun.security.validator.Validator.validate(Validator.java:262) ~[na:1.8.0_251] at sun.security.ssl.X509TrustManagerImpl.validate(X509TrustManagerImpl.java:330) ~[na:1.8.0_251] at sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:279) ~[na:1.8.0_251] at sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:144) ~[na:1.8.0_251] at io.netty.handler.ssl.OpenSslTlsv13X509ExtendedTrustManager.checkServerTrusted(OpenSslTlsv13X509ExtendedTrustManager.java:223) ~[netty-handler-4.1.53.Final.jar:4.1.53.Final] at io.netty.handler.ssl.ReferenceCountedOpenSslClientContext$ExtendedTrustManagerVerifyCallback.verify(ReferenceCountedOpenSslClientContext.java:261) ~[netty-handler-4.1.53.Final.jar:4.1.53.Final] at io.netty.handler.ssl.ReferenceCountedOpenSslContext$AbstractCertificateVerifier.verify(ReferenceCountedOpenSslContext.java:698) ~[netty-handler-4.1.53.Final.jar:4.1.53.Final] at io.netty.internal.tcnative.SSL.readFromSSL(Native Method) ~[netty-tcnative-openssl-static-2.0.39.Final.jar:na] at io.netty.handler.ssl.ReferenceCountedOpenSslEngine.readPlaintextData(ReferenceCountedOpenSslEngine.java:596) ~[netty-handler-4.1.53.Final.jar:4.1.53.Final] at io.netty.handler.ssl.ReferenceCountedOpenSslEngine.unwrap(ReferenceCountedOpenSslEngine.java:1203) ~[netty-handler-4.1.53.Final.jar:4.1.53.Final] at io.netty.handler.ssl.ReferenceCountedOpenSslEngine.unwrap(ReferenceCountedOpenSslEngine.java:1325) ~[netty-handler-4.1.53.Final.jar:4.1.53.Final] at io.netty.handler.ssl.ReferenceCountedOpenSslEngine.unwrap(ReferenceCountedOpenSslEngine.java:1368) ~[netty-handler-4.1.53.Final.jar:4.1.53.Final] at io.netty.handler.ssl.SslHandler$SslEngineType$1.unwrap(SslHandler.java:206) ~[netty-handler-4.1.53.Final.jar:4.1.53.Final] at io.netty.handler.ssl.SslHandler.unwrap(SslHandler.java:1387) ~[netty-handler-4.1.53.Final.jar:4.1.53.Final] ... 21 common frames omitted Suppressed: javax.net.ssl.SSLHandshakeException: error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed at io.netty.handler.ssl.ReferenceCountedOpenSslEngine.sslReadErrorResult(ReferenceCountedOpenSslEngine.java:1288) ~[netty-handler-4.1.53.Final.jar:4.1.53.Final] at io.netty.handler.ssl.ReferenceCountedOpenSslEngine.unwrap(ReferenceCountedOpenSslEngine.java:1249) ~[netty-handler-4.1.53.Final.jar:4.1.53.Final] ... 25 common frames omitted Caused by: java.security.cert.CertPathValidatorException: Path does not chain with any of the trust anchors at sun.security.provider.certpath.PKIXCertPathValidator.validate(PKIXCertPathValidator.java:159) ~[na:1.8.0_251] at sun.security.provider.certpath.PKIXCertPathValidator.engineValidate(PKIXCertPathValidator.java:85) ~[na:1.8.0_251] at java.security.cert.CertPathValidator.validate(CertPathValidator.java:292) ~[na:1.8.0_251] at sun.security.validator.PKIXValidator.doValidate(PKIXValidator.java:375) ~[na:1.8.0_251] ... 36 common frames omitted
2024-11-11 16:01:58.080 WARN 66620 --- [ main] org.chainmaker.sdk.GrpcClientFactory : ===============创建连接失败,把节点加入异常节点grpcs://192.168.2.108:12301 2024-11-11 16:01:58.081 WARN 66620 --- [ main] org.chainmaker.sdk.GrpcClientFactory : create chainClient error:no node can use 2024-11-11 16:01:58.085 WARN 66620 --- [ main] org.chainmaker.sdk.GrpcClientFactory : ===============创建连接失败create chainClient error:no node can use,把节点加入异常节点grpcs://192.168.2.108:12301 2024-11-11 16:01:58.085 ERROR 66620 --- [ main] org.chainmaker.sdk.GrpcClientFactory : create chainClient error:no node can use
java.lang.RuntimeException: create chainClient error:no node can use at org.chainmaker.sdk.GrpcClientFactory.createRpcClient(GrpcClientFactory.java:139) [chainmaker-sdk-java-2.3.2.jar:2.3.2] at org.chainmaker.sdk.GrpcClientFactory.create(GrpcClientFactory.java:109) [chainmaker-sdk-java-2.3.2.jar:2.3.2] at org.chainmaker.sdk.GrpcClientFactory.create(GrpcClientFactory.java:21) [chainmaker-sdk-java-2.3.2.jar:2.3.2] at org.apache.commons.pool2.BasePooledObjectFactory.makeObject(BasePooledObjectFactory.java:70) [commons-pool2-2.11.1.jar:2.11.1] at org.apache.commons.pool2.impl.GenericObjectPool.create(GenericObjectPool.java:571) [commons-pool2-2.11.1.jar:2.11.1] at org.apache.commons.pool2.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:298) [commons-pool2-2.11.1.jar:2.11.1] at org.apache.commons.pool2.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:223) [commons-pool2-2.11.1.jar:2.11.1] at org.chainmaker.sdk.ChainClient.sendTxRequest(ChainClient.java:2778) [chainmaker-sdk-java-2.3.2.jar:2.3.2] at org.chainmaker.sdk.ChainClient.sendRequest(ChainClient.java:3201) [chainmaker-sdk-java-2.3.2.jar:2.3.2] at org.chainmaker.sdk.ChainClient.proposalRequest(ChainClient.java:3107) [chainmaker-sdk-java-2.3.2.jar:2.3.2] at org.chainmaker.sdk.ChainClient.getLastBlock(ChainClient.java:897) [chainmaker-sdk-java-2.3.2.jar:2.3.2] at org.chainmaker.sdk.sync.TxResultDispatcher.start(TxResultDispatcher.java:101) [chainmaker-sdk-java-2.3.2.jar:2.3.2] at org.chainmaker.sdk.ChainManager.createChainClient(ChainManager.java:195) [chainmaker-sdk-java-2.3.2.jar:2.3.2] at org.chainmaker.sdk.ChainManager.createChainClient(ChainManager.java:130) [chainmaker-sdk-java-2.3.2.jar:2.3.2] at chainmaker.sdk.demo.InitClient.inItChainClient(InitClient.java:59) [classes/:na] at chainmaker.sdk.demo.DemoApplication.main(DemoApplication.java:71) [classes/:na]
2024-11-11 16:01:58.085 WARN 66620 --- [ main] o.c.sdk.sync.TxResultDispatcher : subscribe get last height java.lang.RuntimeException: create chainClient error:no node can use 2024-11-11 16:01:58.111 WARN 66620 --- [pool-1-thread-1] org.chainmaker.sdk.GrpcClientFactory : check invoke getVersion error one
java.util.concurrent.ExecutionException: io.grpc.StatusRuntimeException: UNAVAILABLE: io exception Channel Pipeline: [SslHandler#0, ProtocolNegotiators$ClientTlsHandler#0, WriteBufferingAndExceptionHandler#0, DefaultChannelPipeline$TailContext#0] at com.google.common.util.concurrent.AbstractFuture.getDoneValue(AbstractFuture.java:588) ~[guava-31.1-android.jar:na] at com.google.common.util.concurrent.AbstractFuture.get(AbstractFuture.java:463) ~[guava-31.1-android.jar:na] at org.chainmaker.sdk.GrpcClientFactory.buseCheck(GrpcClientFactory.java:267) [chainmaker-sdk-java-2.3.2.jar:2.3.2] at org.chainmaker.sdk.GrpcClientFactory.createRpcClient(GrpcClientFactory.java:129) [chainmaker-sdk-java-2.3.2.jar:2.3.2] at org.chainmaker.sdk.GrpcClientFactory.create(GrpcClientFactory.java:109) [chainmaker-sdk-java-2.3.2.jar:2.3.2] at org.chainmaker.sdk.GrpcClientFactory.create(GrpcClientFactory.java:21) [chainmaker-sdk-java-2.3.2.jar:2.3.2] at org.apache.commons.pool2.BasePooledObjectFactory.makeObject(BasePooledObjectFactory.java:70) [commons-pool2-2.11.1.jar:2.11.1] at org.apache.commons.pool2.impl.GenericObjectPool.create(GenericObjectPool.java:571) [commons-pool2-2.11.1.jar:2.11.1] at org.apache.commons.pool2.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:298) [commons-pool2-2.11.1.jar:2.11.1] at org.apache.commons.pool2.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:223) [commons-pool2-2.11.1.jar:2.11.1] at org.chainmaker.sdk.ChainClient.subscribe(ChainClient.java:3248) [chainmaker-sdk-java-2.3.2.jar:2.3.2] at org.chainmaker.sdk.ChainClient.subscribeBlock(ChainClient.java:1732) [chainmaker-sdk-java-2.3.2.jar:2.3.2] at org.chainmaker.sdk.sync.TxResultDispatcher$AutoSubscribe.run(TxResultDispatcher.java:156) [chainmaker-sdk-java-2.3.2.jar:2.3.2] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [na:1.8.0_251] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [na:1.8.0_251] at java.lang.Thread.run(Thread.java:748) [na:1.8.0_251] Caused by: io.grpc.StatusRuntimeException: UNAVAILABLE: io exception Channel Pipeline: [SslHandler#0, ProtocolNegotiators$ClientTlsHandler#0, WriteBufferingAndExceptionHandler#0, DefaultChannelPipeline$TailContext#0] at io.grpc.Status.asRuntimeException(Status.java:539) ~[grpc-api-1.53.0.jar:1.53.0] at io.grpc.stub.ClientCalls$UnaryStreamToFuture.onClose(ClientCalls.java:544) ~[grpc-stub-1.53.0.jar:1.53.0] at io.grpc.internal.DelayedClientCall$DelayedListener$3.run(DelayedClientCall.java:489) ~[grpc-core-1.53.0.jar:1.53.0] at io.grpc.internal.DelayedClientCall$DelayedListener.delayOrExecute(DelayedClientCall.java:453) ~[grpc-core-1.53.0.jar:1.53.0] at io.grpc.internal.DelayedClientCall$DelayedListener.onClose(DelayedClientCall.java:486) ~[grpc-core-1.53.0.jar:1.53.0] at io.grpc.internal.ClientCallImpl.closeObserver(ClientCallImpl.java:576) ~[grpc-core-1.53.0.jar:1.53.0] at io.grpc.internal.ClientCallImpl.access$300(ClientCallImpl.java:70) ~[grpc-core-1.53.0.jar:1.53.0] at io.grpc.internal.ClientCallImpl$ClientStreamListenerImpl$1StreamClosed.runInternal(ClientCallImpl.java:757) ~[grpc-core-1.53.0.jar:1.53.0] at io.grpc.internal.ClientCallImpl$ClientStreamListenerImpl$1StreamClosed.runInContext(ClientCallImpl.java:736) ~[grpc-core-1.53.0.jar:1.53.0] at io.grpc.internal.ContextRunnable.run(ContextRunnable.java:37) ~[grpc-core-1.53.0.jar:1.53.0] at io.grpc.internal.SerializingExecutor.run(SerializingExecutor.java:133) ~[grpc-core-1.53.0.jar:1.53.0] ... 3 common frames omitted Caused by: javax.net.ssl.SSLHandshakeException: General OpenSslEngine problem at io.netty.handler.ssl.ReferenceCountedOpenSslEngine.handshakeException(ReferenceCountedOpenSslEngine.java:1772) ~[netty-handler-4.1.53.Final.jar:4.1.53.Final] at io.netty.handler.ssl.ReferenceCountedOpenSslEngine.wrap(ReferenceCountedOpenSslEngine.java:777) ~[netty-handler-4.1.53.Final.jar:4.1.53.Final] at javax.net.ssl.SSLEngine.wrap(SSLEngine.java:511) ~[na:1.8.0_251] at io.netty.handler.ssl.SslHandler.wrap(SslHandler.java:1086) ~[netty-handler-4.1.53.Final.jar:4.1.53.Final] at io.netty.handler.ssl.SslHandler.wrapNonAppData(SslHandler.java:977) ~[netty-handler-4.1.53.Final.jar:4.1.53.Final] at io.netty.handler.ssl.SslHandler.unwrap(SslHandler.java:1450) ~[netty-handler-4.1.53.Final.jar:4.1.53.Final] at io.netty.handler.ssl.SslHandler.decodeJdkCompatible(SslHandler.java:1282) ~[netty-handler-4.1.53.Final.jar:4.1.53.Final] at io.netty.handler.ssl.SslHandler.decode(SslHandler.java:1329) ~[netty-handler-4.1.53.Final.jar:4.1.53.Final] at io.netty.handler.codec.ByteToMessageDecoder.decodeRemovalReentryProtection(ByteToMessageDecoder.java:507) ~[netty-codec-4.1.68.Final.jar:4.1.68.Final] at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:446) ~[netty-codec-4.1.68.Final.jar:4.1.68.Final] at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:276) ~[netty-codec-4.1.68.Final.jar:4.1.68.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) ~[netty-transport-4.1.68.Final.jar:4.1.68.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) ~[netty-transport-4.1.68.Final.jar:4.1.68.Final] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) ~[netty-transport-4.1.68.Final.jar:4.1.68.Final] at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410) ~[netty-transport-4.1.68.Final.jar:4.1.68.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) ~[netty-transport-4.1.68.Final.jar:4.1.68.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) ~[netty-transport-4.1.68.Final.jar:4.1.68.Final] at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919) ~[netty-transport-4.1.68.Final.jar:4.1.68.Final] at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:166) ~[netty-transport-4.1.68.Final.jar:4.1.68.Final] at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:719) ~[netty-transport-4.1.68.Final.jar:4.1.68.Final] at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:655) ~[netty-transport-4.1.68.Final.jar:4.1.68.Final] at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:581) ~[netty-transport-4.1.68.Final.jar:4.1.68.Final] at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:493) ~[netty-transport-4.1.68.Final.jar:4.1.68.Final] at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:986) ~[netty-common-4.1.68.Final.jar:4.1.68.Final] at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) ~[netty-common-4.1.68.Final.jar:4.1.68.Final] at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) ~[netty-common-4.1.68.Final.jar:4.1.68.Final] ... 1 common frames omitted Caused by: sun.security.validator.ValidatorException: PKIX path validation failed: java.security.cert.CertPathValidatorException: Path does not chain with any of the trust anchors at sun.security.validator.PKIXValidator.doValidate(PKIXValidator.java:380) ~[na:1.8.0_251] at sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:285) ~[na:1.8.0_251] at sun.security.validator.Validator.validate(Validator.java:262) ~[na:1.8.0_251] at sun.security.ssl.X509TrustManagerImpl.validate(X509TrustManagerImpl.java:330) ~[na:1.8.0_251] at sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:279) ~[na:1.8.0_251] at sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:144) ~[na:1.8.0_251] at io.netty.handler.ssl.OpenSslTlsv13X509ExtendedTrustManager.checkServerTrusted(OpenSslTlsv13X509ExtendedTrustManager.java:223) ~[netty-handler-4.1.53.Final.jar:4.1.53.Final] at io.netty.handler.ssl.ReferenceCountedOpenSslClientContext$ExtendedTrustManagerVerifyCallback.verify(ReferenceCountedOpenSslClientContext.java:261) ~[netty-handler-4.1.53.Final.jar:4.1.53.Final] at io.netty.handler.ssl.ReferenceCountedOpenSslContext$AbstractCertificateVerifier.verify(ReferenceCountedOpenSslContext.java:698) ~[netty-handler-4.1.53.Final.jar:4.1.53.Final] at io.netty.internal.tcnative.SSL.readFromSSL(Native Method) ~[netty-tcnative-openssl-static-2.0.39.Final.jar:na] at io.netty.handler.ssl.ReferenceCountedOpenSslEngine.readPlaintextData(ReferenceCountedOpenSslEngine.java:596) ~[netty-handler-4.1.53.Final.jar:4.1.53.Final] at io.netty.handler.ssl.ReferenceCountedOpenSslEngine.unwrap(ReferenceCountedOpenSslEngine.java:1203) ~[netty-handler-4.1.53.Final.jar:4.1.53.Final] at io.netty.handler.ssl.ReferenceCountedOpenSslEngine.unwrap(ReferenceCountedOpenSslEngine.java:1325) ~[netty-handler-4.1.53.Final.jar:4.1.53.Final] at io.netty.handler.ssl.ReferenceCountedOpenSslEngine.unwrap(ReferenceCountedOpenSslEngine.java:1368) ~[netty-handler-4.1.53.Final.jar:4.1.53.Final] at io.netty.handler.ssl.SslHandler$SslEngineType$1.unwrap(SslHandler.java:206) ~[netty-handler-4.1.53.Final.jar:4.1.53.Final] at io.netty.handler.ssl.SslHandler.unwrap(SslHandler.java:1387) ~[netty-handler-4.1.53.Final.jar:4.1.53.Final] ... 21 common frames omitted Suppressed: javax.net.ssl.SSLHandshakeException: error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed at io.netty.handler.ssl.ReferenceCountedOpenSslEngine.sslReadErrorResult(ReferenceCountedOpenSslEngine.java:1288) ~[netty-handler-4.1.53.Final.jar:4.1.53.Final] at io.netty.handler.ssl.ReferenceCountedOpenSslEngine.unwrap(ReferenceCountedOpenSslEngine.java:1249) ~[netty-handler-4.1.53.Final.jar:4.1.53.Final] ... 25 common frames omitted Caused by: java.security.cert.CertPathValidatorException: Path does not chain with any of the trust anchors at sun.security.provider.certpath.PKIXCertPathValidator.validate(PKIXCertPathValidator.java:159) ~[na:1.8.0_251] at sun.security.provider.certpath.PKIXCertPathValidator.engineValidate(PKIXCertPathValidator.java:85) ~[na:1.8.0_251] at java.security.cert.CertPathValidator.validate(CertPathValidator.java:292) ~[na:1.8.0_251] at sun.security.validator.PKIXValidator.doValidate(PKIXValidator.java:375) ~[na:1.8.0_251] ... 36 common frames omitted
2024-11-11 16:01:58.112 WARN 66620 --- [pool-1-thread-1] org.chainmaker.sdk.GrpcClientFactory : ===============创建连接失败,把节点加入异常节点grpcs://192.168.2.108:12301 2024-11-11 16:01:58.112 WARN 66620 --- [pool-1-thread-1] org.chainmaker.sdk.GrpcClientFactory : create chainClient error:no node can use 2024-11-11 16:01:58.112 WARN 66620 --- [pool-1-thread-1] org.chainmaker.sdk.GrpcClientFactory : ===============创建连接失败create chainClient error:no node can use,把节点加入异常节点grpcs://192.168.2.108:12301 2024-11-11 16:01:58.113 ERROR 66620 --- [pool-1-thread-1] org.chainmaker.sdk.GrpcClientFactory : create chainClient error:no node can use
java.lang.RuntimeException: create chainClient error:no node can use at org.chainmaker.sdk.GrpcClientFactory.createRpcClient(GrpcClientFactory.java:139) [chainmaker-sdk-java-2.3.2.jar:2.3.2] at org.chainmaker.sdk.GrpcClientFactory.create(GrpcClientFactory.java:109) [chainmaker-sdk-java-2.3.2.jar:2.3.2] at org.chainmaker.sdk.GrpcClientFactory.create(GrpcClientFactory.java:21) [chainmaker-sdk-java-2.3.2.jar:2.3.2] at org.apache.commons.pool2.BasePooledObjectFactory.makeObject(BasePooledObjectFactory.java:70) [commons-pool2-2.11.1.jar:2.11.1] at org.apache.commons.pool2.impl.GenericObjectPool.create(GenericObjectPool.java:571) [commons-pool2-2.11.1.jar:2.11.1] at org.apache.commons.pool2.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:298) [commons-pool2-2.11.1.jar:2.11.1] at org.apache.commons.pool2.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:223) [commons-pool2-2.11.1.jar:2.11.1] at org.chainmaker.sdk.ChainClient.subscribe(ChainClient.java:3248) [chainmaker-sdk-java-2.3.2.jar:2.3.2] at org.chainmaker.sdk.ChainClient.subscribeBlock(ChainClient.java:1732) [chainmaker-sdk-java-2.3.2.jar:2.3.2] at org.chainmaker.sdk.sync.TxResultDispatcher$AutoSubscribe.run(TxResultDispatcher.java:156) [chainmaker-sdk-java-2.3.2.jar:2.3.2] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [na:1.8.0_251] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [na:1.8.0_251] at java.lang.Thread.run(Thread.java:748) [na:1.8.0_251]
2024-11-11 16:01:58.113 ERROR 66620 --- [pool-1-thread-1] o.c.sdk.sync.TxResultDispatcher : =======subscribeBlock err:java.lang.RuntimeException: create chainClient error:no node can use 2024-11-11 16:01:58.126 WARN 66620 --- [ main] org.chainmaker.sdk.GrpcClientFactory : check invoke getVersion error one
java.util.concurrent.ExecutionException: io.grpc.StatusRuntimeException: UNAVAILABLE: io exception Channel Pipeline: [SslHandler#0, ProtocolNegotiators$ClientTlsHandler#0, WriteBufferingAndExceptionHandler#0, DefaultChannelPipeline$TailContext#0] at com.google.common.util.concurrent.AbstractFuture.getDoneValue(AbstractFuture.java:588) ~[guava-31.1-android.jar:na] at com.google.common.util.concurrent.AbstractFuture.get(AbstractFuture.java:463) ~[guava-31.1-android.jar:na] at org.chainmaker.sdk.GrpcClientFactory.buseCheck(GrpcClientFactory.java:267) [chainmaker-sdk-java-2.3.2.jar:2.3.2] at org.chainmaker.sdk.GrpcClientFactory.createRpcClient(GrpcClientFactory.java:129) [chainmaker-sdk-java-2.3.2.jar:2.3.2] at org.chainmaker.sdk.GrpcClientFactory.create(GrpcClientFactory.java:109) [chainmaker-sdk-java-2.3.2.jar:2.3.2] at org.chainmaker.sdk.GrpcClientFactory.create(GrpcClientFactory.java:21) [chainmaker-sdk-java-2.3.2.jar:2.3.2] at org.apache.commons.pool2.BasePooledObjectFactory.makeObject(BasePooledObjectFactory.java:70) [commons-pool2-2.11.1.jar:2.11.1] at org.apache.commons.pool2.impl.GenericObjectPool.create(GenericObjectPool.java:571) [commons-pool2-2.11.1.jar:2.11.1] at org.apache.commons.pool2.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:298) [commons-pool2-2.11.1.jar:2.11.1] at org.apache.commons.pool2.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:223) [commons-pool2-2.11.1.jar:2.11.1] at org.chainmaker.sdk.ChainClient.sendTxRequest(ChainClient.java:2778) [chainmaker-sdk-java-2.3.2.jar:2.3.2] at org.chainmaker.sdk.ChainClient.sendRequest(ChainClient.java:3201) [chainmaker-sdk-java-2.3.2.jar:2.3.2] at org.chainmaker.sdk.ChainClient.proposalRequest(ChainClient.java:3107) [chainmaker-sdk-java-2.3.2.jar:2.3.2] at org.chainmaker.sdk.ChainClient.getChainConfig(ChainClient.java:1103) [chainmaker-sdk-java-2.3.2.jar:2.3.2] at chainmaker.sdk.demo.ChainConfig.getChainConfig(ChainConfig.java:11) [classes/:na] at chainmaker.sdk.demo.DemoApplication.main(DemoApplication.java:73) [classes/:na] Caused by: io.grpc.StatusRuntimeException: UNAVAILABLE: io exception Channel Pipeline: [SslHandler#0, ProtocolNegotiators$ClientTlsHandler#0, WriteBufferingAndExceptionHandler#0, DefaultChannelPipeline$TailContext#0] at io.grpc.Status.asRuntimeException(Status.java:539) ~[grpc-api-1.53.0.jar:1.53.0] at io.grpc.stub.ClientCalls$UnaryStreamToFuture.onClose(ClientCalls.java:544) ~[grpc-stub-1.53.0.jar:1.53.0] at io.grpc.internal.DelayedClientCall$DelayedListener$3.run(DelayedClientCall.java:489) ~[grpc-core-1.53.0.jar:1.53.0] at io.grpc.internal.DelayedClientCall$DelayedListener.delayOrExecute(DelayedClientCall.java:453) ~[grpc-core-1.53.0.jar:1.53.0] at io.grpc.internal.DelayedClientCall$DelayedListener.onClose(DelayedClientCall.java:486) ~[grpc-core-1.53.0.jar:1.53.0] at io.grpc.internal.ClientCallImpl.closeObserver(ClientCallImpl.java:576) ~[grpc-core-1.53.0.jar:1.53.0] at io.grpc.internal.ClientCallImpl.access$300(ClientCallImpl.java:70) ~[grpc-core-1.53.0.jar:1.53.0] at io.grpc.internal.ClientCallImpl$ClientStreamListenerImpl$1StreamClosed.runInternal(ClientCallImpl.java:757) ~[grpc-core-1.53.0.jar:1.53.0] at io.grpc.internal.ClientCallImpl$ClientStreamListenerImpl$1StreamClosed.runInContext(ClientCallImpl.java:736) ~[grpc-core-1.53.0.jar:1.53.0] at io.grpc.internal.ContextRunnable.run(ContextRunnable.java:37) ~[grpc-core-1.53.0.jar:1.53.0] at io.grpc.internal.SerializingExecutor.run(SerializingExecutor.java:133) ~[grpc-core-1.53.0.jar:1.53.0] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) ~[na:1.8.0_251] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) ~[na:1.8.0_251] at java.lang.Thread.run(Thread.java:748) ~[na:1.8.0_251] Caused by: javax.net.ssl.SSLHandshakeException: General OpenSslEngine problem at io.netty.handler.ssl.ReferenceCountedOpenSslEngine.handshakeException(ReferenceCountedOpenSslEngine.java:1772) ~[netty-handler-4.1.53.Final.jar:4.1.53.Final] at io.netty.handler.ssl.ReferenceCountedOpenSslEngine.wrap(ReferenceCountedOpenSslEngine.java:777) ~[netty-handler-4.1.53.Final.jar:4.1.53.Final] at javax.net.ssl.SSLEngine.wrap(SSLEngine.java:511) ~[na:1.8.0_251] at io.netty.handler.ssl.SslHandler.wrap(SslHandler.java:1086) ~[netty-handler-4.1.53.Final.jar:4.1.53.Final] at io.netty.handler.ssl.SslHandler.wrapNonAppData(SslHandler.java:977) ~[netty-handler-4.1.53.Final.jar:4.1.53.Final] at io.netty.handler.ssl.SslHandler.unwrap(SslHandler.java:1450) ~[netty-handler-4.1.53.Final.jar:4.1.53.Final] at io.netty.handler.ssl.SslHandler.decodeJdkCompatible(SslHandler.java:1282) ~[netty-handler-4.1.53.Final.jar:4.1.53.Final] at io.netty.handler.ssl.SslHandler.decode(SslHandler.java:1329) ~[netty-handler-4.1.53.Final.jar:4.1.53.Final] at io.netty.handler.codec.ByteToMessageDecoder.decodeRemovalReentryProtection(ByteToMessageDecoder.java:507) ~[netty-codec-4.1.68.Final.jar:4.1.68.Final] at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:446) ~[netty-codec-4.1.68.Final.jar:4.1.68.Final] at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:276) ~[netty-codec-4.1.68.Final.jar:4.1.68.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) ~[netty-transport-4.1.68.Final.jar:4.1.68.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) ~[netty-transport-4.1.68.Final.jar:4.1.68.Final] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) ~[netty-transport-4.1.68.Final.jar:4.1.68.Final] at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410) ~[netty-transport-4.1.68.Final.jar:4.1.68.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) ~[netty-transport-4.1.68.Final.jar:4.1.68.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) ~[netty-transport-4.1.68.Final.jar:4.1.68.Final] at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919) ~[netty-transport-4.1.68.Final.jar:4.1.68.Final] at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:166) ~[netty-transport-4.1.68.Final.jar:4.1.68.Final] at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:719) ~[netty-transport-4.1.68.Final.jar:4.1.68.Final] at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:655) ~[netty-transport-4.1.68.Final.jar:4.1.68.Final] at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:581) ~[netty-transport-4.1.68.Final.jar:4.1.68.Final] at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:493) ~[netty-transport-4.1.68.Final.jar:4.1.68.Final] at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:986) ~[netty-common-4.1.68.Final.jar:4.1.68.Final] at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) ~[netty-common-4.1.68.Final.jar:4.1.68.Final] at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) ~[netty-common-4.1.68.Final.jar:4.1.68.Final] ... 1 common frames omitted Caused by: sun.security.validator.ValidatorException: PKIX path validation failed: java.security.cert.CertPathValidatorException: Path does not chain with any of the trust anchors at sun.security.validator.PKIXValidator.doValidate(PKIXValidator.java:380) ~[na:1.8.0_251] at sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:285) ~[na:1.8.0_251] at sun.security.validator.Validator.validate(Validator.java:262) ~[na:1.8.0_251] at sun.security.ssl.X509TrustManagerImpl.validate(X509TrustManagerImpl.java:330) ~[na:1.8.0_251] at sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:279) ~[na:1.8.0_251] at sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:144) ~[na:1.8.0_251] at io.netty.handler.ssl.OpenSslTlsv13X509ExtendedTrustManager.checkServerTrusted(OpenSslTlsv13X509ExtendedTrustManager.java:223) ~[netty-handler-4.1.53.Final.jar:4.1.53.Final] at io.netty.handler.ssl.ReferenceCountedOpenSslClientContext$ExtendedTrustManagerVerifyCallback.verify(ReferenceCountedOpenSslClientContext.java:261) ~[netty-handler-4.1.53.Final.jar:4.1.53.Final] at io.netty.handler.ssl.ReferenceCountedOpenSslContext$AbstractCertificateVerifier.verify(ReferenceCountedOpenSslContext.java:698) ~[netty-handler-4.1.53.Final.jar:4.1.53.Final] at io.netty.internal.tcnative.SSL.readFromSSL(Native Method) ~[netty-tcnative-openssl-static-2.0.39.Final.jar:na] at io.netty.handler.ssl.ReferenceCountedOpenSslEngine.readPlaintextData(ReferenceCountedOpenSslEngine.java:596) ~[netty-handler-4.1.53.Final.jar:4.1.53.Final] at io.netty.handler.ssl.ReferenceCountedOpenSslEngine.unwrap(ReferenceCountedOpenSslEngine.java:1203) ~[netty-handler-4.1.53.Final.jar:4.1.53.Final] at io.netty.handler.ssl.ReferenceCountedOpenSslEngine.unwrap(ReferenceCountedOpenSslEngine.java:1325) ~[netty-handler-4.1.53.Final.jar:4.1.53.Final] at io.netty.handler.ssl.ReferenceCountedOpenSslEngine.unwrap(ReferenceCountedOpenSslEngine.java:1368) ~[netty-handler-4.1.53.Final.jar:4.1.53.Final] at io.netty.handler.ssl.SslHandler$SslEngineType$1.unwrap(SslHandler.java:206) ~[netty-handler-4.1.53.Final.jar:4.1.53.Final] at io.netty.handler.ssl.SslHandler.unwrap(SslHandler.java:1387) ~[netty-handler-4.1.53.Final.jar:4.1.53.Final] ... 21 common frames omitted Suppressed: javax.net.ssl.SSLHandshakeException: error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed at io.netty.handler.ssl.ReferenceCountedOpenSslEngine.sslReadErrorResult(ReferenceCountedOpenSslEngine.java:1288) ~[netty-handler-4.1.53.Final.jar:4.1.53.Final] at io.netty.handler.ssl.ReferenceCountedOpenSslEngine.unwrap(ReferenceCountedOpenSslEngine.java:1249) ~[netty-handler-4.1.53.Final.jar:4.1.53.Final] ... 25 common frames omitted Caused by: java.security.cert.CertPathValidatorException: Path does not chain with any of the trust anchors at sun.security.provider.certpath.PKIXCertPathValidator.validate(PKIXCertPathValidator.java:159) ~[na:1.8.0_251] at sun.security.provider.certpath.PKIXCertPathValidator.engineValidate(PKIXCertPathValidator.java:85) ~[na:1.8.0_251] at java.security.cert.CertPathValidator.validate(CertPathValidator.java:292) ~[na:1.8.0_251] at sun.security.validator.PKIXValidator.doValidate(PKIXValidator.java:375) ~[na:1.8.0_251] ... 36 common frames omitted
2024-11-11 16:01:58.126 WARN 66620 --- [ main] org.chainmaker.sdk.GrpcClientFactory : ===============创建连接失败,把节点加入异常节点grpcs://192.168.2.108:12301 2024-11-11 16:01:58.126 WARN 66620 --- [ main] org.chainmaker.sdk.GrpcClientFactory : create chainClient error:no node can use 2024-11-11 16:01:58.126 WARN 66620 --- [ main] org.chainmaker.sdk.GrpcClientFactory : ===============创建连接失败create chainClient error:no node can use,把节点加入异常节点grpcs://192.168.2.108:12301 2024-11-11 16:01:58.127 ERROR 66620 --- [ main] org.chainmaker.sdk.GrpcClientFactory : create chainClient error:no node can use
java.lang.RuntimeException: create chainClient error:no node can use at org.chainmaker.sdk.GrpcClientFactory.createRpcClient(GrpcClientFactory.java:139) [chainmaker-sdk-java-2.3.2.jar:2.3.2] at org.chainmaker.sdk.GrpcClientFactory.create(GrpcClientFactory.java:109) [chainmaker-sdk-java-2.3.2.jar:2.3.2] at org.chainmaker.sdk.GrpcClientFactory.create(GrpcClientFactory.java:21) [chainmaker-sdk-java-2.3.2.jar:2.3.2] at org.apache.commons.pool2.BasePooledObjectFactory.makeObject(BasePooledObjectFactory.java:70) [commons-pool2-2.11.1.jar:2.11.1] at org.apache.commons.pool2.impl.GenericObjectPool.create(GenericObjectPool.java:571) [commons-pool2-2.11.1.jar:2.11.1] at org.apache.commons.pool2.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:298) [commons-pool2-2.11.1.jar:2.11.1] at org.apache.commons.pool2.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:223) [commons-pool2-2.11.1.jar:2.11.1] at org.chainmaker.sdk.ChainClient.sendTxRequest(ChainClient.java:2778) [chainmaker-sdk-java-2.3.2.jar:2.3.2] at org.chainmaker.sdk.ChainClient.sendRequest(ChainClient.java:3201) [chainmaker-sdk-java-2.3.2.jar:2.3.2] at org.chainmaker.sdk.ChainClient.proposalRequest(ChainClient.java:3107) [chainmaker-sdk-java-2.3.2.jar:2.3.2] at org.chainmaker.sdk.ChainClient.getChainConfig(ChainClient.java:1103) [chainmaker-sdk-java-2.3.2.jar:2.3.2] at chainmaker.sdk.demo.ChainConfig.getChainConfig(ChainConfig.java:11) [classes/:na] at chainmaker.sdk.demo.DemoApplication.main(DemoApplication.java:73) [classes/:na]
java.lang.RuntimeException: java.lang.RuntimeException: create chainClient error:no node can use at org.chainmaker.sdk.ChainClient.sendTxRequest(ChainClient.java:2784) at org.chainmaker.sdk.ChainClient.sendRequest(ChainClient.java:3201) at org.chainmaker.sdk.ChainClient.proposalRequest(ChainClient.java:3107) at org.chainmaker.sdk.ChainClient.getChainConfig(ChainClient.java:1103) at chainmaker.sdk.demo.ChainConfig.getChainConfig(ChainConfig.java:11) at chainmaker.sdk.demo.DemoApplication.main(DemoApplication.java:73) Caused by: java.lang.RuntimeException: create chainClient error:no node can use at org.chainmaker.sdk.GrpcClientFactory.createRpcClient(GrpcClientFactory.java:156) at org.chainmaker.sdk.GrpcClientFactory.create(GrpcClientFactory.java:109) at org.chainmaker.sdk.GrpcClientFactory.create(GrpcClientFactory.java:21) at org.apache.commons.pool2.BasePooledObjectFactory.makeObject(BasePooledObjectFactory.java:70) at org.apache.commons.pool2.impl.GenericObjectPool.create(GenericObjectPool.java:571) at org.apache.commons.pool2.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:298) at org.apache.commons.pool2.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:223) at org.chainmaker.sdk.ChainClient.sendTxRequest(ChainClient.java:2778) ... 5 more Exception in thread "main" java.lang.NullPointerException at chainmaker.sdk.demo.ChainConfig.getChainConfig(ChainConfig.java:15) at chainmaker.sdk.demo.DemoApplication.main(DemoApplication.java:73)