Time out while connecting to Orderer node of HyperLedger using java sdk based client -
i trying invoke existing example of hyperledger fabcar using java client (making use of java sdk integration). have setup fabric on 1 of aws instances , running is. however, when executing program , reaches channel.initialize()
throws following exception
sep 12, 2017 8:57:08 org.hyperledger.fabric.sdk.channel getconfigurationblock severe: channel mychannel senddeliver time exceeded orderer orderer.example.com, timed out @ 3000 org.hyperledger.fabric.sdk.exception.transactionexception: channel mychannel senddeliver time exceeded orderer orderer.example.com, timed out @ 3000 @ org.hyperledger.fabric.sdk.ordererclient.senddeliver(ordererclient.java:282) @ org.hyperledger.fabric.sdk.orderer.senddeliver(orderer.java:172) @ org.hyperledger.fabric.sdk.channel.seekblock(channel.java:1220) @ org.hyperledger.fabric.sdk.channel.getlatestblock(channel.java:1296) @ org.hyperledger.fabric.sdk.channel.getlastconfigindex(channel.java:1119) @ org.hyperledger.fabric.sdk.channel.getconfigurationblock(channel.java:1046) @ org.hyperledger.fabric.sdk.channel.parseconfigblock(channel.java:967) @ org.hyperledger.fabric.sdk.channel.initialize(channel.java:694) @ client.main(client.java:73)
sep 12, 2017 8:57:08 org.hyperledger.fabric.sdk.channel parseconfigblock severe: channel mychannel senddeliver time exceeded orderer orderer.example.com, timed out @ 3000 org.hyperledger.fabric.sdk.exception.transactionexception: channel mychannel senddeliver time exceeded orderer orderer.example.com, timed out @ 3000 @ org.hyperledger.fabric.sdk.ordererclient.senddeliver(ordererclient.java:282) @ org.hyperledger.fabric.sdk.orderer.senddeliver(orderer.java:172) @ org.hyperledger.fabric.sdk.channel.seekblock(channel.java:1220) @ org.hyperledger.fabric.sdk.channel.getlatestblock(channel.java:1296) @ org.hyperledger.fabric.sdk.channel.getlastconfigindex(channel.java:1119) @ org.hyperledger.fabric.sdk.channel.getconfigurationblock(channel.java:1046) @ org.hyperledger.fabric.sdk.channel.parseconfigblock(channel.java:967) @ org.hyperledger.fabric.sdk.channel.initialize(channel.java:694) @ client.main(client.java:73)
sep 12, 2017 8:57:08 org.hyperledger.fabric.sdk.channel initialize severe: channel mychannel senddeliver time exceeded orderer orderer.example.com, timed out @ 3000 org.hyperledger.fabric.sdk.exception.transactionexception: channel mychannel senddeliver time exceeded orderer orderer.example.com, timed out @ 3000 @ org.hyperledger.fabric.sdk.ordererclient.senddeliver(ordererclient.java:282) @ org.hyperledger.fabric.sdk.orderer.senddeliver(orderer.java:172) @ org.hyperledger.fabric.sdk.channel.seekblock(channel.java:1220) @ org.hyperledger.fabric.sdk.channel.getlatestblock(channel.java:1296) @ org.hyperledger.fabric.sdk.channel.getlastconfigindex(channel.java:1119) @ org.hyperledger.fabric.sdk.channel.getconfigurationblock(channel.java:1046) @ org.hyperledger.fabric.sdk.channel.parseconfigblock(channel.java:967) @ org.hyperledger.fabric.sdk.channel.initialize(channel.java:694) @ client.main(client.java:73)
need check orderer logs if there issue there. may need timeout. when creating orderer add property "ordererwaittimemillisecs" value in millisecs "10000" 10 seconds.
Comments
Post a Comment