第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

為了賬號安全,請及時綁定郵箱和手機(jī)立即綁定
已解決430363個問題,去搜搜看,總會有你想問的

在打開安全和隱私的情況下啟動對等點時出錯

在打開安全和隱私的情況下啟動對等點時出錯

Go
溫溫醬 2022-01-17 17:56:20
當(dāng)我嘗試使用peer node start我收到以下錯誤hyperledger@linux-box:/opt/gopath/src/github.com/hyperledger/fabric$ peer node start20:42:02.999 [crypto] main -> INFO 001 Log level recognized 'info', set to INFO20:42:03.017 [main] serve -> INFO 002 Security enabled status: true20:42:03.017 [main] serve -> INFO 004 Privacy enabled status: true20:42:03.017 [crypto] func1 -> INFO 005 Registering validator [vp] with name [vp]...20:42:03.017 [eventhub_producer] start -> INFO 003 event processor startedpanic: runtime error: invalid memory address or nil pointer dereference[signal 0xb code=0x1 addr=0x10 pc=0x8ad221]goroutine 1 [running]:panic(0xd43fe0, 0xc82000e120)    /opt/go/src/runtime/panic.go:481 +0x3e6github.com/hyperledger/fabric/core/crypto/utils.PEMtoPrivateKey(0x15409e0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)    /opt/gopath/src/github.com/hyperledger/fabric/core/crypto/utils/keys.go:117 +0x91github.com/hyperledger/fabric/core/crypto.(*nodeImpl).retrieveEnrollmentData(0xc820226630, 0xc8201c35c8, 0x2, 0xc8201c35f0, 0xc, 0x0, 0x0)    /opt/gopath/src/github.com/hyperledger/fabric/core/crypto/node_eca.go:120 +0xe55github.com/hyperledger/fabric/core/crypto.(*nodeImpl).registerCryptoEngine(0xc820226630, 0xc8201c35c8, 0x2, 0xc8201c35f0, 0xc, 0x0, 0x0)    /opt/gopath/src/github.com/hyperledger/fabric/core/crypto/node_crypto.go:49 +0x5d6github.com/hyperledger/fabric/core/crypto.(*nodeImpl).register(0xc820226630, 0x2, 0xc8201c35c8, 0x2, 0x0, 0x0, 0x0, 0xc8201c35c8, 0x2, 0xc8201c35f0, ...)我的 core.yaml 包含默認(rèn)內(nèi)容,啟用了安全和隱私。這是一個錯誤嗎?
查看完整描述

1 回答

?
慕尼黑的夜晚無繁華

TA貢獻(xiàn)1864條經(jīng)驗 獲得超6個贊

好吧,我仍然認(rèn)為我們恐慌的事實是一個錯誤,但我的猜測是您尚未構(gòu)建和/或啟動啟用安全性時所需的會員服務(wù): https ://github.com/hyperledger/fabric/blob/ master/docs/API/SandboxSetup.md#security-setup-optional

編輯:我最初在上面的堆棧跟蹤中遺漏了一些東西??雌饋砟谶\行一個非常舊版本的結(jié)構(gòu)代碼。例如github.com/hyperledger/fabric/core/crypto/utils/keys.go不再在當(dāng)前代碼中。我檢查了你的叉子,看來你還遠(yuǎn)遠(yuǎn)落后。不確定您是否正在構(gòu)建您的 fork,但看起來您肯定有舊代碼并且需要拉下上游更改


查看完整回答
反對 回復(fù) 2022-01-17
  • 1 回答
  • 0 關(guān)注
  • 176 瀏覽
慕課專欄
更多

添加回答

舉報

0/150
提交
取消
微信客服

購課補貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動學(xué)習(xí)伙伴

公眾號

掃描二維碼
關(guān)注慕課網(wǎng)微信公眾號