THIS IS A READ-ONLY historic repository. Current development is at https://gerrit.hyperledger.org/r/#/admin/projects/fabric . pull requests not accepted
I have setup a network of docker images with the latest fabric commit, I am not using vagrant.
With security enabled I start a memebersrvc, a validating peer and then try to login another validating peer ( id and password are from the default membersrvc.yaml) which causes an unmarshaling error. Reinserting the login command is accepted without error messages but I cannot deploy any contracts from that user because it lacks the chain.key.
Error: Error building chaincode: rpc error: code = 5 desc = "open /var/hyperledger/production/crypto/client/test_vp1/ks/raw/chain.key: no such file or directory"
Login in with a non validating peer from the default works fine membersrvc.yaml, I'm reporting this because the second vp login should always give error.
Description
I have setup a network of docker images with the latest fabric commit, I am not using vagrant. With security enabled I start a memebersrvc, a validating peer and then try to login another validating peer ( id and password are from the default membersrvc.yaml) which causes an unmarshaling error. Reinserting the login command is accepted without error messages but I cannot deploy any contracts from that user because it lacks the chain.key.
Error: Error building chaincode: rpc error: code = 5 desc = "open /var/hyperledger/production/crypto/client/test_vp1/ks/raw/chain.key: no such file or directory"
Login in with a non validating peer from the default works fine membersrvc.yaml, I'm reporting this because the second vp login should always give error.
15:33:40.007 [crypto] Debugf -> DEBU 6cf [client.vp] Storing enrollment data for user [vp]... 15:33:40.008 [crypto] Debugf -> DEBU 6d0 [client.vp] Enrollment chain key for non-validator [vp]... 15:33:40.008 [crypto] Errorf -> ERRO 6d1 [client.vp] Failed unmarshalling enrollment chain key [id=vp]: [asn1: structure error: tags don't match (16 vs {class:0 tag:2 length:1 isCompound:false}) {optional:false explicit:false application:false defaultValue:<nil> tag:<nil> stringType:0 timeType:0 set:false omitEmpty:false} AlgorithmIdentifier @2] 15:33:40.008 [crypto] Errorf -> ERRO 6d2 [client.vp] Failed retrieving enrollment data [asn1: structure error: tags don't match (16 vs {class:0 tag:2 length:1 isCompound:false}) {optional:false explicit:false application:false defaultValue:<nil> tag:<nil> stringType:0 timeType:0 set:false omitEmpty:false} AlgorithmIdentifier @2]. 15:33:40.008 [crypto] Errorf -> ERRO 6d3 [client.vp] Failed registering node crypto engine [asn1: structure error: tags don't match (16 vs {class:0 tag:2 length:1 isCompound:false}) {optional:false explicit:false application:false defaultValue:<nil> tag:<nil> stringType:0 timeType:0 set:false omitEmpty:false} AlgorithmIdentifier @2]. 15:33:40.008 [crypto] RegisterClient -> ERRO 6d4 Failed registering client [vp] with name [vp] [asn1: structure error: tags don't match (16 vs {class:0 tag:2 length:1 isCompound:false}) {optional:false explicit:false application:false defaultValue:<nil> tag:<nil> stringType:0 timeType:0 set:false omitEmpty:false} AlgorithmIdentifier @2].