-
Notifications
You must be signed in to change notification settings - Fork 23
Description
Loaded 0.0.11 version image in IBM-Blockchain/blockchain-vscode-extension. Ubuntu 20.04.
Error connecting to environment 1 Org Local Fabric: Error querying channels: Could not get all channel names, received: Failed to connect before the deadline on Endorser- name: Org1 Peer, url:grpc://org1peer-api.127-0-0-1.nip.io:8080, connected:false, connectAttempted:true
Ran the docker image 0.0.11 and all other higher versions in VS Code (v 1.79) Docker extension interactive mode as well as in terminal, log shows same error.
29/06/2023 21:18:30] [INFO] connecting to fabric environment
[29/06/2023 21:18:30] [INFO] startFabricRuntime
[29/06/2023 21:18:31] [INFO] CUSTOM_IMAGE=$@
[29/06/2023 21:18:31] [INFO] if [ -z "$CUSTOM_IMAGE" ]
[29/06/2023 21:18:31] [INFO] then
[29/06/2023 21:18:31] [INFO] START_IMAGE="ibmcom/ibp-microfab:0.0.11"
[29/06/2023 21:18:31] [INFO] else
[29/06/2023 21:18:31] [INFO] START_IMAGE=$CUSTOM_IMAGE
[29/06/2023 21:18:31] [INFO] fi
[29/06/2023 21:18:31] [INFO] echo "Using image: $START_IMAGE"
[29/06/2023 21:18:31] [INFO] CONTAINER=$(docker ps -f label=fabric-environment-name="1 Org Local Fabric Microfab" -q -a)
[29/06/2023 21:18:31] [INFO] Using image: ibmcom/ibp-microfab:0.0.11
[29/06/2023 21:18:31] [INFO] if [ -z "$CONTAINER" ]
[29/06/2023 21:18:31] [INFO] then
[29/06/2023 21:18:31] [INFO] export MICROFAB_CONFIG='{"port":8080, "endorsing_organizations": [{"name": "Org1"}],"channels": [{"name": "mychannel","endorsing_organizations": ["Org1"]}]}'
[29/06/2023 21:18:31] [INFO] docker run -e MICROFAB_CONFIG --label fabric-environment-name="1 Org Local Fabric Microfab" -d -p 8080:8080 $START_IMAGE
[29/06/2023 21:18:31] [INFO] else
[29/06/2023 21:18:31] [INFO] docker start ${CONTAINER}
[29/06/2023 21:18:31] [INFO] fi
[29/06/2023 21:18:31] [INFO] 7d78679f884fad5949bc7b8fff21cf52be146de4f20a7ea4c7fd52421ce37061
[29/06/2023 21:18:32] [INFO] sleep 2
[29/06/2023 21:18:34] [INFO] exit 0
[29/06/2023 21:19:09] [ERROR] Error connecting to environment 1 Org Local Fabric: Error: Error querying channels: Could not get all channel names, received: Failed to connect before the deadline on Endorser- name: Org1 Peer, url:grpc://org1peer-api.127-0-0-1.nip.io:8080, connected:false, connectAttempted:true