我已經在使用docker-toolbox和vagrant的本地開發中安裝了hypledger fabric 0.6。 https://github.com/hyperledger/fabric/tree/v0.6/examples/docker-composeHypledger farbric:RPC錯誤(身份或令牌不匹配)重新啓動對端
一切運作良好:我第一次使用命令
docker-compose -f four-peer-ca.yaml up
四同行ca.yaml文件可上運行四同行ca.yaml例子。退出此泊塢窗撰寫任務,並試圖運行命令然而,當我再次收到以下錯誤:
vp1_1 | 10:29:42.752 [crypto] Errorf -> ERRO 01b [validator.test_vp1] Failed invoking CreateCertficatePair [rpc error: code = 2 desc = Identity or token does not match.].
vp1_1 | 10:29:42.752 [crypto] Errorf -> ERRO 01c [validator.test_vp1] Failed getting enrollment certificate [id=test_vp1]: [rpc error: code = 2 desc = Identity or token does not match.]
vp1_1 | 10:29:42.752 [crypto] Errorf -> ERRO 01d [validator.test_vp1] Failed retrieving enrollment data [rpc error: code = 2 desc = Identity or token does not match.].
vp1_1 | 10:29:42.752 [crypto] Errorf -> ERRO 01e [validator.test_vp1] Failed registering node crypto engine [rpc error: code = 2 desc = Identity or token does not match.].
vp1_1 | 10:29:42.755 [crypto] Errorf -> ERRO 01f [validator.test_vp1] Failed registering peer [test_vp1]: [rpc error: code = 2 desc = Identity or token does not match.]
vp1_1 | 10:29:42.755 [crypto] Errorf -> ERRO 020 [validator.test_vp1] Failed registering [test_vp1]: [rpc error: code = 2 desc = Identity or token does not match.]
vp1_1 | 10:29:42.755 [crypto] RegisterValidator -> ERRO 021 Failed registering validator [test_vp1] with name [test_vp1] [rpc error: code = 2 desc = Identity or token does not match.].
關閉和重新啓動虛擬箱並沒有幫助。任何人都知道如何導致上述錯誤以及如何解決?
你是如何退出docker撰寫任務的?我曾經收到錯誤「身份或令牌不匹配」。當憑證已被使用/記錄在 – ecn