Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Sign in
issue
issue
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 23
    • Issues 23
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar

新注册的用户请输入邮箱并保存,随后登录邮箱激活账号。后续可直接使用邮箱登录!

  • chainmaker
  • issueissue
  • Issues
  • #718

Closed
Open
Opened Jun 14, 2023 by hengting liu@liuhengting1 of 19 tasks completed1/19 tasks

Pulic模式下 Java SDK getChainInfo 报authentication failed

【问题分类】

  • bug
  • P2P网络相关(包含libp2p,liquid)
  • 链账户身份与权限相关(证书问题、public、多签投票问题)
  • 核心交易引擎相关(交易池、DAG)
  • 共识相关
  • 智能合约相关
  • 存储相关
  • SDK相关
  • 长安链CMC工具
  • 长安链管理台
  • 长安链浏览器
  • 长安链合约IDE
  • 长安链web签名插件
  • 跨链相关
  • 轻节点相关
  • 隐私计算相关
  • 密码学相关
  • 环境依赖
  • 其他补充:

【问题描述】(请对问题进行描述,方便定位问题)

通过长安链管理平台创建了一个公钥模式(public)的区块链,然后使用Java SDK调用长安链调用获取区块链信息报错, 错误:tx verify failed, verify tx authentation failed, authentication error: authentication failed

SDKConfig的AuthType已设置为public, user_sign_key_file_path设置的区块链管理员的.key文件

具体的现象,操作步骤,前置条件等,尽可能描述清楚,有截图说明更佳

以下是测试代码包含SDKConfig相关配置

@Slf4j
public class ClientWithPKTest {

    @Test
    public void testSDKWithPK() throws Exception {
        ChainClient chainClient = getChainClientWithPK();

        Discovery.ChainInfo chainInfo = chainClient.getChainInfo(2000);
        List<Discovery.Node> nodeList = chainInfo.getNodeListList();
        System.out.println(JSONObject.toJSONString(nodeList));
    }

   private static ChainClient getChainClient() throws IOException, UtilsException, ChainClientException, RpcServiceClientException, ChainMakerCryptoSuiteException {
        Yaml yaml = new Yaml();
        InputStream in = ClientTest.class.getClassLoader().getResourceAsStream(SDK_CONFIG);

        SdkConfig sdkConfig;
        sdkConfig = yaml.loadAs(in, SdkConfig.class);
        assert in != null;
        in.close();

        // for(NodeConfig nodeConfig : sdkConfig.getChain_client().getNodes()) {
        //     List<byte[]> tlsCaCertList = new ArrayList<>();
        //     for(String rootPath : nodeConfig.getTrustRootPaths()) {
        //         List<String> filePathList = FileUtils.getFilesByPath(rootPath);
        //         for(String filePath : filePathList) {
        //             tlsCaCertList.add(FileUtils.getFileBytes(filePath));
        //         }
        //     }
        //     byte[][] tlsCaCerts = new byte[tlsCaCertList.size()][];
        //     tlsCaCertList.toArray(tlsCaCerts);
        //     nodeConfig.setTrustRootBytes(tlsCaCerts);
        // }

        ChainManager chainManager = ChainManager.getInstance();
        ChainClient chainClient = chainManager.getChainClient(sdkConfig.getChain_client().getChainId());

        if(chainClient == null) {
            chainClient = chainManager.createChainClient(sdkConfig);
        }
        return chainClient;
    }
}

配置文件

chain_client:
  # 链ID
  chain_id: "testChainWithPK"

  # 客户端用户交易签名私钥路径
  user_sign_key_file_path: "src/test/resources/testChainWithPK/testChainAdmin1.key"

  # 签名使用的哈希算法,和节点保持一直
  crypto:
    hash: SHA256
  auth_type: public

  nodes:
    - # 节点地址,格式为:IP:端口:连接数
      node_addr: "*:10101"
      # 节点连接数
      conn_cnt: 10

#  archive:
#    # 数据归档链外存储相关配置
#    type: "mysql"
#    dest: "root:123456:localhost:3306"
#    secret_key: xxx

  rpc_client:
    # grpc客户端最大接受容量(MB)
    max_receive_message_size: 16

  # 交易结果是否订阅获取
  enable_tx_result_dispatcher: false

  ##连接池配置
  connPool:
    # 最大连接数
    maxTotal: 100
    # 最少空闲连接
    minIdle: 5
    #最大空闲连接
    maxIdle: 20
    #连接空闲最小保活时间,默认即为-1,单位:ms
    #当空闲的时间大于这个值时,强制移除该空闲对象
    minEvictableIdleTime: -1
    #连接空闲最小保活时间,默认即为30分钟(1800000),单位:ms
    #当对象的空闲时间超过这个值,并且当前空闲对象的数量大于最小空闲数量(minIdle)时,执行移除操作
    softMinEvictableIdleTime: 1800000
    #回收空闲线程的执行周期,单位毫秒。默认值5分钟(300000) ,-1 表示不启用线程回收资源,单位:ms
    timeBetweenEvictionRuns: 300000
    #没有空闲连接时,获取连接是否阻塞
    blockWhenExhausted: true
    #当没有空闲连接时,获取连接阻塞等待时间,单位:ms
    maxWaitMillis: 11000

Java SDK测试代码的异常栈

org.chainmaker.sdk.ChainClientException: tx verify failed, verify tx authentation failed, authentication error: authentication failed, [refine endorsements failed, all endorsers have failed verification], txId:478e1f6ddee8f8260b308a12cce50407754a6b835a479f9cedd8d616dd7325ae, sender:2d2d2d2d2d424547494e205055424c4943204b45592d2d2d2d2d0d0a4d466b77457759484b6f5a497a6a3043415159494b6f45637a3155426769304451674145314a2f50716a3843646839566d6243344f63684559644f50477338430d0a7276747a464a7966624f7852344e5154494948746f56486d77446e79797072365a70736d55592b4e325874696842356736444652694b614258513d3d0d0a2d2d2d2d2d454e44205055424c4943204b45592d2d2d2d2d0d0a

	at org.chainmaker.sdk.ChainClient.checkProposalRequestResp(ChainClient.java:2790)
	at org.chainmaker.sdk.ChainClient.getChainInfo(ChainClient.java:686)
	at chainmaker.sdk.demo.ClientWithPKTest.testSDKWithPK(ClientWithPKTest.java:79)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:688)
	at org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131)
	at org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:149)
	at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestableMethod(TimeoutExtension.java:140)
	at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestMethod(TimeoutExtension.java:84)
	at org.junit.jupiter.engine.execution.ExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(ExecutableInvoker.java:115)
	at org.junit.jupiter.engine.execution.ExecutableInvoker.lambda$invoke$0(ExecutableInvoker.java:105)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain.proceed(InvocationInterceptorChain.java:64)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain.chainAndInvoke(InvocationInterceptorChain.java:45)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain.invoke(InvocationInterceptorChain.java:37)
	at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:104)
	at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:98)
	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeTestMethod$6(TestMethodTestDescriptor.java:210)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeTestMethod(TestMethodTestDescriptor.java:206)
	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:131)
	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:65)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:139)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129)
	at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84)
	at java.util.ArrayList.forEach(ArrayList.java:1257)
	at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:38)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:143)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129)
	at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84)
	at java.util.ArrayList.forEach(ArrayList.java:1257)
	at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:38)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:143)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129)
	at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84)
	at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:32)
	at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:57)
	at org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:51)
	at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:108)
	at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:88)
	at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:54)
	at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:67)
	at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:52)
	at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:96)
	at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:75)
	at com.intellij.junit5.JUnit5IdeaTestRunner.startRunnerWithArgs(JUnit5IdeaTestRunner.java:57)
	at com.intellij.rt.junit.IdeaTestRunner$Repeater$1.execute(IdeaTestRunner.java:38)
	at com.intellij.rt.execution.junit.TestsRepeater.repeat(TestsRepeater.java:11)
	at com.intellij.rt.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:35)
	at com.intellij.rt.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:235)
	at com.intellij.rt.junit.JUnitStarter.main(JUnitStarter.java:54)

【相关日志文件】(如果有报错日志请贴图,或者上传附件)

chainmaker-go 的 log/system.log & bin/panic.log file *

下面是public模式区块链四个节点的日志片段都有报一段WARN日志 [Net] send msg failed, node not connected, nodeId: [QmWdjPRvyAk5kyE5MQD6mZpipKMB5UGyMy6txCzi7erbXv] 但是在管理后台发起上链中调用合约还是能正常执行

==> chainmaker-v2.3.0-merchantNode1/log/system.log <==
2023-06-14 15:44:56.335	[INFO]	[Consensus] @testChainWithPK	v2@v2.3.2/tbft_status_broadcaster.go:193	[QmZ4t6hA6UZ55DZvX96QjkzGfnghfKmm3PqAqLRJi8xtrU](3/10/PROPOSE) send state to [QmXmxtjBAYCqLNpytgXVBGE4WyBbsApMj4p3Q1wkdSBt5R](3/10/PROPOSE)
2023-06-14 15:44:56.335	[WARN]	[Net]	libp2pnet/libp2p_net.go:435	[Net] send msg failed, node not connected, nodeId: [QmWdjPRvyAk5kyE5MQD6mZpipKMB5UGyMy6txCzi7erbXv]
2023-06-14 15:44:56.834	[INFO]	[Consensus] @testChainWithPK	v2@v2.3.2/tbft_status_broadcaster.go:193	[QmZ4t6hA6UZ55DZvX96QjkzGfnghfKmm3PqAqLRJi8xtrU](3/10/PROPOSE) send state to [QmWdjPRvyAk5kyE5MQD6mZpipKMB5UGyMy6txCzi7erbXv](0/0/NEW_HEIGHT)
2023-06-14 15:44:56.835	[INFO]	[Consensus] @testChainWithPK	v2@v2.3.2/tbft_status_broadcaster.go:193	[QmZ4t6hA6UZ55DZvX96QjkzGfnghfKmm3PqAqLRJi8xtrU](3/10/PROPOSE) send state to [QmXg3eYWZr9Xc6Fy1gDnnVMqbXden3Qjh88bxJT2y1XnrC](3/10/PROPOSE)
2023-06-14 15:44:56.835	[INFO]	[Consensus] @testChainWithPK	v2@v2.3.2/tbft_status_broadcaster.go:193	[QmZ4t6hA6UZ55DZvX96QjkzGfnghfKmm3PqAqLRJi8xtrU](3/10/PROPOSE) send state to [QmXmxtjBAYCqLNpytgXVBGE4WyBbsApMj4p3Q1wkdSBt5R](3/10/PROPOSE)
2023-06-14 15:44:56.835	[WARN]	[Net]	libp2pnet/libp2p_net.go:435	[Net] send msg failed, node not connected, nodeId: [QmWdjPRvyAk5kyE5MQD6mZpipKMB5UGyMy6txCzi7erbXv]
2023-06-14 15:44:57.334	[INFO]	[Consensus] @testChainWithPK	v2@v2.3.2/tbft_status_broadcaster.go:193	[QmZ4t6hA6UZ55DZvX96QjkzGfnghfKmm3PqAqLRJi8xtrU](3/10/PROPOSE) send state to [QmWdjPRvyAk5kyE5MQD6mZpipKMB5UGyMy6txCzi7erbXv](0/0/NEW_HEIGHT)
2023-06-14 15:44:57.334	[INFO]	[Consensus] @testChainWithPK	v2@v2.3.2/tbft_status_broadcaster.go:193	[QmZ4t6hA6UZ55DZvX96QjkzGfnghfKmm3PqAqLRJi8xtrU](3/10/PROPOSE) send state to [QmXg3eYWZr9Xc6Fy1gDnnVMqbXden3Qjh88bxJT2y1XnrC](3/10/PROPOSE)
2023-06-14 15:44:57.334	[INFO]	[Consensus] @testChainWithPK	v2@v2.3.2/tbft_status_broadcaster.go:193	[QmZ4t6hA6UZ55DZvX96QjkzGfnghfKmm3PqAqLRJi8xtrU](3/10/PROPOSE) send state to [QmXmxtjBAYCqLNpytgXVBGE4WyBbsApMj4p3Q1wkdSBt5R](3/10/PROPOSE)
2023-06-14 15:44:57.334	[WARN]	[Net]	libp2pnet/libp2p_net.go:435	[Net] send msg failed, node not connected, nodeId: [QmWdjPRvyAk5kyE5MQD6mZpipKMB5UGyMy6txCzi7erbXv]

==> chainmaker-v2.3.0-merchantNode2/log/system.log <==
2023-06-14 15:42:06.823	[INFO]	[Net]	libp2pnet/libp2p_net.go:887	[Net] add peer to chain pub-sub white list, (pid: QmZ4t6hA6UZ55DZvX96QjkzGfnghfKmm3PqAqLRJi8xtrU, chain id: testChainWithPK)
2023-06-14 15:42:06.823	[INFO]	[Net]	libp2pnet/libp2p_net.go:887	[Net] add peer to chain pub-sub white list, (pid: QmXg3eYWZr9Xc6Fy1gDnnVMqbXden3Qjh88bxJT2y1XnrC, chain id: testChainWithPK)
2023-06-14 15:42:21.824	[INFO]	[Net]	libp2pnet/libp2p_connection_gater.go:81	[ConnGater.InterceptSecured] peer has connected. ignored. (peer-id:QmXmxtjBAYCqLNpytgXVBGE4WyBbsApMj4p3Q1wkdSBt5R)
2023-06-14 15:42:21.833	[INFO]	[Net]	libp2pnet/libp2p_connection_supervisor.go:186	[ConnSupervisor] try to connect to peer failed(peer: {QmWdjPRvyAk5kyE5MQD6mZpipKMB5UGyMy6txCzi7erbXv: [/ip4/127.0.0.1/tcp/10112]}, times: 12),failed to dial QmWdjPRvyAk5kyE5MQD6mZpipKMB5UGyMy6txCzi7erbXv: no good addresses
2023-06-14 15:42:21.901	[INFO]	[Net]	libp2pnet/libp2p_connection_gater.go:81	[ConnGater.InterceptSecured] peer has connected. ignored. (peer-id:QmZ4t6hA6UZ55DZvX96QjkzGfnghfKmm3PqAqLRJi8xtrU)
2023-06-14 15:42:21.920	[INFO]	[Net]	libp2pnet/libp2p_connection_gater.go:81	[ConnGater.InterceptSecured] peer has connected. ignored. (peer-id:QmXg3eYWZr9Xc6Fy1gDnnVMqbXden3Qjh88bxJT2y1XnrC)
2023-06-14 15:44:06.823	[INFO]	[Net]	libp2pnet/libp2p_net.go:887	[Net] add peer to chain pub-sub white list, (pid: QmausWhoNLwN7WRzfTdsAB93oE2sGQTzHzRzPR9985yXs7, chain id: testChainWithPK)
2023-06-14 15:44:06.823	[INFO]	[Net]	libp2pnet/libp2p_net.go:887	[Net] add peer to chain pub-sub white list, (pid: QmXmxtjBAYCqLNpytgXVBGE4WyBbsApMj4p3Q1wkdSBt5R, chain id: testChainWithPK)
2023-06-14 15:44:06.823	[INFO]	[Net]	libp2pnet/libp2p_net.go:887	[Net] add peer to chain pub-sub white list, (pid: QmZ4t6hA6UZ55DZvX96QjkzGfnghfKmm3PqAqLRJi8xtrU, chain id: testChainWithPK)
2023-06-14 15:44:06.824	[INFO]	[Net]	libp2pnet/libp2p_net.go:887	[Net] add peer to chain pub-sub white list, (pid: QmXg3eYWZr9Xc6Fy1gDnnVMqbXden3Qjh88bxJT2y1XnrC, chain id: testChainWithPK)

==> chainmaker-v2.3.0-supplierNode1/log/system.log <==
2023-06-14 15:44:56.273	[INFO]	[Consensus] @testChainWithPK	v2@v2.3.2/tbft_status_broadcaster.go:193	[QmXmxtjBAYCqLNpytgXVBGE4WyBbsApMj4p3Q1wkdSBt5R](3/10/PROPOSE) send state to [QmZ4t6hA6UZ55DZvX96QjkzGfnghfKmm3PqAqLRJi8xtrU](3/10/PROPOSE)
2023-06-14 15:44:56.274	[WARN]	[Net]	libp2pnet/libp2p_net.go:435	[Net] send msg failed, node not connected, nodeId: [QmWdjPRvyAk5kyE5MQD6mZpipKMB5UGyMy6txCzi7erbXv]
2023-06-14 15:44:56.773	[INFO]	[Consensus] @testChainWithPK	v2@v2.3.2/tbft_status_broadcaster.go:193	[QmXmxtjBAYCqLNpytgXVBGE4WyBbsApMj4p3Q1wkdSBt5R](3/10/PROPOSE) send state to [QmXg3eYWZr9Xc6Fy1gDnnVMqbXden3Qjh88bxJT2y1XnrC](3/10/PROPOSE)
2023-06-14 15:44:56.773	[INFO]	[Consensus] @testChainWithPK	v2@v2.3.2/tbft_status_broadcaster.go:193	[QmXmxtjBAYCqLNpytgXVBGE4WyBbsApMj4p3Q1wkdSBt5R](3/10/PROPOSE) send state to [QmZ4t6hA6UZ55DZvX96QjkzGfnghfKmm3PqAqLRJi8xtrU](3/10/PROPOSE)
2023-06-14 15:44:56.773	[INFO]	[Consensus] @testChainWithPK	v2@v2.3.2/tbft_status_broadcaster.go:193	[QmXmxtjBAYCqLNpytgXVBGE4WyBbsApMj4p3Q1wkdSBt5R](3/10/PROPOSE) send state to [QmWdjPRvyAk5kyE5MQD6mZpipKMB5UGyMy6txCzi7erbXv](0/0/NEW_HEIGHT)
2023-06-14 15:44:56.773	[WARN]	[Net]	libp2pnet/libp2p_net.go:435	[Net] send msg failed, node not connected, nodeId: [QmWdjPRvyAk5kyE5MQD6mZpipKMB5UGyMy6txCzi7erbXv]
2023-06-14 15:44:57.273	[INFO]	[Consensus] @testChainWithPK	v2@v2.3.2/tbft_status_broadcaster.go:193	[QmXmxtjBAYCqLNpytgXVBGE4WyBbsApMj4p3Q1wkdSBt5R](3/10/PROPOSE) send state to [QmWdjPRvyAk5kyE5MQD6mZpipKMB5UGyMy6txCzi7erbXv](0/0/NEW_HEIGHT)
2023-06-14 15:44:57.273	[INFO]	[Consensus] @testChainWithPK	v2@v2.3.2/tbft_status_broadcaster.go:193	[QmXmxtjBAYCqLNpytgXVBGE4WyBbsApMj4p3Q1wkdSBt5R](3/10/PROPOSE) send state to [QmXg3eYWZr9Xc6Fy1gDnnVMqbXden3Qjh88bxJT2y1XnrC](3/10/PROPOSE)
2023-06-14 15:44:57.273	[INFO]	[Consensus] @testChainWithPK	v2@v2.3.2/tbft_status_broadcaster.go:193	[QmXmxtjBAYCqLNpytgXVBGE4WyBbsApMj4p3Q1wkdSBt5R](3/10/PROPOSE) send state to [QmZ4t6hA6UZ55DZvX96QjkzGfnghfKmm3PqAqLRJi8xtrU](3/10/PROPOSE)
2023-06-14 15:44:57.273	[WARN]	[Net]	libp2pnet/libp2p_net.go:435	[Net] send msg failed, node not connected, nodeId: [QmWdjPRvyAk5kyE5MQD6mZpipKMB5UGyMy6txCzi7erbXv]

==> chainmaker-v2.3.0-supplierNode2/log/system.log <==
2023-06-14 15:44:56.355	[INFO]	[Consensus] @testChainWithPK	v2@v2.3.2/tbft_status_broadcaster.go:193	[QmXg3eYWZr9Xc6Fy1gDnnVMqbXden3Qjh88bxJT2y1XnrC](3/10/PROPOSE) send state to [QmZ4t6hA6UZ55DZvX96QjkzGfnghfKmm3PqAqLRJi8xtrU](3/10/PROPOSE)
2023-06-14 15:44:56.355	[WARN]	[Net]	libp2pnet/libp2p_net.go:435	[Net] send msg failed, node not connected, nodeId: [QmWdjPRvyAk5kyE5MQD6mZpipKMB5UGyMy6txCzi7erbXv]
2023-06-14 15:44:56.857	[INFO]	[Consensus] @testChainWithPK	v2@v2.3.2/tbft_status_broadcaster.go:193	[QmXg3eYWZr9Xc6Fy1gDnnVMqbXden3Qjh88bxJT2y1XnrC](3/10/PROPOSE) send state to [QmWdjPRvyAk5kyE5MQD6mZpipKMB5UGyMy6txCzi7erbXv](0/0/NEW_HEIGHT)
2023-06-14 15:44:56.857	[INFO]	[Consensus] @testChainWithPK	v2@v2.3.2/tbft_status_broadcaster.go:193	[QmXg3eYWZr9Xc6Fy1gDnnVMqbXden3Qjh88bxJT2y1XnrC](3/10/PROPOSE) send state to [QmXmxtjBAYCqLNpytgXVBGE4WyBbsApMj4p3Q1wkdSBt5R](3/10/PROPOSE)
2023-06-14 15:44:56.857	[INFO]	[Consensus] @testChainWithPK	v2@v2.3.2/tbft_status_broadcaster.go:193	[QmXg3eYWZr9Xc6Fy1gDnnVMqbXden3Qjh88bxJT2y1XnrC](3/10/PROPOSE) send state to [QmZ4t6hA6UZ55DZvX96QjkzGfnghfKmm3PqAqLRJi8xtrU](3/10/PROPOSE)
2023-06-14 15:44:56.857	[WARN]	[Net]	libp2pnet/libp2p_net.go:435	[Net] send msg failed, node not connected, nodeId: [QmWdjPRvyAk5kyE5MQD6mZpipKMB5UGyMy6txCzi7erbXv]

SDK 的 sdk.log file

【系统信息】(请填写系统信息,方便定位问题)

  • chainmaker-go version * : [v2.1.0]
  • OS & version * :
  • docker镜像 version:
  • 管理台 version:
    • 如果是管理台的相关问题,请附带管理台版本,如果不是可忽略。
  • 区块浏览器 version:
    • 如果是浏览器的相关问题,请附带浏览器版本,如果不是可忽略。
  • 合约IDE version:
    • 如果是合约IDE的相关问题,请附带合约IDE版本,如果不是可忽略。
  • web签名插件 version:
    • 如果是web签名插件的相关问题,请附带web签名插件版本,如果不是可忽略。
Edited Jun 14, 2023 by hengting liu
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: chainmaker/issue#718

Copyright © 2021 ChainMaker Org. All Rights Reserved. 长安链 版权所有。