user@node-1:~/go/src/github.com/hyperledger/fabric-samples/bbids/fabcar$ ./startFabric.sh javascript
# don't rewrite paths for Windows Git Bash users
export MSYS_NO_PATHCONV=1
docker-compose -f docker-compose.yml down
Stopping ca.example.com ... done
Stopping couchdb ... done
Removing ca.example.com ... done
Removing couchdb ... done
Removing network net_basic
docker-compose -f docker-compose.yml up -d ca.example.com orderer.example.com peer0.org1.example.com couchdb
Creating network "net_basic" with the default driver
Creating couchdb ... done
Creating ca.example.com ... done
Creating orderer.example.com ... done
Creating peer0.org1.example.com ... done
# wait for Hyperledger Fabric to start
# incase of errors when running later commands, issue export FABRIC_START_TIMEOUT=<larger number>
export FABRIC_START_TIMEOUT=10
#echo ${FABRIC_START_TIMEOUT}
sleep ${FABRIC_START_TIMEOUT}
# Create the channel
docker exec -e "CORE_PEER_LOCALMSPID=Org1MSP" -e "CORE_PEER_MSPCONFIGPATH=/etc/hyperledger/msp/users/Admin@org1.example.com/msp" peer0.org1.example.com peer channel create -o orderer.example.com:7050 -c mychannel -f /etc/hyperledger/configtx/channel.tx
2021-08-29 17:08:55.381 UTC [channelCmd] InitCmdFactory -> INFO 001 Endorser and orderer connections initialized
2021-08-29 17:08:55.403 UTC [cli.common] readBlock -> INFO 002 Received block: 0
# Join peer0.org1.example.com to the channel.
docker exec -e "CORE_PEER_LOCALMSPID=Org1MSP" -e "CORE_PEER_MSPCONFIGPATH=/etc/hyperledger/msp/users/Admin@org1.example.com/msp" peer0.org1.example.com peer channel join -b mychannel.block
2021-08-29 17:08:55.648 UTC [channelCmd] InitCmdFactory -> INFO 001 Endorser and orderer connections initialized
2021-08-29 17:08:55.776 UTC [channelCmd] executeJoin -> INFO 002 Successfully submitted proposal to join channel
Creating cli ... done
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
7feb28aba9fc hyperledger/fabric-tools "/bin/bash" Less than a second ago Up Less than a second cli
a624b77dedbe hyperledger/fabric-peer "peer node start" 12 seconds ago Up 11 seconds 0.0.0.0:7051->7051/tcp, :::7051->7051/tcp, 0.0.0.0:7053->7053/tcp, :::7053->7053/tcp peer0.org1.example.com
6dfab2cdd99c hyperledger/fabric-orderer "orderer" 14 seconds ago Up 12 seconds 0.0.0.0:7050->7050/tcp, :::7050->7050/tcp orderer.example.com
bf94e094dca6 hyperledger/fabric-ca "sh -c 'fabric-ca-se…" 14 seconds ago Up 13 seconds 0.0.0.0:7054->7054/tcp, :::7054->7054/tcp ca.example.com
1c456d2dc86b hyperledger/fabric-couchdb "tini -- /docker-ent…" 14 seconds ago Up 12 seconds 4369/tcp, 9100/tcp, 0.0.0.0:5984->5984/tcp, :::5984->5984/tcp couchdb
4d62c621f0d7 hello-world "/hello" 2 hours ago Exited (0) 2 hours ago elated_grothendieck
2021-08-29 17:08:56.961 UTC [chaincodeCmd] checkChaincodeCmdParams -> INFO 001 Using default escc
2021-08-29 17:08:56.962 UTC [chaincodeCmd] checkChaincodeCmdParams -> INFO 002 Using default vscc
2021-08-29 17:09:16.847 UTC [chaincodeCmd] submitInstallProposal -> INFO 003 Installed remotely: response:<status:200 payload:"OK" >
2021-08-29 17:09:17.154 UTC [chaincodeCmd] checkChaincodeCmdParams -> INFO 001 Using default escc
2021-08-29 17:09:17.155 UTC [chaincodeCmd] checkChaincodeCmdParams -> INFO 002 Using default vscc
**Error: could not assemble transaction, err proposal response was not successful, error code 500, msg error in simulation: could not launch chaincode fabcar:1.0: chaincode registration failed: container exited with 1**
docker-compose版本1.29.2,构建未知
go版本GO1.17 Linux/AMD64
用户@node-1:~/go/src/github.com/hyperledger/fabric-samples/test-network$node-v v12.22.5
user@node-1:~/go/src/github.com/hyperledger/fabric-samples/test-network$ docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
busybox latest 42b97d3c2ae9 9 days ago 1.24MB
hyperledger/fabric-ca 1.5 c6803b1828da 12 days ago 70.8MB
hyperledger/fabric-ca 1.5.1 c6803b1828da 12 days ago 70.8MB
hyperledger/fabric-ca latest c6803b1828da 12 days ago 70.8MB
hyperledger/fabric-nodeenv 2.3 1bbb2e701fa2 2 weeks ago 295MB
hyperledger/fabric-tools 2.3 a206a1593b4c 4 months ago 448MB
hyperledger/fabric-tools 2.3.2 a206a1593b4c 4 months ago 448MB
hyperledger/fabric-tools latest a206a1593b4c 4 months ago 448MB
hyperledger/fabric-peer 2.3 85c825d4769f 4 months ago 54.2MB
hyperledger/fabric-peer 2.3.2 85c825d4769f 4 months ago 54.2MB
hyperledger/fabric-peer latest 85c825d4769f 4 months ago 54.2MB
hyperledger/fabric-orderer 2.3 7cad713cbfea 4 months ago 37.8MB
hyperledger/fabric-orderer 2.3.2 7cad713cbfea 4 months ago 37.8MB
hyperledger/fabric-orderer latest 7cad713cbfea 4 months ago 37.8MB
hyperledger/fabric-ccenv 2.3 627c556b15ca 4 months ago 514MB
hyperledger/fabric-ccenv 2.3.2 627c556b15ca 4 months ago 514MB
hyperledger/fabric-ccenv latest 627c556b15ca 4 months ago 514MB
hyperledger/fabric-baseos 2.3 e50ea411d694 4 months ago 6.86MB
hyperledger/fabric-baseos 2.3.2 e50ea411d694 4 months ago 6.86MB
hyperledger/fabric-baseos latest e50ea411d694 4 months ago 6.86MB
hello-world latest d1165f221234 5 months ago 13.3kB
hyperledger/fabric-couchdb latest b967e8b98b6b 14 months ago 261MB
Error: could not assemble transaction, err proposal response was not successful, error code 500, msg error in simulation: could not launch chaincode fabcar:1.0: chaincode regist
ekaterina@node-1:~/go/src/github.com/hyperledger/fabric-samples/bbids/fabcar$ docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS NAMES
50002900be25 dev-peer0.org1.example.com-fabcar-1.0-5c906e402ed29f20260ae42283216aa75549c571e2e380f3615826365d8269ba "docker-entrypoint.s…" 21 seconds ago Exited (1) 19 s dev-peer0.org1.example.com-fabcar-1.0
2c0789a1daa5 hyperledger/fabric-tools "/bin/bash" 22 seconds ago Up 21 seconds cli
684b35d2689a hyperledger/fabric-peer "peer node start" 35 seconds ago Up 33 seconds 0.0:7053->7053/tcp, :::7053->7053/tcp peer0.org1.example.com
39d060bdf59b hyperledger/fabric-couchdb "tini -- /docker-ent…" 37 seconds ago Up 34 seconds 5984->5984/tcp couchdb
e1902404188f hyperledger/fabric-ca "sh -c 'fabric-ca-se…" 37 seconds ago Up 34 seconds ca.example.com
e8563d51b253 hyperledger/fabric-orderer "orderer" 37 seconds ago Up 34 seconds orderer.example.com
ekaterina@node-1:~/go/src/github.com/hyperledger/fabric-samples/bbids/fabcar$ docker lo
load login logout logs
ekaterina@node-1:~/go/src/github.com/hyperledger/fabric-samples/bbids/fabcar$ docker logs 50002900be25
+ CHAINCODE_DIR=/usr/local/src
+ cd /usr/local/src
+ npm start -- --peer.address peer0.org1.example.com:7052
> fabcar@1.0.0 start /usr/local/src
> fabric-chaincode-node start "--peer.address" "peer0.org1.example.com:7052"
internal/modules/cjs/loader.js:985
throw err;
^
Error: Cannot find module 'winston'
Require stack:
- /usr/local/src/node_modules/fabric-shim/lib/logger.js
- /usr/local/src/node_modules/fabric-shim/cli.js
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:982:15)
at Function.Module._load (internal/modules/cjs/loader.js:864:27)
at Module.require (internal/modules/cjs/loader.js:1044:19)
at require (internal/modules/cjs/helpers.js:77:18)
at Object.<anonymous> (/usr/local/src/node_modules/fabric-shim/lib/logger.js:8:17)
at Module._compile (internal/modules/cjs/loader.js:1158:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1178:10)
at Module.load (internal/modules/cjs/loader.js:1002:32)
at Function.Module._load (internal/modules/cjs/loader.js:901:14)
at Module.require (internal/modules/cjs/loader.js:1044:19) {
code: 'MODULE_NOT_FOUND',
requireStack: [
'/usr/local/src/node_modules/fabric-shim/lib/logger.js',
'/usr/local/src/node_modules/fabric-shim/cli.js'
]
}
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! fabcar@1.0.0 start: `fabric-chaincode-node start "--peer.address" "peer0.org1.example.com:7052"`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the fabcar@1.0.0 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2021-08-30T20_12_43_738Z-debug.log
ekaterina@node-1:~/go/src/github.com/hyperledger/fabric-samples/bbids/fabcar$
启动后出现一个窗口并立即消失,我不明白怎么了。Google除了最新版本外,selenium还设置为LATEST参数(特定版本没有任何变化)。 错误: 代码:
问题内容: 由于这个问题,我已经呆了好几天,而且似乎找不到解决方案。无论我做什么,我都无法让chromedriver在我的机器上工作。我已经尝试了几乎所有我可以想象的设置。列举一些: Chrome 64位,Python 64位 Chrome 32位,Python 32位 Chrome 64位,Python 32位 Chrome 32位,Python 64位 我还尝试了不同版本的Chrome及其相应
问题内容: 我有一个运行以下配置的网站: Django + mod-wsgi + Apache 在一个用户的请求中,我向另一个服务发送另一个HTTP请求,并通过python的httplib库解决了这个问题。 但是有时此服务不会得到太长的答案,并且httplib的超时不起作用。因此,我创建了线程,在该线程中,我向服务发送请求,并在20秒(20秒-是请求超时)后加入。它是这样工作的: 像这样的东西 并
我知道有好几篇关于这件事的帖子,但没有任何具体的帮助。我有一个Java Springboot rest API,它在localhost上运行良好,但在尝试作为jar运行时会抛出一个错误。 这是我的主要课程: 这是我尝试运行jar文件时的输出: 我的pom。xml是我所有修复这一问题的尝试中的一个烂摊子,但它是: 感谢任何帮助。谢谢你看一看!
我正在尝试从Java应用程序(更具体地说是Talend作业)运行Selenium。该作业在本地运行良好,但是,当它部署到Windows Server 2019时,我收到以下错误: 无法启动新会话。响应代码500。消息:未知错误:无法为解压扩展创建临时目录 以下是我的Selenium Java代码: 将TMP和TEMP环境变量设置为C:\TEMP
无法从量角器上启动火狐浏览器。获取错误E/Launcher-无法创建新服务:GeckoDriverService生成信息:版本:“3.141.59”,修订:“E82BE7D358”,时间:“2018-11-14T08:25:53”