- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我正在尝试在Hyperledger Fabric示例中的测试网络中创建一个 channel :
localhost:~/fabric-samples/test-network$ ./network.sh createChannel
但是我得到这个错误:
Error: failed to create deliver client for orderer: orderer client failed to connect to localhost:7050: failed to create new connection: context deadline exceeded
!!!!!!!!!!!!!!! Channel creation failed !!!!!!!!!!!!!!!!
Error !!! Create channel failed
所有容器都在Docker上运行:
localhost:~/fabric-samples/test-network$ docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
96b7f8e1b2a8 hyperledger/fabric-peer:latest "peer node start" 5 minutes ago Up 5 minutes 7051/tcp, 0.0.0.0:9051->9051/tcp peer0.org2.example.com
79a2c0ac6785 hyperledger/fabric-peer:latest "peer node start" 5 minutes ago Up 5 minutes 0.0.0.0:7051->7051/tcp peer0.org1.example.com
f87e809ddaa4 hyperledger/fabric-orderer:latest "orderer" 5 minutes ago Up 5 minutes 0.0.0.0:7050->7050/tcp orderer.example.com
如果我重新启动网络并尝试创建 channel ,这些是完整的日志:
localhost:~/fabric-samples/test-network$ ./network.sh down
Stopping network
Stopping peer0.org2.example.com ... done
Stopping peer0.org1.example.com ... done
Stopping orderer.example.com ... done
Removing peer0.org2.example.com ... done
Removing peer0.org1.example.com ... done
Removing orderer.example.com ... done
Removing network net_test
Removing volume net_orderer.example.com
Removing volume net_peer0.org1.example.com
Removing volume net_peer0.org2.example.com
Removing network net_test
WARNING: Network net_test not found.
Removing volume net_peer0.org3.example.com
WARNING: Volume net_peer0.org3.example.com not found.
---- No containers available for deletion ----
---- No images available for deletion ----
localhost:~/fabric-samples/test-network$ ./network.sh up
Starting nodes with CLI timeout of '5' tries and CLI delay of '3' seconds and using database 'leveldb' with crypto from 'cryptogen'
LOCAL_VERSION=2.1.1
DOCKER_IMAGE_VERSION=2.1.1
/home/daniele/fabric-samples/test-network/../bin/cryptogen
##########################################################
##### Generate certificates using cryptogen tool #########
##########################################################
##########################################################
############ Create Org1 Identities ######################
##########################################################
+ cryptogen generate --config=./organizations/cryptogen/crypto-config-org1.yaml --output=organizations
org1.example.com
+ res=0
+ set +x
##########################################################
############ Create Org2 Identities ######################
##########################################################
+ cryptogen generate --config=./organizations/cryptogen/crypto-config-org2.yaml --output=organizations
org2.example.com
+ res=0
+ set +x
##########################################################
############ Create Orderer Org Identities ###############
##########################################################
+ cryptogen generate --config=./organizations/cryptogen/crypto-config-orderer.yaml --output=organizations
+ res=0
+ set +x
Generate CCP files for Org1 and Org2
/home/daniele/fabric-samples/test-network/../bin/configtxgen
######### Generating Orderer Genesis block ##############
+ configtxgen -profile TwoOrgsOrdererGenesis -channelID system-channel -outputBlock ./system-genesis-block/genesis.block
2020-06-24 17:43:43.129 CEST [common.tools.configtxgen] main -> INFO 001 Loading configuration
2020-06-24 17:43:43.249 CEST [common.tools.configtxgen.localconfig] completeInitialization -> INFO 002 Orderer.Addresses unset, setting to [127.0.0.1:7050]
2020-06-24 17:43:43.250 CEST [common.tools.configtxgen.localconfig] completeInitialization -> INFO 003 orderer type: etcdraft
2020-06-24 17:43:43.251 CEST [common.tools.configtxgen.localconfig] completeInitialization -> INFO 004 Orderer.EtcdRaft.Options unset, setting to tick_interval:"500ms" election_tick:10 heartbeat_tick:1 max_inflight_blocks:5 snapshot_interval_size:16777216
2020-06-24 17:43:43.251 CEST [common.tools.configtxgen.localconfig] Load -> INFO 005 Loaded configuration: /home/daniele/fabric-samples/test-network/configtx/configtx.yaml
2020-06-24 17:43:43.257 CEST [common.tools.configtxgen] doOutputBlock -> INFO 006 Generating genesis block
2020-06-24 17:43:43.258 CEST [common.tools.configtxgen] doOutputBlock -> INFO 007 Writing genesis block
+ res=0
+ set +x
Creating network "net_test" with the default driver
Creating volume "net_orderer.example.com" with default driver
Creating volume "net_peer0.org1.example.com" with default driver
Creating volume "net_peer0.org2.example.com" with default driver
Creating orderer.example.com ... done
Creating peer0.org2.example.com ... done
Creating peer0.org1.example.com ... done
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
6e569adae90d hyperledger/fabric-orderer:latest "orderer" 10 seconds ago Up 4 seconds 0.0.0.0:7050->7050/tcp orderer.example.com
8cd28fc6db4d hyperledger/fabric-peer:latest "peer node start" 10 seconds ago Up 4 seconds 0.0.0.0:7051->7051/tcp peer0.org1.example.com
c770ba592a1f hyperledger/fabric-peer:latest "peer node start" 10 seconds ago Up Less than a second 7051/tcp, 0.0.0.0:9051->9051/tcp peer0.org2.example.com
localhost:~/fabric-samples/test-network$ ./network.sh createChannel
Creating channel 'mychannel'.
If network is not up, starting nodes with CLI timeout of '5' tries and CLI delay of '3' seconds and using database 'leveldb
### Generating channel create transaction 'mychannel.tx' ###
+ configtxgen -profile TwoOrgsChannel -outputCreateChannelTx ./channel-artifacts/mychannel.tx -channelID mychannel
2020-06-24 17:44:03.617 CEST [common.tools.configtxgen] main -> INFO 001 Loading configuration
2020-06-24 17:44:03.764 CEST [common.tools.configtxgen.localconfig] Load -> INFO 002 Loaded configuration: /home/daniele/fabric-samples/test-network/configtx/configtx.yaml
2020-06-24 17:44:03.765 CEST [common.tools.configtxgen] doOutputChannelCreateTx -> INFO 003 Generating new channel configtx
2020-06-24 17:44:03.774 CEST [common.tools.configtxgen] doOutputChannelCreateTx -> INFO 004 Writing new channel tx
+ res=0
+ set +x
### Generating anchor peer update transactions ###
####### Generating anchor peer update transaction for Org1MSP ##########
+ configtxgen -profile TwoOrgsChannel -outputAnchorPeersUpdate ./channel-artifacts/Org1MSPanchors.tx -channelID mychannel -asOrg Org1MSP
2020-06-24 17:44:03.899 CEST [common.tools.configtxgen] main -> INFO 001 Loading configuration
2020-06-24 17:44:04.022 CEST [common.tools.configtxgen.localconfig] Load -> INFO 002 Loaded configuration: /home/daniele/fabric-samples/test-network/configtx/configtx.yaml
2020-06-24 17:44:04.022 CEST [common.tools.configtxgen] doOutputAnchorPeersUpdate -> INFO 003 Generating anchor peer update
2020-06-24 17:44:04.028 CEST [common.tools.configtxgen] doOutputAnchorPeersUpdate -> INFO 004 Writing anchor peer update
+ res=0
+ set +x
####### Generating anchor peer update transaction for Org2MSP ##########
+ configtxgen -profile TwoOrgsChannel -outputAnchorPeersUpdate ./channel-artifacts/Org2MSPanchors.tx -channelID mychannel -asOrg Org2MSP
2020-06-24 17:44:04.172 CEST [common.tools.configtxgen] main -> INFO 001 Loading configuration
2020-06-24 17:44:04.322 CEST [common.tools.configtxgen.localconfig] Load -> INFO 002 Loaded configuration: /home/daniele/fabric-samples/test-network/configtx/configtx.yaml
2020-06-24 17:44:04.322 CEST [common.tools.configtxgen] doOutputAnchorPeersUpdate -> INFO 003 Generating anchor peer update
2020-06-24 17:44:04.329 CEST [common.tools.configtxgen] doOutputAnchorPeersUpdate -> INFO 004 Writing anchor peer update
+ res=0
+ set +x
Creating channel mychannel
Using organization 1
+ peer channel create -o localhost:7050 -c mychannel --ordererTLSHostnameOverride orderer.example.com -f ./channel-artifacts/mychannel.tx --outputBlock ./channel-artifacts/mychannel.block --tls --cafile /home/daniele/fabric-samples/test-network/organizations/ordererOrganizations/example.com/orderers/orderer.example.com/msp/tlscacerts/tlsca.example.com-cert.pem
+ res=1
+ set +x
+ peer channel create -o localhost:7050 -c mychannel --ordererTLSHostnameOverride orderer.example.com -f ./channel-artifacts/mychannel.tx --outputBlock ./channel-artifacts/mychannel.block --tls --cafile /home/daniele/fabric-samples/test-network/organizations/ordererOrganizations/example.com/orderers/orderer.example.com/msp/tlscacerts/tlsca.example.com-cert.pem
+ res=1
+ set +x
+ peer channel create -o localhost:7050 -c mychannel --ordererTLSHostnameOverride orderer.example.com -f ./channel-artifacts/mychannel.tx --outputBlock ./channel-artifacts/mychannel.block --tls --cafile /home/daniele/fabric-samples/test-network/organizations/ordererOrganizations/example.com/orderers/orderer.example.com/msp/tlscacerts/tlsca.example.com-cert.pem
+ res=1
+ set +x
+ peer channel create -o localhost:7050 -c mychannel --ordererTLSHostnameOverride orderer.example.com -f ./channel-artifacts/mychannel.tx --outputBlock ./channel-artifacts/mychannel.block --tls --cafile /home/daniele/fabric-samples/test-network/organizations/ordererOrganizations/example.com/orderers/orderer.example.com/msp/tlscacerts/tlsca.example.com-cert.pem
+ res=1
+ set +x
Error: failed to create deliver client for orderer: orderer client failed to connect to localhost:7050: failed to create new connection: context deadline exceeded
!!!!!!!!!!!!!!! Channel creation failed !!!!!!!!!!!!!!!!
Error !!! Create channel failed
这些是订购者的日志:
2020-06-24 15:43:52.494 UTC [localconfig] completeInitialization -> WARN 001 General.GenesisFile should be replaced by General.BootstrapFile
2020-06-24 15:43:52.497 UTC [localconfig] completeInitialization -> INFO 002 Kafka.Version unset, setting to 0.10.2.0
2020-06-24 15:43:52.497 UTC [orderer.common.server] prettyPrintStruct -> INFO 003 Orderer config values:
General.ListenAddress = "0.0.0.0"
General.ListenPort = 7050
General.TLS.Enabled = true
General.TLS.PrivateKey = "/var/hyperledger/orderer/tls/server.key"
General.TLS.Certificate = "/var/hyperledger/orderer/tls/server.crt"
General.TLS.RootCAs = [/var/hyperledger/orderer/tls/ca.crt]
General.TLS.ClientAuthRequired = false
General.TLS.ClientRootCAs = []
General.Cluster.ListenAddress = ""
General.Cluster.ListenPort = 0
General.Cluster.ServerCertificate = ""
General.Cluster.ServerPrivateKey = ""
General.Cluster.ClientCertificate = "/var/hyperledger/orderer/tls/server.crt"
General.Cluster.ClientPrivateKey = "/var/hyperledger/orderer/tls/server.key"
General.Cluster.RootCAs = [/var/hyperledger/orderer/tls/ca.crt]
General.Cluster.DialTimeout = 5s
General.Cluster.RPCTimeout = 7s
General.Cluster.ReplicationBufferSize = 20971520
General.Cluster.ReplicationPullTimeout = 5s
General.Cluster.ReplicationRetryTimeout = 5s
General.Cluster.ReplicationBackgroundRefreshInterval = 5m0s
General.Cluster.ReplicationMaxRetries = 12
General.Cluster.SendBufferSize = 10
General.Cluster.CertExpirationWarningThreshold = 168h0m0s
General.Cluster.TLSHandshakeTimeShift = 0s
General.Keepalive.ServerMinInterval = 1m0s
General.Keepalive.ServerInterval = 2h0m0s
General.Keepalive.ServerTimeout = 20s
General.ConnectionTimeout = 0s
General.GenesisMethod = "file"
General.GenesisFile = "/var/hyperledger/orderer/orderer.genesis.block"
General.BootstrapMethod = "file"
General.BootstrapFile = "/var/hyperledger/orderer/orderer.genesis.block"
General.Profile.Enabled = false
General.Profile.Address = "0.0.0.0:6060"
General.LocalMSPDir = "/var/hyperledger/orderer/msp"
General.LocalMSPID = "OrdererMSP"
General.BCCSP.ProviderName = "SW"
General.BCCSP.SwOpts.SecLevel = 256
General.BCCSP.SwOpts.HashFamily = "SHA2"
General.BCCSP.SwOpts.Ephemeral = true
General.BCCSP.SwOpts.FileKeystore.KeyStorePath = ""
General.BCCSP.SwOpts.DummyKeystore =
General.BCCSP.SwOpts.InmemKeystore =
General.Authentication.TimeWindow = 15m0s
General.Authentication.NoExpirationChecks = false
FileLedger.Location = "/var/hyperledger/production/orderer"
FileLedger.Prefix = "hyperledger-fabric-ordererledger"
Kafka.Retry.ShortInterval = 5s
Kafka.Retry.ShortTotal = 10m0s
Kafka.Retry.LongInterval = 5m0s
Kafka.Retry.LongTotal = 12h0m0s
Kafka.Retry.NetworkTimeouts.DialTimeout = 10s
Kafka.Retry.NetworkTimeouts.ReadTimeout = 10s
Kafka.Retry.NetworkTimeouts.WriteTimeout = 10s
Kafka.Retry.Metadata.RetryMax = 3
Kafka.Retry.Metadata.RetryBackoff = 250ms
Kafka.Retry.Producer.RetryMax = 3
Kafka.Retry.Producer.RetryBackoff = 100ms
Kafka.Retry.Consumer.RetryBackoff = 2s
Kafka.Verbose = true
Kafka.Version = 0.10.2.0
Kafka.TLS.Enabled = false
Kafka.TLS.PrivateKey = ""
Kafka.TLS.Certificate = ""
Kafka.TLS.RootCAs = []
Kafka.TLS.ClientAuthRequired = false
Kafka.TLS.ClientRootCAs = []
Kafka.SASLPlain.Enabled = false
Kafka.SASLPlain.User = ""
Kafka.SASLPlain.Password = ""
Kafka.Topic.ReplicationFactor = 1
Debug.BroadcastTraceDir = ""
Debug.DeliverTraceDir = ""
Consensus = map[SnapDir:/var/hyperledger/production/orderer/etcdraft/snapshot WALDir:/var/hyperledger/production/orderer/etcdraft/wal]
Operations.ListenAddress = "127.0.0.1:8443"
Operations.TLS.Enabled = false
Operations.TLS.PrivateKey = ""
Operations.TLS.Certificate = ""
Operations.TLS.RootCAs = []
Operations.TLS.ClientAuthRequired = false
Operations.TLS.ClientRootCAs = []
Metrics.Provider = "disabled"
Metrics.Statsd.Network = "udp"
Metrics.Statsd.Address = "127.0.0.1:8125"
Metrics.Statsd.WriteInterval = 30s
Metrics.Statsd.Prefix = ""
2020-06-24 15:43:52.534 UTC [orderer.common.server] initializeServerConfig -> INFO 004 Starting orderer with TLS enabled
2020-06-24 15:43:52.547 UTC [fsblkstorage] NewProvider -> INFO 005 Creating new file ledger directory at /var/hyperledger/production/orderer/chains
2020-06-24 15:43:52.571 UTC [orderer.common.server] extractSysChanLastConfig -> INFO 006 Bootstrapping because no existing channels
2020-06-24 15:43:52.590 UTC [orderer.common.server] Main -> INFO 007 Setting up cluster for orderer type etcdraft
2020-06-24 15:43:52.591 UTC [orderer.common.server] reuseListener -> INFO 008 Cluster listener is not configured, defaulting to use the general listener on port 7050
2020-06-24 15:43:52.591 UTC [fsblkstorage] newBlockfileMgr -> INFO 009 Getting block information from block storage
2020-06-24 15:43:52.646 UTC [orderer.consensus.etcdraft] HandleChain -> INFO 00a EvictionSuspicion not set, defaulting to 10m0s
2020-06-24 15:43:52.650 UTC [orderer.consensus.etcdraft] createOrReadWAL -> INFO 00b No WAL data found, creating new WAL at path '/var/hyperledger/production/orderer/etcdraft/wal/system-channel' channel=system-channel node=1
2020-06-24 15:43:52.656 UTC [orderer.commmon.multichannel] Initialize -> INFO 00c Starting system channel 'system-channel' with genesis block hash 7e6f95c1d82bf6a535276ca517cdde2eeb2d8e99d8182e01c15c7ee43df8d08e and orderer type etcdraft
2020-06-24 15:43:52.658 UTC [orderer.consensus.etcdraft] Start -> INFO 00d Starting Raft node channel=system-channel node=1
2020-06-24 15:43:52.659 UTC [orderer.common.cluster] Configure -> INFO 00e Entering, channel: system-channel, nodes: []
2020-06-24 15:43:52.659 UTC [orderer.common.cluster] Configure -> INFO 00f Exiting
2020-06-24 15:43:52.659 UTC [orderer.consensus.etcdraft] start -> INFO 010 Starting raft node as part of a new channel channel=system-channel node=1
2020-06-24 15:43:52.660 UTC [orderer.consensus.etcdraft] becomeFollower -> INFO 011 1 became follower at term 0 channel=system-channel node=1
2020-06-24 15:43:52.660 UTC [orderer.consensus.etcdraft] newRaft -> INFO 012 newRaft 1 [peers: [], term: 0, commit: 0, applied: 0, lastindex: 0, lastterm: 0] channel=system-channel node=1
2020-06-24 15:43:52.660 UTC [orderer.consensus.etcdraft] becomeFollower -> INFO 013 1 became follower at term 1 channel=system-channel node=1
2020-06-24 15:43:52.661 UTC [orderer.common.server] Main -> INFO 014 Starting orderer:
Version: 2.1.1
Commit SHA: 6393adb
Go version: go1.14.1
OS/Arch: linux/amd64
2020-06-24 15:43:52.664 UTC [orderer.consensus.etcdraft] run -> INFO 015 This node is picked to start campaign channel=system-channel node=1
2020-06-24 15:43:52.673 UTC [orderer.common.server] Main -> INFO 016 Beginning to serve requests
2020-06-24 15:43:52.674 UTC [orderer.consensus.etcdraft] apply -> INFO 017 Applied config change to add node 1, current nodes in channel: [1] channel=system-channel node=1
2020-06-24 15:43:53.674 UTC [orderer.consensus.etcdraft] Step -> INFO 018 1 is starting a new election at term 1 channel=system-channel node=1
2020-06-24 15:43:53.674 UTC [orderer.consensus.etcdraft] becomePreCandidate -> INFO 019 1 became pre-candidate at term 1 channel=system-channel node=1
2020-06-24 15:43:53.674 UTC [orderer.consensus.etcdraft] poll -> INFO 01a 1 received MsgPreVoteResp from 1 at term 1 channel=system-channel node=1
2020-06-24 15:43:53.674 UTC [orderer.consensus.etcdraft] becomeCandidate -> INFO 01b 1 became candidate at term 2 channel=system-channel node=1
2020-06-24 15:43:53.674 UTC [orderer.consensus.etcdraft] poll -> INFO 01c 1 received MsgVoteResp from 1 at term 2 channel=system-channel node=1
2020-06-24 15:43:53.674 UTC [orderer.consensus.etcdraft] becomeLeader -> INFO 01d 1 became leader at term 2 channel=system-channel node=1
2020-06-24 15:43:53.675 UTC [orderer.consensus.etcdraft] run -> INFO 01e raft.node: 1 elected leader 1 at term 2 channel=system-channel node=1
2020-06-24 15:43:53.675 UTC [orderer.consensus.etcdraft] run -> INFO 01f Leader 1 is present, quit campaign channel=system-channel node=1
2020-06-24 15:43:53.675 UTC [orderer.consensus.etcdraft] run -> INFO 020 Raft leader changed: 0 -> 1 channel=system-channel node=1
2020-06-24 15:43:53.676 UTC [orderer.consensus.etcdraft] run -> INFO 021 Start accepting requests as Raft leader at block [0] channel=system-channel node=1
有人可以帮助我解决这个问题吗?
localhost:~/fabric-samples/test-network$ docker inspect orderer.example.com -f "{{json .NetworkSettings.Networks }}"
{"net_test":{"IPAMConfig":null,"Links":null,"Aliases":["f3fdd48a7076","orderer.example.com"],"NetworkID":"23b404bac1f2961b721d1348ee21d1886268e7094485f4f46b0509133ac4bca2","EndpointID":"b026cba3dc23cb17ba7f3f89f2a776af2447233b1ddb829136e0bc2df34063b9","Gateway":"172.28.0.1","IPAddress":"172.28.0.3","IPPrefixLen":16,"IPv6Gateway":"","GlobalIPv6Address":"","GlobalIPv6PrefixLen":0,"MacAddress":"02:42:ac:1c:00:03","DriverOpts":null}}
但是,由于容器公开了端口7050,因此我也应该能够连接到localhost,但是我不能。
localhost:~/fabric-samples/test-network$ ./monitordocker.sh net_test
Starting monitoring on all containers on the network net_test
ed8fa674c820feae35c2ec8834a4350aca1c1ac590ba677a766fb14281e4fe31
peer0.org2.example.com|2020-06-26 10:08:57.353 UTC [core.comm] ServerHandshake -> ERRO 04b TLS handshake failed with error remote error: tls: bad certificate server=PeerServer remoteaddress=172.18.0.3:35778
peer0.org2.example.com|2020-06-26 10:08:58.354 UTC [core.comm] ServerHandshake -> ERRO 04c TLS handshake failed with error remote error: tls: bad certificate server=PeerServer remoteaddress=172.18.0.3:35780
peer0.org1.example.com|2020-06-26 10:08:58.430 UTC [core.comm] ServerHandshake -> ERRO 04c TLS handshake failed with error remote error: tls: bad certificate server=PeerServer remoteaddress=172.18.0.4:53408
peer0.org1.example.com|2020-06-26 10:08:59.432 UTC [core.comm] ServerHandshake -> ERRO 04d TLS handshake failed with error remote error: tls: bad certificate server=PeerServer remoteaddress=172.18.0.4:53410
peer0.org2.example.com|2020-06-26 10:08:59.641 UTC [core.comm] ServerHandshake -> ERRO 04d TLS handshake failed with error remote error: tls: bad certificate server=PeerServer remoteaddress=172.18.0.3:35786
peer0.org1.example.com|2020-06-26 10:09:00.351 UTC [gossip.discovery] func1 -> WARN 04e Could not connect to Endpoint: peer0.org2.example.com:9051, InternalEndpoint: peer0.org2.example.com:9051, PKI-ID: <nil>, Metadata: : context deadline exceeded
peer0.org1.example.com|2020-06-26 10:09:00.915 UTC [core.comm] ServerHandshake -> ERRO 04f TLS handshake failed with error remote error: tls: bad certificate server=PeerServer remoteaddress=172.18.0.4:53414
peer0.org2.example.com|2020-06-26 10:09:01.428 UTC [gossip.discovery] func1 -> WARN 04e Could not connect to Endpoint: peer0.org1.example.com:7051, InternalEndpoint: peer0.org1.example.com:7051, PKI-ID: <nil>, Metadata: : context deadline exceeded
证书似乎有问题,但是我不明白是什么。我从
https://hyperledger-fabric.readthedocs.io/en/latest/install.html
下载了 Fabric sample ,我以为一切都已经存在了。
2020-06-28 10:52:13.832 CEST [msp] getMspConfig -> DEBU 0f7 Intermediate certs folder not found at [/home/daniele/fabric-samples/test-network/organizations/peerOrganizations/org2.example.com/msp/intermediatecerts]. Skipping. [stat /home/daniele/fabric-samples/test-network/organizations/peerOrganizations/org2.example.com/msp/intermediatecerts: no such file or directory]
2020-06-28 10:52:13.833 CEST [msp] getPemMaterialFromDir -> DEBU 0f8 Reading directory /home/daniele/fabric-samples/test-network/organizations/peerOrganizations/org2.example.com/msp/tlscacerts
2020-06-28 10:52:13.834 CEST [msp] getPemMaterialFromDir -> DEBU 0f9 Inspecting file /home/daniele/fabric-samples/test-network/organizations/peerOrganizations/org2.example.com/msp/tlscacerts/tlsca.org2.example.com-cert.pem
2020-06-28 10:52:13.835 CEST [msp] getPemMaterialFromDir -> DEBU 0fa Reading directory /home/daniele/fabric-samples/test-network/organizations/peerOrganizations/org2.example.com/msp/tlsintermediatecerts
2020-06-28 10:52:13.836 CEST [msp] getMspConfig -> DEBU 0fb TLS intermediate certs folder not found at [/home/daniele/fabric-samples/test-network/organizations/peerOrganizations/org2.example.com/msp/tlsintermediatecerts]. Skipping. [stat /home/daniele/fabric-samples/test-network/organizations/peerOrganizations/org2.example.com/msp/tlsintermediatecerts: no such file or directory]
2020-06-28 10:52:13.837 CEST [msp] getPemMaterialFromDir -> DEBU 0fc Reading directory /home/daniele/fabric-samples/test-network/organizations/peerOrganizations/org2.example.com/msp/crls
2020-06-28 10:52:13.837 CEST [msp] getMspConfig -> DEBU 0fd crls folder not found at [/home/daniele/fabric-samples/test-network/organizations/peerOrganizations/org2.example.com/msp/crls]. Skipping. [stat /home/daniele/fabric-samples/test-network/organizations/peerOrganizations/org2.example.com/msp/crls: no such file or directory]
2020-06-28 10:52:13.839 CEST [msp] getMspConfig -> DEBU 0fe Loading NodeOUs
2020-06-28 10:52:13.842 CEST [common.tools.configtxgen] doOutputAnchorPeersUpdate -> INFO 0ff Writing anchor peer update
+ res=0
+ set +x
Creating channel mychannel
Using organization 1
+ peer channel create -o localhost:7050 -c mychannel --ordererTLSHostnameOverride orderer.example.com -f ./channel-artifacts/mychannel.tx --outputBlock ./channel-artifacts/mychannel.block --tls --cafile /home/daniele/fabric-samples/test-network/organizations/ordererOrganizations/example.com/orderers/orderer.example.com/msp/tlscacerts/tlsca.example.com-cert.pem
+ res=1
+ set +x
最佳答案
有趣的。我查看了您的日志,没有发现任何明显的问题,并且您已经发现您无法联系到订购者。 。我想检查这是否确实是TLS问题。你能帮我试试吗?
fabric-samples/commercial-paper/organization/digibank/configuration/cli/
文件夹中应该有一个monitordocker.sh脚本。它的日志记录输出并将所有日志收集在一起,然后将其复制到测试网络。 ./monitordocker.sh net_test
./network.sh createChannel
,看看是否可以从logspout 关于docker - Hyperledger测试网络-无法创建新的连接: context deadline exceeded,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/62565167/
我通过 spring ioc 编写了一些 Rest 应用程序。但我无法解决这个问题。这是我的异常(exception): org.springframework.beans.factory.BeanC
我对 TestNG、Spring 框架等完全陌生,我正在尝试使用注释 @Value通过 @Configuration 访问配置文件注释。 我在这里想要实现的目标是让控制台从配置文件中写出“hi”,通过
为此工作了几个小时。我完全被难住了。 这是 CS113 的实验室。 如果用户在程序(二进制计算器)结束时选择继续,我们需要使用 goto 语句来到达程序的顶部。 但是,我们还需要释放所有分配的内存。
我正在尝试使用 ffmpeg 库构建一个小的 C 程序。但是我什至无法使用 avformat_open_input() 打开音频文件设置检查错误代码的函数后,我得到以下输出: Error code:
使用 Spring Initializer 创建一个简单的 Spring boot。我只在可用选项下选择 DevTools。 创建项目后,无需对其进行任何更改,即可正常运行程序。 现在,当我尝试在项目
所以我只是在 Mac OS X 中通过 brew 安装了 qt。但是它无法链接它。当我尝试运行 brew link qt 或 brew link --overwrite qt 我得到以下信息: ton
我在提交和 pull 时遇到了问题:在提交的 IDE 中,我看到: warning not all local changes may be shown due to an error: unable
我跑 man gcc | grep "-L" 我明白了 Usage: grep [OPTION]... PATTERN [FILE]... Try `grep --help' for more inf
我有一段代码,旨在接收任何 URL 并将其从网络上撕下来。到目前为止,它运行良好,直到有人给了它这个 URL: http://www.aspensurgical.com/static/images/a
在过去的 5 个小时里,我一直在尝试在我的服务器上设置 WireGuard,但在完成所有设置后,我无法 ping IP 或解析域。 下面是服务器配置 [Interface] Address = 10.
我正在尝试在 GitLab 中 fork 我的一个私有(private)项目,但是当我按下 fork 按钮时,我会收到以下信息: No available namespaces to fork the
我这里遇到了一些问题。我是 node.js 和 Rest API 的新手,但我正在尝试自学。我制作了 REST API,使用 MongoDB 与我的数据库进行通信,我使用 Postman 来测试我的路
下面的代码在控制台中给出以下消息: Uncaught DOMException: Failed to execute 'appendChild' on 'Node': The new child el
我正在尝试调用一个新端点来显示数据,我意识到在上一组有效的数据中,它在数据周围用一对额外的“[]”括号进行控制台,我认为这就是问题是,而新端点不会以我使用数据的方式产生它! 这是 NgFor 失败的原
我正在尝试将我的 Symfony2 应用程序部署到我的 Azure Web 应用程序,但遇到了一些麻烦。 推送到远程时,我在终端中收到以下消息 remote: Updating branch 'mas
Minikube已启动并正在运行,没有任何错误,但是我无法 curl IP。我在这里遵循:https://docs.traefik.io/user-guide/kubernetes/,似乎没有提到关闭
每当我尝试docker组成任何项目时,都会出现以下错误。 我尝试过有和没有sudo 我在这台机器上只有这个问题。我可以在Mac和Amazon WorkSpace上运行相同的容器。 (myslabs)
我正在尝试 pip install stanza 并收到此消息: ERROR: No matching distribution found for torch>=1.3.0 (from stanza
DNS 解析看起来不错,但我无法 ping 我的服务。可能是什么原因? 来自集群中的另一个 Pod: $ ping backend PING backend.default.svc.cluster.l
我正在使用Hibernate 4 + Spring MVC 4当我开始 Apache Tomcat Server 8我收到此错误: Error creating bean with name 'wel
我是一名优秀的程序员,十分优秀!