About error when sending multiple requests

2019-06-13 01:43发布

问题:

On Hyperledger Fabric v1, I am trying to throw multiple requests to the same channel at the same time.

But the following error came out.

Error: EventHub has been shutdown

Is there a limit on the number of simultaneous execution of chaincodes?

If there is a limit, is there a parameter to increase it?

Kindly let me know why this happens.

回答1:

To give more clarity on this, The event hub stops after a given period of time and the endorsement takes more time for processing and once the endorsements completed, it'll throw an event. But before that the eventhub will timeout and wont be able to catch it. The best way to fix it is by increasing the timeout time in your connection profile