Skip to content

Conversation

ThomasRalee
Copy link
Contributor

@ThomasRalee ThomasRalee commented Jun 27, 2021

This PR:

  • resolves discoveryError not resetting waitingResp flag, causing a Have already been sending a request loop.
[WARN] FabricGateway - Failed to send discovery request for channel Error: DiscoveryService has failed to return results
    at DiscoveryService.send (.../blockchain-explorer/node_modules/fabric-common/lib/DiscoveryService.js:370:10)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
...
[INFO] FabricGateway - Have already been sending a request
[INFO] FabricGateway - Have already been sending a request
[INFO] FabricGateway - Have already been sending a request
[INFO] FabricGateway - Have already been sending a request
[INFO] FabricGateway - Have already been sending a request
  • resolves queryChainInfo timeout error killing explorer.
[ERROR] Sync - <<<<<<<<<<<<<<<<<<<<<<<<<< Synchronizer Error >>>>>>>>>>>>>>>>>>>>>
[ERROR] Sync - FabricError: Query failed. Errors: ["Error: REQUEST TIMEOUT"]
    at SingleQueryHandler.evaluate (.../blockchain-explorer/node_modules/fabric-network/lib/impl/query/singlequeryhandler.js:47:23)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async Transaction.evaluate (.../blockchain-explorer/node_modules/fabric-network/lib/transaction.js:276:25)
[INFO] Sync - <<<<<<<<<<<<<<<<<<<<<<<<<< Closing client processor >>>>>>>>>>>>>>>>>>>>>
[DEBUG] FabricEvent - disconnectEventHubs()
[DEBUG] FabricEvent - disconnectChannelEventHub(defaultchannel)

@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

Copy link
Contributor

@nekia nekia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me.

@nekia nekia merged commit cc51dff into hyperledger-labs:main Jun 27, 2021
@ThomasRalee ThomasRalee deleted the bugfix/timeout-error-crashing-explorer branch June 27, 2021 09:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants