Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root@978e3a86787b:/opt/gopath/src/github.com/hyperledger/fabric/peer# peer chaincode install -n sample -v 1.0 -p "./chaincode/" -l "node"
- 2019-01-21 16:57:31.533 UTC [viperutil] getKeysRecursively -> DEBU 001 Found map[string]interface{} value for peer.BCCSP
- 2019-01-21 16:57:31.534 UTC [viperutil] unmarshalJSON -> DEBU 002 Unmarshal JSON: value cannot be unmarshalled: invalid character 'S' looking for beginning of value
- 2019-01-21 16:57:31.534 UTC [viperutil] getKeysRecursively -> DEBU 003 Found real value for peer.BCCSP.Default setting to string SW
- 2019-01-21 16:57:31.534 UTC [viperutil] getKeysRecursively -> DEBU 004 Found map[string]interface{} value for peer.BCCSP.SW
- 2019-01-21 16:57:31.534 UTC [viperutil] getKeysRecursively -> DEBU 005 Found map[string]interface{} value for peer.BCCSP.SW.FileKeyStore
- 2019-01-21 16:57:31.534 UTC [viperutil] unmarshalJSON -> DEBU 006 Unmarshal JSON: value cannot be unmarshalled: unexpected end of JSON input
- 2019-01-21 16:57:31.534 UTC [viperutil] getKeysRecursively -> DEBU 007 Found real value for peer.BCCSP.SW.FileKeyStore.KeyStore setting to string
- 2019-01-21 16:57:31.534 UTC [viperutil] unmarshalJSON -> DEBU 008 Unmarshal JSON: value cannot be unmarshalled: invalid character 'S' looking for beginning of value
- 2019-01-21 16:57:31.534 UTC [viperutil] getKeysRecursively -> DEBU 009 Found real value for peer.BCCSP.SW.Hash setting to string SHA2
- 2019-01-21 16:57:31.534 UTC [viperutil] unmarshalJSON -> DEBU 00a Unmarshal JSON: value is not a string: 256
- 2019-01-21 16:57:31.534 UTC [viperutil] getKeysRecursively -> DEBU 00b Found real value for peer.BCCSP.SW.Security setting to int 256
- 2019-01-21 16:57:31.535 UTC [viperutil] getKeysRecursively -> DEBU 00c Found map[string]interface{} value for peer.BCCSP.PKCS11
- 2019-01-21 16:57:31.535 UTC [viperutil] unmarshalJSON -> DEBU 00d Unmarshal JSON: value is not a string: <nil>
- 2019-01-21 16:57:31.535 UTC [viperutil] getKeysRecursively -> DEBU 00e Found real value for peer.BCCSP.PKCS11.Pin setting to <nil> <nil>
- 2019-01-21 16:57:31.535 UTC [viperutil] unmarshalJSON -> DEBU 00f Unmarshal JSON: value is not a string: <nil>
- 2019-01-21 16:57:31.535 UTC [viperutil] getKeysRecursively -> DEBU 010 Found real value for peer.BCCSP.PKCS11.Hash setting to <nil> <nil>
- 2019-01-21 16:57:31.535 UTC [viperutil] unmarshalJSON -> DEBU 011 Unmarshal JSON: value is not a string: <nil>
- 2019-01-21 16:57:31.536 UTC [viperutil] getKeysRecursively -> DEBU 012 Found real value for peer.BCCSP.PKCS11.Security setting to <nil> <nil>
- 2019-01-21 16:57:31.536 UTC [viperutil] getKeysRecursively -> DEBU 013 Found map[string]interface{} value for peer.BCCSP.PKCS11.FileKeyStore
- 2019-01-21 16:57:31.536 UTC [viperutil] unmarshalJSON -> DEBU 014 Unmarshal JSON: value is not a string: <nil>
- 2019-01-21 16:57:31.536 UTC [viperutil] getKeysRecursively -> DEBU 015 Found real value for peer.BCCSP.PKCS11.FileKeyStore.KeyStore setting to <nil> <nil>
- 2019-01-21 16:57:31.536 UTC [viperutil] unmarshalJSON -> DEBU 016 Unmarshal JSON: value is not a string: <nil>
- 2019-01-21 16:57:31.536 UTC [viperutil] getKeysRecursively -> DEBU 017 Found real value for peer.BCCSP.PKCS11.Library setting to <nil> <nil>
- 2019-01-21 16:57:31.537 UTC [viperutil] unmarshalJSON -> DEBU 018 Unmarshal JSON: value is not a string: <nil>
- 2019-01-21 16:57:31.537 UTC [viperutil] getKeysRecursively -> DEBU 019 Found real value for peer.BCCSP.PKCS11.Label setting to <nil> <nil>
- 2019-01-21 16:57:31.537 UTC [viperutil] EnhancedExactUnmarshalKey -> DEBU 01a map[peer.BCCSP:map[Default:SW SW:map[Security:256 FileKeyStore:map[KeyStore:] Hash:SHA2] PKCS11:map[Label:<nil> Pin:<nil> Hash:<nil> Security:<nil> FileKeyStore:map[KeyStore:<nil>] Library:<nil>]]]
- 2019-01-21 16:57:31.537 UTC [bccsp_sw] openKeyStore -> DEBU 01b KeyStore opened at [/opt/gabric/orgs/generated/13Org/1Peer/peer/msp/keystore]...done
- 2019-01-21 16:57:31.537 UTC [bccsp] initBCCSP -> DEBU 01c Initialize BCCSP [SW]
- 2019-01-21 16:57:31.537 UTC [msp] getPemMaterialFromDir -> DEBU 01d Reading directory /opt/gabric/orgs/generated/13Org/1Peer/peer/msp/signcerts
- 2019-01-21 16:57:31.537 UTC [msp] getPemMaterialFromDir -> DEBU 01e Inspecting file /opt/gabric/orgs/generated/13Org/1Peer/peer/msp/signcerts/cert.pem
- 2019-01-21 16:57:31.537 UTC [msp] getPemMaterialFromDir -> DEBU 01f Reading directory /opt/gabric/orgs/generated/13Org/1Peer/peer/msp/cacerts
- 2019-01-21 16:57:31.537 UTC [msp] getPemMaterialFromDir -> DEBU 020 Inspecting file /opt/gabric/orgs/generated/13Org/1Peer/peer/msp/cacerts/172-10-0-54-7054.pem
- 2019-01-21 16:57:31.538 UTC [msp] getPemMaterialFromDir -> DEBU 021 Reading directory /opt/gabric/orgs/generated/13Org/1Peer/peer/msp/admincerts
- 2019-01-21 16:57:31.538 UTC [msp] getPemMaterialFromDir -> DEBU 022 Inspecting file /opt/gabric/orgs/generated/13Org/1Peer/peer/msp/admincerts/admin-cert.pem
- 2019-01-21 16:57:31.538 UTC [msp] getPemMaterialFromDir -> DEBU 023 Reading directory /opt/gabric/orgs/generated/13Org/1Peer/peer/msp/intermediatecerts
- 2019-01-21 16:57:31.538 UTC [msp] getMspConfig -> DEBU 024 Intermediate certs folder not found at [/opt/gabric/orgs/generated/13Org/1Peer/peer/msp/intermediatecerts]. Skipping. [stat /opt/gabric/orgs/generated/13Org/1Peer/peer/msp/intermediatecerts: no such file or directory]
- 2019-01-21 16:57:31.538 UTC [msp] getPemMaterialFromDir -> DEBU 025 Reading directory /opt/gabric/orgs/generated/13Org/1Peer/peer/msp/tlscacerts
- 2019-01-21 16:57:31.538 UTC [msp] getMspConfig -> DEBU 026 TLS CA certs folder not found at [/opt/gabric/orgs/generated/13Org/1Peer/peer/msp/tlsintermediatecerts]. Skipping and ignoring TLS intermediate CA folder. [stat /opt/gabric/orgs/generated/13Org/1Peer/peer/msp/tlscacerts: no such file or directory]
- 2019-01-21 16:57:31.538 UTC [msp] getPemMaterialFromDir -> DEBU 027 Reading directory /opt/gabric/orgs/generated/13Org/1Peer/peer/msp/crls
- 2019-01-21 16:57:31.538 UTC [msp] getMspConfig -> DEBU 028 crls folder not found at [/opt/gabric/orgs/generated/13Org/1Peer/peer/msp/crls]. Skipping. [stat /opt/gabric/orgs/generated/13Org/1Peer/peer/msp/crls: no such file or directory]
- 2019-01-21 16:57:31.538 UTC [msp] getMspConfig -> DEBU 029 MSP configuration file not found at [/opt/gabric/orgs/generated/13Org/1Peer/peer/msp/config.yaml]: [stat /opt/gabric/orgs/generated/13Org/1Peer/peer/msp/config.yaml: no such file or directory]
- 2019-01-21 16:57:31.538 UTC [msp] newBccspMsp -> DEBU 02a Creating BCCSP-based MSP instance
- 2019-01-21 16:57:31.538 UTC [msp] New -> DEBU 02b Creating Cache-MSP instance
- 2019-01-21 16:57:31.538 UTC [msp] loadLocaMSP -> DEBU 02c Created new local MSP
- 2019-01-21 16:57:31.538 UTC [msp] Setup -> DEBU 02d Setting up MSP instance 13OrgMSPID
- 2019-01-21 16:57:31.538 UTC [msp/identity] newIdentity -> DEBU 02e Creating identity instance for cert -----BEGIN CERTIFICATE-----
- MIICBDCCAbOgAwIBAgIUVvIJDWO9j46emXxPEPaTRnF6quMwCAYGKoUDAgIDMF8x
- CzAJBgNVBAYTAlVTMRcwFQYDVQQIEw5Ob3J0aCBDYXJvbGluYTEUMBIGA1UEChML
- SHlwZXJsZWRnZXIxDzANBgNVBAsTBkZhYnJpYzEQMA4GA1UEAxMHbWFpbi1jYTAe
- Fw0xOTAxMTcxNzA4MDBaFw0zNDAxMTMxNzA4MDBaMF8xCzAJBgNVBAYTAlVTMRcw
- FQYDVQQIEw5Ob3J0aCBDYXJvbGluYTEUMBIGA1UEChMLSHlwZXJsZWRnZXIxDzAN
- BgNVBAsTBkZhYnJpYzEQMA4GA1UEAxMHbWFpbi1jYTBjMBwGBiqFAwICEzASBgcq
- hQMCAiMBBgcqhQMCAh4BA0MABECCE9d74PFy2l4LjVOhGG9BJ8lP0KTjtWbxp7RJ
- ChEH0ibwygPtcrwVy0AmB4nn0g9ojLOsSSRrIyVqZ4uCNmMEo0UwQzAOBgNVHQ8B
- Af8EBAMCAQYwEgYDVR0TAQH/BAgwBgEB/wIBATAdBgNVHQ4EFgQUbb+Kfhwdh0V8
- ihAKXzagQMpOpeIwCAYGKoUDAgIDA0EAa5euJOs+Sd2D4bMsAzFl+SKRnBd1u/92
- Q/NawtgnWFkPbMmbSaq3p+7CTd0ynJa75rlAsTsrkzg6g8YmnxdDqQ==
- -----END CERTIFICATE-----
- 2019-01-21 16:57:31.539 UTC [msp/identity] newIdentity -> DEBU 02f Creating identity instance for cert -----BEGIN CERTIFICATE-----
- MIICujCCAmmgAwIBAgIUZDhk+97zV/XpdFBVLLfN9TixVOEwCAYGKoUDAgIDMF8x
- CzAJBgNVBAYTAlVTMRcwFQYDVQQIEw5Ob3J0aCBDYXJvbGluYTEUMBIGA1UEChML
- SHlwZXJsZWRnZXIxDzANBgNVBAsTBkZhYnJpYzEQMA4GA1UEAxMHbWFpbi1jYTAe
- Fw0xOTAxMTcxNzA5MDBaFw0yMDAxMTcxNzE0MDBaMHExCzAJBgNVBAYTAlVTMRcw
- FQYDVQQIEw5Ob3J0aCBDYXJvbGluYTEUMBIGA1UEChMLSHlwZXJsZWRnZXIxIDAN
- BgNVBAsTBmNsaWVudDAPBgNVBAsTCE9yZyBOYW1lMREwDwYDVQQDEwhPcmdBZG1p
- bjBjMBwGBiqFAwICEzASBgcqhQMCAiMBBgcqhQMCAh4BA0MABEBFeN8w/zeneVRM
- cxVb3WCrf7AA7CpMIyrA5Pq4RurMr99I/eo8ncqD0K8UuLH/eRFx0+eSx4/m06yY
- ofG1lqPro4HoMIHlMA4GA1UdDwEB/wQEAwIHgDAMBgNVHRMBAf8EAjAAMB0GA1Ud
- DgQWBBRnztuVgbV+hil5L6Nb2bksfNfnVTAfBgNVHSMEGDAWgBRtv4p+HB2HRXyK
- EApfNqBAyk6l4jARBgNVHREECjAIggZkNDEyMTUwcgYIKgMEBQYHCAEEZnsiYXR0
- cnMiOnsiYWRtaW4iOiJ0cnVlIiwiaGYuQWZmaWxpYXRpb24iOiJPcmcgTmFtZSIs
- ImhmLkVucm9sbG1lbnRJRCI6Ik9yZ0FkbWluIiwiaGYuVHlwZSI6ImNsaWVudCJ9
- fTAIBgYqhQMCAgMDQQCcFK5kdaTEfxkyF+1AZj0txgf1CHPqS80q9Xp0Ft9F4DZs
- VwZNpkBg6sliVu2SZEND7sjNNLhEoQFaXZgFQ4o1
- -----END CERTIFICATE-----
- 2019-01-21 16:57:31.539 UTC [msp/identity] newIdentity -> DEBU 030 Creating identity instance for cert -----BEGIN CERTIFICATE-----
- MIICrzCCAl6gAwIBAgIUJL8qzmUKa49+IuNEEbX2NerlXBQwCAYGKoUDAgIDMF8x
- CzAJBgNVBAYTAlVTMRcwFQYDVQQIEw5Ob3J0aCBDYXJvbGluYTEUMBIGA1UEChML
- SHlwZXJsZWRnZXIxDzANBgNVBAsTBkZhYnJpYzEQMA4GA1UEAxMHbWFpbi1jYTAe
- Fw0xOTAxMTcxNzA5MDBaFw0yMDAxMTcxNzE0MDBaMHMxCzAJBgNVBAYTAlVTMRcw
- FQYDVQQIEw5Ob3J0aCBDYXJvbGluYTEUMBIGA1UEChMLSHlwZXJsZWRnZXIxHjAL
- BgNVBAsTBHBlZXIwDwYDVQQLEwhPcmcgTmFtZTEVMBMGA1UEAxMMT3JnUGVlckFk
- bWluMGMwHAYGKoUDAgITMBIGByqFAwICIwEGByqFAwICHgEDQwAEQM4RjudzyrdD
- WnEaGhwwI2WtKVufR6Zxc8iDc5G9u1nKu1UGNsfDnrB+GBlFERm9GLYx8y1yDXTu
- InTskD5DJw2jgdswgdgwDgYDVR0PAQH/BAQDAgeAMAwGA1UdEwEB/wQCMAAwHQYD
- VR0OBBYEFKyaop/O1je4HMAn4PcC/Tj68BSjMB8GA1UdIwQYMBaAFG2/in4cHYdF
- fIoQCl82oEDKTqXiMBEGA1UdEQQKMAiCBmQ0MTIxNTBlBggqAwQFBgcIAQRZeyJh
- dHRycyI6eyJoZi5BZmZpbGlhdGlvbiI6Ik9yZyBOYW1lIiwiaGYuRW5yb2xsbWVu
- dElEIjoiT3JnUGVlckFkbWluIiwiaGYuVHlwZSI6InBlZXIifX0wCAYGKoUDAgID
- A0EA57sXfn2dYYqsU3Znuyxr6hME4wAQCc+hsuHUVIlTxLnd+GyOZMjvchZVaGkC
- CXqerQrCyB2CLXoORs3H8b4lBA==
- -----END CERTIFICATE-----
- panic: runtime error: invalid memory address or nil pointer dereference
- [signal SIGSEGV: segmentation violation code=0x1 addr=0x30 pc=0xd06b46]
- goroutine 1 [running]:
- github.com/hyperledger/fabric/msp.(*bccspmsp).getSigningIdentityFromConf(0xc42059bd40, 0xc420581a60, 0xc4205df310, 0xc4205ad2f0, 0x0, 0x0)
- /opt/gopath/src/github.com/hyperledger/fabric/msp/mspimpl.go:181 +0xa6
- github.com/hyperledger/fabric/msp.(*bccspmsp).setupSigningIdentity(0xc42059bd40, 0xc4205d04e0, 0x0, 0x0)
- /opt/gopath/src/github.com/hyperledger/fabric/msp/mspimplsetup.go:264 +0x71
- github.com/hyperledger/fabric/msp.(*bccspmsp).preSetupV1(0xc42059bd40, 0xc4205d04e0, 0xc4204c3c98, 0xc1bc4b)
- /opt/gopath/src/github.com/hyperledger/fabric/msp/mspimplsetup.go:407 +0x110
- github.com/hyperledger/fabric/msp.(*bccspmsp).setupV1(0xc42059bd40, 0xc4205d04e0, 0x1, 0x1)
- /opt/gopath/src/github.com/hyperledger/fabric/msp/mspimplsetup.go:367 +0x39
- github.com/hyperledger/fabric/msp.(*bccspmsp).(github.com/hyperledger/fabric/msp.setupV1)-fm(0xc4205d04e0, 0x149d781, 0x1a)
- /opt/gopath/src/github.com/hyperledger/fabric/msp/mspimpl.go:112 +0x34
- github.com/hyperledger/fabric/msp.(*bccspmsp).Setup(0xc42059bd40, 0xc420581720, 0x0, 0x1d9a510)
- /opt/gopath/src/github.com/hyperledger/fabric/msp/mspimpl.go:225 +0x175
- github.com/hyperledger/fabric/msp/cache.(*cachedMSP).Setup(0xc4200f16c0, 0xc420581720, 0xc420581320, 0xc420034035)
- /opt/gopath/src/github.com/hyperledger/fabric/msp/cache/cache.go:101 +0x4b
- github.com/hyperledger/fabric/msp/mgmt.LoadLocalMspWithType(0xc42003e018, 0x2f, 0xc420581320, 0xc420034035, 0xa, 0xc42045caa0, 0x5, 0xc4201a0990, 0xc4204c3e20)
- /opt/gopath/src/github.com/hyperledger/fabric/msp/mgmt/mgmt.go:32 +0xd5
- github.com/hyperledger/fabric/peer/common.InitCrypto(0xc42003e018, 0x2f, 0xc420034035, 0xa, 0xc42045caa0, 0x5, 0x42, 0xc420380b10)
- /opt/gopath/src/github.com/hyperledger/fabric/peer/common/common.go:129 +0x2e9
- main.main()
- /opt/gopath/src/github.com/hyperledger/fabric/peer/main.go:87 +0x579
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement