fabcar-blockchain-sample icon indicating copy to clipboard operation
fabcar-blockchain-sample copied to clipboard

error: [Network]: _initializeInternalChannel: no suitable peers available to initialize from

Open terryfernz opened this issue 5 years ago • 1 comments

Running this app inside a local environment and trying to create a car using the angular front end is throwing this error. error: [Network]: _initializeInternalChannel: no suitable peers available to initialize from Failed to evaluate transaction: Error: no suitable peers available to initialize from { error: 'no suitable peers available to initialize from' }

I am using the connection.json from the location contract/local_fabric/connection.json and the config.json is configured to allow gatewayDiscovery and is set to "gatewayDiscovery": { "enabled": true, "asLocalhost": true }

Any help will be well appreciated.

terryfernz avatar Nov 20 '19 07:11 terryfernz

@terryfernz

~We are currently in the process of performing some maintenance tasks on this code base. All these updates are added to the 2020-maintenance-work branch.~

~Can you try with the connection.json file in this branch instead? Here's the link to the file: https://github.com/IBM/fabcar-blockchain-sample/blob/2020-maintenance-work/web-app/server/connection.json~

We recently updated the code in this repo. Can you try with the latest version of the connection.json file?

sandhya-nayak avatar Jan 30 '20 03:01 sandhya-nayak