-
Notifications
You must be signed in to change notification settings - Fork 404
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
change MaxMessageCount and re-generate config, run simple test with fabric-v1.4 failed #431
Comments
The following is orderer log: 2019-04-30 06:58:27.593 UTC [localconfig] completeInitialization -> INFO 001 Kafka.Version unset, setting to 0.10.2.0 goroutine 1 [running]: |
@loganwu Make sure you use the same crypto materials for both the orderer and for regenerating the genesis block and channel tx. Probably you don't use the same CA certs in the genesis block and the orderer's trusted CA list. (It's usually cleaner to also regenerate the crypto materials during testing, so you have consistent configs and certs, without any leftover cert to mess with your setup.) |
I use the 'generate.sh' script in dir (/caliper-application/network/fabric-v1.4/config) to generate the genesis.block and crypto certs and mychannel.tx |
Yes, the same problem as Issue #415. Maybe we can modify the generate.sh to avoid the same problem. |
I wanna change MaxMessageCount in configtx.yam within fabric-v1.4.
So I re-generate mychannel.tx and orgs.genesis.block file, and re-run simple test failed:
commond: node run-benchmark.js -c ../benchmark/simple/config.yaml -t fabric -n ../network/fabric-v1.4/3org2peergoleveldb/fabric-go.json
log: info: [create-channel.js]: Creating mychannel...
2019-04-29T10:34:47.645Z - error: [Remote.js]: Error: Failed to connect before the deadline URL:grpc://localhost:7050
2019-04-29T10:34:47.646Z - error: [Orderer.js]: Orderer grpc://localhost:7050 has an error Error: Failed to connect before the deadline URL:grpc://localhost:7050
error: [create-channel.js]: Failed to create channels: Error: Failed to connect before the deadline URL:grpc://localhost:7050
at checkState (/home/loganwu/caliper/node_modules/fabric-client/node_modules/grpc/src/client.js:833:16)
error: [fabric.js]: Fabric initialization failed: Error: Failed to connect before the deadline URL:grpc://localhost:7050
at checkState (/home/loganwu/caliper/node_modules/fabric-client/node_modules/grpc/src/client.js:833:16)
error: [caliper-flow]: Error: Error: Failed to connect before the deadline URL:grpc://localhost:7050
at checkState (/home/loganwu/caliper/node_modules/fabric-client/node_modules/grpc/src/client.js:833:16)
The text was updated successfully, but these errors were encountered: