hyperledger-fabrichyperledgercaliperhyperledger-caliper

Error Failed to connect before the deadline running Hyperledger Caliper


When I run Hyperledger Caliper with Zookeper I get the following error:

enter image description here

I got this error in the client(different machine), obviously the address is not localhost, the address is the server ip.

When I go to logs, I can not see anything else... Only failed to connect before the deadline error and endorsement error because timeout

Facts:

Thanks in advance


Solution

  • Caliper's Zookeeper-based distributed client feature had a lot of problems, which is why it'll be removed in v0.2.0 and reimplemented in v0.3.0. I know this doesn't answer your question, but for now, I'd suggest spawning local clients. If you need a really high send rate, then you'll need a lot of clients (client processes should wait a lot for I/O, so you don't need as many CPU cores as clients).