2017-06-20 76 views
0

我得到了以下錯誤:錯誤創建hyperledger作曲家其餘服務器

"Error: event message must be properly signed by an identity from the same organization as the peer: [failed deserializing event creator: [Expected MSP ID Org1MSP, received ]]" 

當我執行:

composer-rest-server

類似: Could not deploy business network to hyperledger fabric beta using composer

但是,這是其餘的服務器和我上有正確的版本:

composer -v 
    composer-cli     v0.8.0 
    composer-admin     v0.8.0 
    composer-client    v0.8.0 
    composer-common    v0.8.0 
    composer-runtime-hlf   v0.8.0 
    composer-runtime-hlfv1   v0.8.0 

    docker -v 
    Docker version 17.03.1-ce, build c6d412e 
    docker-compose -v 
    docker-compose version 1.13.0, build 1719ceb 
    npm -v 
    3.10.10 

Hypeledger我的模式運行:

composer network ping -n calma-network -p hlfv1 -i admin -s adminpw 
The connection to the network was successfully tested: calma-network 
     version: 0.8.0 
     participant: <no participant found> 

Command succeeded 

回答

1

您所輸入的命令只顯示作曲家命令行界面的版本,不包括作曲家其餘服務器的版本。作曲家休息服務器是獨立的,不需要作曲家cli運行。很可能您的composer rest服務器的版本比0.8.0更舊,但是沒有簡單的方法來檢查版本。一種方法是調用命令

npm list -g --depth=0 | grep composer-rest-server

您需要卸載並重新安裝composer rest服務器以獲取最新級別。

+0

你是完全正確的。我正在使用0.7版本的作曲家休息服務器,現在用0.8的OK。謝謝。 – deimos1975