Comments (12)
@maheshwarishikha Hi, I have same question, Have you solve this? Thank you
from blockchain-network-on-kubernetes.
here are all my log.
root@blockchain-org2peer1-8446b47ccc-468nb:/# peer chaincode query -C channel1 -n cc -c '{"Args":["query","a"]}'
2019-07-04 09:33:36.728 UTC [viperutil] getKeysRecursively -> DEBU 001 Found map[string]interface{} value for peer.BCCSP
2019-07-04 09:33:36.730 UTC [viperutil] getKeysRecursively -> DEBU 002 Found map[string]interface{} value for peer.BCCSP.SW
2019-07-04 09:33:36.731 UTC [viperutil] unmarshalJSON -> DEBU 003 Unmarshal JSON: value cannot be unmarshalled: invalid character 'S' looking for beginning of value
2019-07-04 09:33:36.732 UTC [viperutil] getKeysRecursively -> DEBU 004 Found real value for peer.BCCSP.SW.Hash setting to string SHA2
2019-07-04 09:33:36.733 UTC [viperutil] unmarshalJSON -> DEBU 005 Unmarshal JSON: value is not a string: 256
2019-07-04 09:33:36.734 UTC [viperutil] getKeysRecursively -> DEBU 006 Found real value for peer.BCCSP.SW.Security setting to int 256
2019-07-04 09:33:36.735 UTC [viperutil] getKeysRecursively -> DEBU 007 Found map[string]interface{} value for peer.BCCSP.SW.FileKeyStore
2019-07-04 09:33:36.735 UTC [viperutil] unmarshalJSON -> DEBU 008 Unmarshal JSON: value cannot be unmarshalled: unexpected end of JSON input
2019-07-04 09:33:36.736 UTC [viperutil] getKeysRecursively -> DEBU 009 Found real value for peer.BCCSP.SW.FileKeyStore.KeyStore setting to string
2019-07-04 09:33:36.736 UTC [viperutil] getKeysRecursively -> DEBU 00a Found map[string]interface{} value for peer.BCCSP.PKCS11
2019-07-04 09:33:36.738 UTC [viperutil] unmarshalJSON -> DEBU 00b Unmarshal JSON: value is not a string:
2019-07-04 09:33:36.739 UTC [viperutil] getKeysRecursively -> DEBU 00c Found real value for peer.BCCSP.PKCS11.Pin setting to
2019-07-04 09:33:36.741 UTC [viperutil] unmarshalJSON -> DEBU 00d Unmarshal JSON: value is not a string:
2019-07-04 09:33:36.742 UTC [viperutil] getKeysRecursively -> DEBU 00e Found real value for peer.BCCSP.PKCS11.Hash setting to
2019-07-04 09:33:36.743 UTC [viperutil] unmarshalJSON -> DEBU 00f Unmarshal JSON: value is not a string:
2019-07-04 09:33:36.744 UTC [viperutil] getKeysRecursively -> DEBU 010 Found real value for peer.BCCSP.PKCS11.Security setting to
2019-07-04 09:33:36.745 UTC [viperutil] getKeysRecursively -> DEBU 011 Found map[string]interface{} value for peer.BCCSP.PKCS11.FileKeyStore
2019-07-04 09:33:36.746 UTC [viperutil] unmarshalJSON -> DEBU 012 Unmarshal JSON: value is not a string:
2019-07-04 09:33:36.747 UTC [viperutil] getKeysRecursively -> DEBU 013 Found real value for peer.BCCSP.PKCS11.FileKeyStore.KeyStore setting to
2019-07-04 09:33:36.749 UTC [viperutil] unmarshalJSON -> DEBU 014 Unmarshal JSON: value is not a string:
2019-07-04 09:33:36.750 UTC [viperutil] getKeysRecursively -> DEBU 015 Found real value for peer.BCCSP.PKCS11.Library setting to
2019-07-04 09:33:36.751 UTC [viperutil] unmarshalJSON -> DEBU 016 Unmarshal JSON: value is not a string:
2019-07-04 09:33:36.752 UTC [viperutil] getKeysRecursively -> DEBU 017 Found real value for peer.BCCSP.PKCS11.Label setting to
2019-07-04 09:33:36.753 UTC [viperutil] unmarshalJSON -> DEBU 018 Unmarshal JSON: value cannot be unmarshalled: invalid character 'S' looking for beginning of value
2019-07-04 09:33:36.754 UTC [viperutil] getKeysRecursively -> DEBU 019 Found real value for peer.BCCSP.Default setting to string SW
2019-07-04 09:33:36.754 UTC [viperutil] EnhancedExactUnmarshalKey -> DEBU 01a map[peer.BCCSP:map[SW:map[Hash:SHA2 Security:256 FileKeyStore:map[KeyStore:]] PKCS11:map[Label: Pin: Hash: Security: FileKeyStore:map[KeyStore:] Library:] Default:SW]]
2019-07-04 09:33:36.754 UTC [bccsp_sw] openKeyStore -> DEBU 01b KeyStore opened at [/shared/crypto-config/peerOrganizations/org2.example.com/peers/peer0.org2.example.com/msp/keystore]...done
2019-07-04 09:33:36.754 UTC [bccsp] initBCCSP -> DEBU 01c Initialize BCCSP [SW]
2019-07-04 09:33:36.755 UTC [msp] getPemMaterialFromDir -> DEBU 01d Reading directory /shared/crypto-config/peerOrganizations/org2.example.com/peers/peer0.org2.example.com/msp/signcerts
2019-07-04 09:33:36.755 UTC [msp] getPemMaterialFromDir -> DEBU 01e Inspecting file /shared/crypto-config/peerOrganizations/org2.example.com/peers/peer0.org2.example.com/msp/signcerts/peer0.org2.example.com-cert.pem
2019-07-04 09:33:36.755 UTC [msp] getPemMaterialFromDir -> DEBU 01f Reading directory /shared/crypto-config/peerOrganizations/org2.example.com/peers/peer0.org2.example.com/msp/cacerts
2019-07-04 09:33:36.756 UTC [msp] getPemMaterialFromDir -> DEBU 020 Inspecting file /shared/crypto-config/peerOrganizations/org2.example.com/peers/peer0.org2.example.com/msp/cacerts/ca.org2.example.com-cert.pem
2019-07-04 09:33:36.756 UTC [msp] getPemMaterialFromDir -> DEBU 021 Reading directory /shared/crypto-config/peerOrganizations/org2.example.com/peers/peer0.org2.example.com/msp/admincerts
2019-07-04 09:33:36.756 UTC [msp] getPemMaterialFromDir -> DEBU 022 Inspecting file /shared/crypto-config/peerOrganizations/org2.example.com/peers/peer0.org2.example.com/msp/admincerts/[email protected]
2019-07-04 09:33:36.756 UTC [msp] getPemMaterialFromDir -> DEBU 023 Reading directory /shared/crypto-config/peerOrganizations/org2.example.com/peers/peer0.org2.example.com/msp/intermediatecerts
2019-07-04 09:33:36.756 UTC [msp] getMspConfig -> DEBU 024 Intermediate certs folder not found at [/shared/crypto-config/peerOrganizations/org2.example.com/peers/peer0.org2.example.com/msp/intermediatecerts]. Skipping. [stat /shared/crypto-config/peerOrganizations/org2.example.com/peers/peer0.org2.example.com/msp/intermediatecerts: no such file or directory]
2019-07-04 09:33:36.756 UTC [msp] getPemMaterialFromDir -> DEBU 025 Reading directory /shared/crypto-config/peerOrganizations/org2.example.com/peers/peer0.org2.example.com/msp/tlscacerts
2019-07-04 09:33:36.757 UTC [msp] getPemMaterialFromDir -> DEBU 026 Inspecting file /shared/crypto-config/peerOrganizations/org2.example.com/peers/peer0.org2.example.com/msp/tlscacerts/tlsca.org2.example.com-cert.pem
2019-07-04 09:33:36.757 UTC [msp] getPemMaterialFromDir -> DEBU 027 Reading directory /shared/crypto-config/peerOrganizations/org2.example.com/peers/peer0.org2.example.com/msp/tlsintermediatecerts
2019-07-04 09:33:36.757 UTC [msp] getMspConfig -> DEBU 028 TLS intermediate certs folder not found at [/shared/crypto-config/peerOrganizations/org2.example.com/peers/peer0.org2.example.com/msp/tlsintermediatecerts]. Skipping. [stat /shared/crypto-config/peerOrganizations/org2.example.com/peers/peer0.org2.example.com/msp/tlsintermediatecerts: no such file or directory]
2019-07-04 09:33:36.757 UTC [msp] getPemMaterialFromDir -> DEBU 029 Reading directory /shared/crypto-config/peerOrganizations/org2.example.com/peers/peer0.org2.example.com/msp/crls
2019-07-04 09:33:36.757 UTC [msp] getMspConfig -> DEBU 02a crls folder not found at [/shared/crypto-config/peerOrganizations/org2.example.com/peers/peer0.org2.example.com/msp/crls]. Skipping. [stat /shared/crypto-config/peerOrganizations/org2.example.com/peers/peer0.org2.example.com/msp/crls: no such file or directory]
2019-07-04 09:33:36.757 UTC [msp] getMspConfig -> DEBU 02b MSP configuration file not found at [/shared/crypto-config/peerOrganizations/org2.example.com/peers/peer0.org2.example.com/msp/config.yaml]: [stat /shared/crypto-config/peerOrganizations/org2.example.com/peers/peer0.org2.example.com/msp/config.yaml: no such file or directory]
2019-07-04 09:33:36.757 UTC [msp] newBccspMsp -> DEBU 02c Creating BCCSP-based MSP instance
2019-07-04 09:33:36.758 UTC [msp] New -> DEBU 02d Creating Cache-MSP instance
2019-07-04 09:33:36.758 UTC [msp] loadLocaMSP -> DEBU 02e Created new local MSP
2019-07-04 09:33:36.758 UTC [msp] Setup -> DEBU 02f Setting up MSP instance Org2MSP
2019-07-04 09:33:36.759 UTC [msp.identity] newIdentity -> DEBU 030 Creating identity instance for cert -----BEGIN CERTIFICATE-----
MIICUTCCAfegAwIBAgIQblqtVM0+656lV4jHzdDzsDAKBggqhkjOPQQDAjBzMQsw
CQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMNU2FuIEZy
YW5jaXNjbzEZMBcGA1UEChMQb3JnMi5leGFtcGxlLmNvbTEcMBoGA1UEAxMTY2Eu
b3JnMi5leGFtcGxlLmNvbTAeFw0xOTA3MDQwODQ2MDBaFw0yOTA3MDEwODQ2MDBa
MHMxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQHEw1T
YW4gRnJhbmNpc2NvMRkwFwYDVQQKExBvcmcyLmV4YW1wbGUuY29tMRwwGgYDVQQD
ExNjYS5vcmcyLmV4YW1wbGUuY29tMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE
5kcDHgcbECilGVFUfMcW+BGrH+9Nn1qdJjbOwS14P7loNEE/PqVWhfK4ySLQv8U0
di8TI1uxjWxN1IMwiRLjF6NtMGswDgYDVR0PAQH/BAQDAgGmMB0GA1UdJQQWMBQG
CCsGAQUFBwMCBggrBgEFBQcDATAPBgNVHRMBAf8EBTADAQH/MCkGA1UdDgQiBCCf
wnmuWnHxiQ8s3xigLCEqnZ7caPLDZTleLIsJl35K5zAKBggqhkjOPQQDAgNIADBF
AiEA4PSvm3M3oltuD5QpPGpmdRG06peNK3WtIObM8jE1iWYCIHiyoolmr6QbFAtq
HY+FPbFvTeLvQuwaDVYaplKDZw5z
-----END CERTIFICATE-----
2019-07-04 09:33:36.760 UTC [msp.identity] newIdentity -> DEBU 031 Creating identity instance for cert -----BEGIN CERTIFICATE-----
MIICGDCCAb+gAwIBAgIQa+bBfzMFdtBTISUEVT4F2jAKBggqhkjOPQQDAjBzMQsw
CQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMNU2FuIEZy
YW5jaXNjbzEZM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2U5XiyLCZd+SucwCgYIKoZIzj0EAwIDSAAwRQIhALEtygEK
bZ2+pjct9kEoFf7I3fvf+xaO1UeBmoaXE4y0AiAs0S0gEN+z952G56snkS6jJOQa
j9E1CwcPnW3UDJDFMg==
-----END CERTIFICATE-----
2019-07-04 09:33:36.765 UTC [msp] setupSigningIdentity -> DEBU 034 Signing identity expires at 2029-07-01 08:46:00 +0000 UTC
2019-07-04 09:33:36.766 UTC [msp] Validate -> DEBU 035 MSP Org2MSP validating identity
2019-07-04 09:33:36.767 UTC [grpc] DialContext -> DEBU 036 parsed scheme: ""
2019-07-04 09:33:36.768 UTC [grpc] DialContext -> DEBU 037 scheme "" not registered, fallback to default scheme
2019-07-04 09:33:36.769 UTC [grpc] watcher -> DEBU 038 ccResolverWrapper: sending new addresses to cc: [{blockchain-org2peer1:30210 0 }]
2019-07-04 09:33:36.770 UTC [grpc] switchBalancer -> DEBU 039 ClientConn switching balancer to "pick_first"
2019-07-04 09:33:36.771 UTC [grpc] HandleSubConnStateChange -> DEBU 03a pickfirstBalancer: HandleSubConnStateChange: 0xc00023c7c0, CONNECTING
Error: error getting endorser client for query: endorser client failed to connect to blockchain-org2peer1:30210: failed to create new connection: context deadline exceeded
root@blockchain-org2peer1-8446b47ccc-468nb:/# exit
from blockchain-network-on-kubernetes.
from blockchain-network-on-kubernetes.
@Maxiaoyu0 , few points -
- as per your snapshot of logs, it shows chaincode is installed properly.
- is it instantiated successfully?
- 'query error' - is there for all peers?
from blockchain-network-on-kubernetes.
the chaincode is installed properly but it cant it instantiated successfully in channel.
from blockchain-network-on-kubernetes.
ok, what error message it throws?
from blockchain-network-on-kubernetes.
I have the same issue and whatever I made a request, I just received the same error:
from blockchain-network-on-kubernetes.
@Maxiaoyu0 ,Randyshu2018 , plz check #54 if it helps.
from blockchain-network-on-kubernetes.
@maheshwarishikha when repo will be updated with fix for docker/dind tls config?
from blockchain-network-on-kubernetes.
@advissor , will update this soon. Thanks again!
from blockchain-network-on-kubernetes.
Hello, I have the same issue. Change the dind version did not work. Any guess ?
from blockchain-network-on-kubernetes.
@maheshwarishikha Hi, I have same question, Have you solve this? Thank you
Hello guys, did you find a solution ? Thanks.
from blockchain-network-on-kubernetes.
Related Issues (20)
- chaincodeinstantiate error HOT 2
- when I use hyperledger explorer connect to the network, the channels show [] and the nodes show 2 HOT 2
- Error running docker container.. ${dockerPodStatus} never changed to "Running" while executing setup_blockchainNetwork.sh HOT 3
- Operation not permitted HOT 3
- current deployment is incompatible with IBM IKS version >1.15 HOT 3
- Error: create channel and orderer client failed to connect to blockchain-orderer:31010 HOT 6
- Error: could not assemble transaction, err proposal response was not successful, error code 500, msg error starting container: error starting container: cannot connect to Docker endpoint HOT 3
- chaincode_instantiate faild HOT 3
- Error: error getting endorser client for query: endorser client failed to connect to blockchain-org1peer1:30110: failed to create new connection: context deadline exceeded HOT 5
- Is there roadmap for Support for HF 2.1? HOT 3
- Error trying to start business network. Error: No valid responses from any peers - hyperledger-fabric HOT 1
- If restart the pods, lose the shared-pvc volume data HOT 2
- Failed to evaluate transaction: FabricError: No peers available to query. Errors: [] HOT 2
- Can it supports fabric2.2 HOT 3
- Error: failed to create deliver client: orderer client failed to connect to blockchain-orderer HOT 1
- could not launch chaincode 'ibcc:5d0e934e1c508fa8ebf14bacc51c47d92780284ceca7edc0788e3b6ce98d1795': chaincode registration failed: container exited with 0 HOT 1
- How to make copyartifact Pod run HOT 3
- Where can I find public IP of my kubernets cluster account HOT 2
- No more progress after "Waiting for chaincodeinstantiate job to be completed" HOT 1
- + peer lifecycle chaincode approveformyorg -o localhost:7050 --ordererTLSHostnameOverride orderer.example.com --tls --cafile /home/piyush/go/src/github.com/blockchain/fabric-samples/test-network/organizations/ordererOrganizations/example.com/tlsca/tlsca.example.com-cert.pem --channelID mychannel --name basic --version 1.0.1 --package-id basic_1.0.1:64eec36e606e7179bda8fd53f5b296e4675b3bb10dcf9a3dfc78e43346aa3eb5 --sequence 1 + res=1 Error: proposal failed with status: 500 - failed to invoke backing implementation of 'ApproveChaincodeDefinitionForMyOrg': attempted to redefine uncommitted sequence (1) for namespace basic with unchanged content Chaincode definition approved on peer0.org1 on channel 'mychannel' failed Deploying chaincode failed
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from blockchain-network-on-kubernetes.