Comments (14)
In case this helps anyone: I was running into handshake issues with fabric on Mac OSX using node 10.X, but 8.X seems to work alright.
from caliper.
in my case it was a misconfigured network-config.yaml which had the wrong port number for fabric-ca and peers. resolved after correcting the port numbers.
from caliper.
Please try this operation :
- exec command "docker-compose -f network/fabric/simplenetwork/docker-compose.yaml up -d "
- delete start command from config-xxx.json
- wait seconds. (10s )
- exec command "node benchmark/simple/main.js -c config-fabric.json -n fabric.json"
from caliper.
One of the reasons is using unsuitable node version.
To add the Long Term Support (LTS) subversion of Node.js v8, we can use these commands:
curl https://raw.githubusercontent.com/creationix/nvm/master/install.sh | bash
source ~/.profile
nvm ls-remote
nvm install v8.16.0
nvm list
nvm use v8.16.0
node --version
from caliper.
Follow your steps(1~4), still return the same errors。
from caliper.
Did you change the port of peer or orderer? Are the ports same with .json file?
from caliper.
in fabric.json file, ip,port and server-hostname in orderer,peer and ca had been modified, but it still returned the same errors
from caliper.
im using caliper/network/fabric-v11/3-org-3-peer/docker-compose.yaml and change the mychannel.tx, twoorgs.genesis.block, crypto-config in my environment...
Then i have a similar error.
$ node benchmark/simple/main.js -n fabric.json
TAP version 13
#######Caliper Test######
docker-compose -f network/fabric-v11/3-org-3-peer/docker-compose.yaml up -d
Creating couchdb.peer1.org3.example.com ... done
Creating couchdb.peer2.org1.example.com ... done
Creating orderer.example.com ... done
Creating couchdb.peer1.org1.example.com ... done
Creating couchdb.peer2.org3.example.com ... done
Creating ca.org1.example.com ... done
Creating couchdb.peer1.org2.example.com ... done
Creating couchdb.peer2.org2.example.com ... done
Creating ca.org2.example.com ... done
Creating couchdb.peer0.org1.example.com ... done
Creating ca.org3.example.com ... done
Creating couchdb.peer0.org3.example.com ... done
Creating couchdb.peer0.org2.example.com ... done
Creating peer0.org3.example.com ... done
Creating peer1.org2.example.com ... done
Creating peer1.org3.example.com ... done
Creating peer0.org1.example.com ... done
Creating peer0.org2.example.com ... done
Creating peer2.org3.example.com ... done
Creating peer1.org1.example.com ... done
Creating peer2.org2.example.com ... done
Creating peer2.org1.example.com ... done
create mychannel......
E0629 21:10:57.958212000 140736024703872 ssl_transport_security.cc:989] Handshake failed with fatal error SSL_ERROR_SSL: error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number.
E0629 21:10:57.980125000 140736024703872 ssl_transport_security.cc:989] Handshake failed with fatal error SSL_ERROR_SSL: error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number.
error: [Orderer.js]: sendBroadcast - on error: "Error: 14 UNAVAILABLE: Connect Failed\n at createStatusError (/Users/shizuka/caliper1/caliper/node_modules/fabric-client/node_modules/grpc/src/client.js:64:15)\n at ClientDuplexStream._emitStatusIfDone (/Users/shizuka/caliper1/caliper/node_modules/fabric-client/node_modules/grpc/src/client.js:270:19)\n at ClientDuplexStream._readsDone (/Users/shizuka/caliper1/caliper/node_modules/fabric-client/node_modules/grpc/src/client.js:236:8)\n at readCallback (/Users/shizuka/caliper1/caliper/node_modules/fabric-client/node_modules/grpc/src/client.js:296:12)"
not ok 1 Failed to create channels Error: SERVICE_UNAVAILABLE at ClientDuplexStream. (/Users/shizuka/caliper1/caliper/node_modules/fabric-client/lib/Orderer.js:138:21) at ClientDuplexStream.emit (events.js:127:13) at ClientDuplexStream._emitStatusIfDone (/Users/shizuka/caliper1/caliper/node_modules/fabric-client/node_modules/grpc/src/client.js:271:12) at ClientDuplexStream._readsDone (/Users/shizuka/caliper1/caliper/node_modules/fabric-client/node_modules/grpc/src/client.js:236:8) at readCallback (/Users/shizuka/caliper1/caliper/node_modules/fabric-client/node_modules/grpc/src/client.js:296:12)
operator: fail
at: channels.reduce.then.then.catch (/Users/shizuka/caliper1/caliper/src/fabric/create-channel.js:160:19)
stack: |-
Error: Failed to create channels Error: SERVICE_UNAVAILABLE
at ClientDuplexStream.<anonymous> (/Users/shizuka/caliper1/caliper/node_modules/fabric-client/lib/Orderer.js:138:21)
at ClientDuplexStream.emit (events.js:127:13)
at ClientDuplexStream._emitStatusIfDone (/Users/shizuka/caliper1/caliper/node_modules/fabric-client/node_modules/grpc/src/client.js:271:12)
at ClientDuplexStream._readsDone (/Users/shizuka/caliper1/caliper/node_modules/fabric-client/node_modules/grpc/src/client.js:236:8)
at readCallback (/Users/shizuka/caliper1/caliper/node_modules/fabric-client/node_modules/grpc/src/client.js:296:12)
at Test.assert [as _assert] (/Users/shizuka/caliper1/caliper/node_modules/tape/lib/test.js:224:54)
at Test.bound [as _assert] (/Users/shizuka/caliper1/caliper/node_modules/tape/lib/test.js:76:32)
at Test.fail (/Users/shizuka/caliper1/caliper/node_modules/tape/lib/test.js:317:10)
at Test.bound [as fail] (/Users/shizuka/caliper1/caliper/node_modules/tape/lib/test.js:76:32)
at channels.reduce.then.then.catch (/Users/shizuka/caliper1/caliper/src/fabric/create-channel.js:160:19)
at <anonymous>
at process._tickCallback (internal/process/next_tick.js:160:7)
...
fabric.init() failed, Error: Fabric: Create channel failed
at channels.reduce.then.then.catch (/Users/shizuka/caliper1/caliper/src/fabric/create-channel.js:161:31)
at
at process._tickCallback (internal/process/next_tick.js:160:7)
not ok 2 TypeError: Cannot read property 'getUpdates' of undefined
operator: error
expected: |-
undefined
actual: |-
[TypeError: Cannot read property 'getUpdates' of undefined]
at: process.onetime (/Users/shizuka/caliper1/caliper/node_modules/onetime/index.js:22:12)
stack: |-
TypeError: Cannot read property 'getUpdates' of undefined
at update (/Users/shizuka/caliper1/caliper/src/gui/src/demo.js:145:26)
at Object.demoStopWatch [as stopWatch] (/Users/shizuka/caliper1/caliper/src/gui/src/demo.js:185:5)
at startPromise.then.then.then.then.then.then.catch (/Users/shizuka/caliper1/caliper/src/comm/bench-flow.js:347:18)
at <anonymous>
at process._tickCallback (internal/process/next_tick.js:160:7)
...
1..2
tests 2
pass 0
fail 2
is it possible to increase Peers in caliper benchmark test? Thanks!
from caliper.
I have same issue with EG-easy. Does anyone know about this issues?
from caliper.
👍
from caliper.
me too.
from caliper.
Have you solved your problem?I have the same problem
from caliper.
If someone is still encountering this issue after the proposed fixes, take a look at my comment in a similar issue.
from caliper.
I had face same problem.
refer to https://jira.hyperledger.org/browse/BE-799#,but no answer. I do everythins as official said ,but still error.
Fabric have so many problems in deploy process,may be ....
from caliper.
Related Issues (20)
- A Tutorial for using Besu similar to the Fabric tutorial HOT 2
- A Detailed Description about the use of the various Monitors, especially Prometheus HOT 1
- A Tutorial demonstrating using Prometheus and Grafana with Caliper HOT 1
- Missing Link: Deploy Hyperledger Caliper HOT 3
- Add a dummy connector to facilitate testing of caliper (also useful for build automation)
- Add unit tests for caliper-cli HOT 3
- Add unit tests for caliper-ethereum HOT 5
- Increase the unit test coverage for caliper-core HOT 3
- Documentation of the Ethereum Connector does not appear to match the implementation HOT 4
- A Tutorial on the use of declaritive workloads HOT 3
- When I increase the TPS, exceeding 110, errors occur,”Transaction nonce is too distant from current sender nonce“ or "Transaction nonce is too low"
- [Enhancement]: Increase test coverage of fixedRate controller. HOT 4
- ESLint `linebreak-style` Configuration Causes Errors on WindowsOS HOT 6
- Adding option to specify constructor arguments for contract deployment on Ethereum Connector HOT 1
- Add details around SmartBFT for fabric and the fact that the legacy 1.4 and 2.2 Fabric SDKs are unlikely to work
- Remove the Caliper Flow Control system HOT 1
- Caliper generator doesn't support the fixed-load rate controller
- Caliper ethereum documentation needs a complete overhaul HOT 6
- Interface on use of releaseContext and actual use differ, plus use of getContext/releaseContext doesn't seem correct within a worker
- Test flake in unit tests HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from caliper.