- 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/
我遇到了一个奇怪的问题。我的应用程序的 Release 版本似乎运行良好,但最近当我切换到 Debug 版本时,我在启动时立即遇到访问冲突。当释放分配的内存块时,就会发生访问冲突。所有这些都发生在静态
我在 C# 中偶然发现了这种奇怪的语法形式,并试图弄清楚它的含义以及如何使用它。网络上似乎没有关于此的任何文档。 object data = new { var1 = someValue, var2
我正在尝试使用浏览器的内置类型 CSSStyleDeclaration 以编程方式传递和修改样式(由于 .cssText 属性,这很方便)。 但是,new CSSStyleDeclaration()
我有现成的代码: internal bool firstAsSymbol(out Symbol s) { return (s = first as Symbol) !=
在新的 Eclipse 版本 2022-03 中,一些(但不是全部)java 项目在 Project Explorer View 中的外观发生了变化。尽管 Package Presentation 设
我正在尝试使用 FormData 通过获取 API 在 POST 请求中发送用户输入的数据。问题是,当我用我创建的表单创建一个新的 FormData 对象时,它一直在创建一个空对象——没有条目/键/值
我有一个用一些 intel-intrinsincs 编写的 C 代码。在我先用 avx 然后用 ssse3 标志编译后,我得到了两个完全不同的汇编代码。例如: AVX: vpunpckhbw %xm
最近,discord 为您自己的应用程序添加了对斜杠命令的支持。我通读了它的文档,并尝试搜索一些视频(但是该功能刚刚出现),但我不明白我实际上需要做什么才能使其正常工作。我正在使用 WebStorm(
我想使用 JRI 从 Java 调用 R。 我在 eclipse 下在主类中运行它: Rengine c = new Rengine(new String[] { "--vanilla" },
我正在使用新的 Place Autocomplete那是来自新的静态Google Places SDK 客户端库 (here)。所以它真的很容易使用,我刚得到this tutorial它按预期工作。
我刚刚更新到 flutter 版本 1.25.0-5.0.pre.92,我的代码中出现了很多与空安全相关的错误,这些错误以前运行良好。我没有以任何方式选择空安全,我所做的只是运行 flutter 升级
我已经使用 React Native 有一段时间了,但我想我会在网络上试用 React。所以我遵循了这个指南:https://reactjs.org/docs/create-a-new-react-a
周六早上在这里。尝试学习新的 Scala 编译器 dotty。 安装在我的 Mac 上使用 brew install lampepfl/brew/dotty 安装成功。我有版本 dotr -versi
我使用了谷歌地方的新依赖。单击自动完成 View 时应用程序崩溃。错误如下。, java.lang.NullPointerException: Place Fields must be set.
我关注了这个博客-> https://medium.com/@teyou21/training-your-object-detection-model-on-tensorflow-part-2-e9e
在哪里可以找到用于在此架构上进行组装的新寄存器的名称? 我指的是 X86 中的寄存器,如 EAX、ESP、EBX 等。但我希望它们是 64 位的。 我认为它们与我反汇编 C 代码时不同,我得到的是 r
新的服务总线库 Azure.Messaging.ServiceBus 使用 ServiceBusReceivedMessage 来接收消息 https://learn.microsoft.com/en
需要使用实时流媒体 channel 的实时编码类型在新的 Azure 门户中配置广告插入和石板图像。请帮忙解决这个问题,因为我找不到该功能。 最佳答案 此处描述了 Azure 媒体服务的广告插入选项
我正在使用新的 GitHub 操作,下面的工作流程的想法是在打开或同步 pr 时运行,它应该首先检查并安装依赖项,然后运行一些 yarn 脚本 name: PR to Master on: pul
我听说 DMD 2.058 中将有一个用于匿名函数的新语法,但我找不到任何相关信息。新语法是什么?旧语法是否会被弃用? 最佳答案 我相信它就像 C#'s . 以下内容是等效的: delegate(i,
我是一名优秀的程序员,十分优秀!