Open Vadudev opened 1 year ago
$ ping server.127-0-0-1.nip.io PING server.127-0-0-1.nip.io (127.0.0.1) 56(84) bytes of data. 64 bytes from localhost (127.0.0.1): icmp_seq=1 ttl=64 time=0.064 ms 64 bytes from localhost (127.0.0.1): icmp_seq=2 ttl=64 time=0.077 ms 64 bytes from localhost (127.0.0.1): icmp_seq=3 ttl=64 time=0.052 ms 64 bytes from localhost (127.0.0.1): icmp_seq=4 ttl=64 time=0.056 ms 64 bytes from localhost (127.0.0.1): icmp_seq=5 ttl=64 time=0.049 ms 64 bytes from localhost (127.0.0.1): icmp_seq=6 ttl=64 time=0.050 ms 64 bytes from localhost (127.0.0.1): icmp_seq=7 ttl=64 time=0.032 ms ^C --- server.127-0-0-1.nip.io ping statistics --- 7 packets transmitted, 7 received, 0% packet loss, time 6141ms rtt min/avg/max/mdev = 0.032/0.054/0.077/0.012 ms
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