Open laurarguez24 opened 3 years ago
Hello Laura,
These are issues related to IBM Blockchain Extension of VSCode and how "1 Org Local Fabric" network is stood up by the extension. Please check https://github.com/IBM-Blockchain/blockchain-vscode-extension.
Hello,
When I tried to launch the 1 Org Local Fabric I had the following errors : [ERROR] Error connecting to environment 1 Org Local Fabric: Error: Unable to connect to network, There are no channels with V1 capabilities enabled.
I check docker permissions there are ok. I didn't succeed to find connection.ymal file in order to set "grpcs://" and "https://" as explained in this link : https://stackoverflow.com/questions/55219497/error-initializing-the-network-channel-from-node-sdk-in-hyperledger-fabric
Thanks in advance for your help, don't hesitate if you need more details,
Laura
Here the logs details :
[04/11/2020 à 08:42:58] [INFO] fatal: [localhost]: FAILED! => {"changed": true, "cmd": ["fabric-ca-client", "enroll", "-u", "http://admin:adminpw@localhost:17050", "--caname", "ca", "-M", "/network/wallets/Org1/admin"], "delta": "0:02:11.289437", "end": "2020-11-04 07:42:58.318780", "msg": "non-zero return code", "rc": 1, "start": "2020-11-04 07:40:47.029343", "stderr": "2020/11/04 07:40:47 [INFO] Created a default configuration file at /root/.fabric-ca-client/fabric-ca-client-config.yaml\n2020/11/04 07:40:47 [INFO] generating key: &{A:ecdsa S:256}\n2020/11/04 07:40:47 [INFO] encoded CSR\nError: POST failure of request: POST http://localhost:17050/enroll\n{\"hosts\":[\"laura-HP-Pro-x2-612-G1\"],\"certificate_request\":\"-----BEGIN CERTIFICATE REQUEST-----\nMIIBTDCB8wIBADBdMQswCQYDVQQGEwJVUzEXMBUGA1UECBMOTm9ydGggQ2Fyb2xp\nbmExFDASBgNVBAoTC0h5cGVybGVkZ2VyMQ8wDQYDVQQLEwZGYWJyaWMxDjAMBgNV\nBAMTBWFkbWluMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEHo4Dv1nu4Bk8KkJc\ndQj2y0HLIW+CKXfBV6rY9h3JVAz266Adob2X45xGO+ATpxIuEWKK3q9Huz81/ibM\nipKX96A0MDIGCSqGSIb3DQEJDjElMCMwIQYDVR0RBBowGIIWbGF1cmEtSFAtUHJv\nLXgyLTYxMi1HMTAKBggqhkjOPQQDAgNIADBFAiEAs1Ui5zh6czrnarDGe6sfacj6\ntjl39DlvjEGjpExvxR4CIGQN1dolU/mhNNEaYI26h7kPGwnPJqfVS0z/F5dYc3jw\n-----END CERTIFICATE REQUEST-----\n\",\"profile\":\"\",\"crl_override\":\"\",\"label\":\"\",\"NotBefore\":\"0001-01-01T00:00:00Z\",\"NotAfter\":\"0001-01-01T00:00:00Z\",\"CAName\":\"ca\"}: Post http://localhost:17050/enroll: dial tcp 212.95.74.75:17050: connect: connection timed out", "stderr_lines": ["2020/11/04 07:40:47 [INFO] Created a default configuration file at /root/.fabric-ca-client/fabric-ca-client-config.yaml", "2020/11/04 07:40:47 [INFO] generating key: &{A:ecdsa S:256}", "2020/11/04 07:40:47 [INFO] encoded CSR", "Error: POST failure of request: POST http://localhost:17050/enroll", "{\"hosts\":[\"laura-HP-Pro-x2-612-G1\"],\"certificate_request\":\"-----BEGIN CERTIFICATE REQUEST-----\nMIIBTDCB8wIBADBdMQswCQYDVQQGEwJVUzEXMBUGA1UECBMOTm9ydGggQ2Fyb2xp\nbmExFDASBgNVBAoTC0h5cGVybGVkZ2VyMQ8wDQYDVQQLEwZGYWJyaWMxDjAMBgNV\nBAMTBWFkbWluMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEHo4Dv1nu4Bk8KkJc\ndQj2y0HLIW+CKXfBV6rY9h3JVAz266Adob2X45xGO+ATpxIuEWKK3q9Huz81/ibM\nipKX96A0MDIGCSqGSIb3DQEJDjElMCMwIQYDVR0RBBowGIIWbGF1cmEtSFAtUHJv\nLXgyLTYxMi1HMTAKBggqhkjOPQQDAgNIADBFAiEAs1Ui5zh6czrnarDGe6sfacj6\ntjl39DlvjEGjpExvxR4CIGQN1dolU/mhNNEaYI26h7kPGwnPJqfVS0z/F5dYc3jw\n-----END CERTIFICATE REQUEST-----\n\",\"profile\":\"\",\"crl_override\":\"\",\"label\":\"\",\"NotBefore\":\"0001-01-01T00:00:00Z\",\"NotAfter\":\"0001-01-01T00:00:00Z\",\"CAName\":\"ca\"}: Post http://localhost:17050/enroll: dial tcp 212.95.74.75:17050: connect: connection timed out"], "stdout": "", "stdout_lines": []} [04/11/2020 à 08:42:58] [INFO] PLAY RECAP ***** [04/11/2020 à 08:42:58] [INFO] localhost : ok=21 changed=7 unreachable=0 failed=1 skipped=2 rescued=0 ignored=0
[04/11/2020 à 08:43:01] [ERROR] Failed to start 1 Org Local Fabric: Error: Failed to execute command "/bin/sh" with arguments "generate.sh" return code 2 [04/11/2020 à 08:44:46] [ERROR] Error connecting to environment 1 Org Local Fabric: Error: Unable to connect to network, There are no channels with V1 capabilities enabled. [04/11/2020 à 08:56:46] [INFO] connecting to fabric environment [04/11/2020 à 08:56:46] [ERROR] Error connecting to environment 1 Org Local Fabric: Error: Unable to connect to network, There are no channels with V1 capabilities enabled.