I created a functional network with 3 nodes and an orderer using the hyperleger fabric, in which I can carry out the communication between all nodes, executing existing operations in smart contracts. This network does not have TLS validation between nodes. The cryptographic material was created in one of the nodes and distributed among the other nodes in the network. Now I'm trying to check the performance of the network using the hyperledger caliper. I created the test file, the network file and the other files needed to perform the performance evaluation, however, I am getting Error 4 in return. Someone could help me, I am stuck on this problem for a few weeks and I don't see how to solve it.
2021.01.07-01:58:10.942 info [caliper] [cli-launch-manager] Set workspace path: /home/ubuntu/caliper/monitor-benchmark 2021.01.07-01:58:10.944 info [caliper] [cli-launch-manager] Set benchmark configuration path: /home/ubuntu/caliper/monitor-benchmark/config.yaml 2021.01.07-01:58:10.944 info [caliper] [cli-launch-manager] Set network configuration path: /home/ubuntu/caliper/monitor-benchmark/net.yaml 2021.01.07-01:58:10.944 info [caliper] [cli-launch-manager] Set SUT type: fabric 2021.01.07-01:58:10.978 info [caliper] [benchmark-validator] No observer specified, will default to `none` 2021.01.07-01:58:10.978 info [caliper] [caliper-engine] Starting benchmark flow 2021.01.07-01:58:11.518 info [caliper] [fabric-connector] Initializing gateway connector compatible with installed SDK: 1.4.14 2021.01.07-01:58:11.651 info [caliper] [connectors/v1/fabric-gateway] Creating new InMemoryWallets for organizations 2021.01.07-01:58:11.664 info [caliper] [caliper-engine] Network configuration attribute "caliper.command.start" is not present, skipping start command 2021.01.07-01:58:11.665 info [caliper] [connectors/v1/fabric-gateway] Fabric SDK version: 1.4.14; TLS: none 2021-01-07T01:58:12.118Z - error: [FabricCAClientService.js]: Failed to enroll admin, error:%o message=Calling enrollment endpoint failed with error [Error: connect ECONNREFUSED 192.169.0.4:7054], stack=Error: Calling enrollment endpoint failed with error [Error: connect ECONNREFUSED 192.169.0.4:7054] at ClientRequest.request.on (/home/ubuntu/caliper/monitor-benchmark/node_modules/fabric-ca-client/lib/FabricCAClient.js:487:12) at ClientRequest.emit (events.js:198:13) at Socket.socketErrorListener (_http_client.js:401:9) at Socket.emit (events.js:198:13) at emitErrorNT (internal/streams/destroy.js:91:8) at emitErrorAndCloseNT (internal/streams/destroy.js:59:3) at process._tickCallback (internal/process/next_tick.js:63:19) 2021.01.07-01:58:12.119 error [caliper] [caliper-engine] Error while performing "init" step: Error: Couldn't enroll Org1's registrar or set it as user context: Calling enrollment endpoint failed with error [Error: connect ECONNREFUSED 192.169.0.4:7054] 2021.01.07-01:58:12.120 info [caliper] [caliper-engine] Executed "init" step in 0.456 seconds 2021.01.07-01:58:12.120 info [caliper] [caliper-engine] Network configuration attribute "caliper.command.end" is not present, skipping end command 2021.01.07-01:58:12.120 error [caliper] [cli-launch-manager] Benchmark failed with error code 4 If necessary, I make the configuration files available to help find the cause of the problem.
https://stackoverflow.com/questions/65605734/getting-error-4-when-starting-the-hyperledger-caliper-benchmark January 07, 2021 at 10:07AM
没有评论:
发表评论