- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我正在尝试在多个对等点之间实例化链码,每个对等点都在各自的组织中。出于调试目的,我创建了一个 channel testchannel
只有一个组织overseer
与单个对等 peer0
.我能够
peer channel list
时, channel 出现在结果中)peer chaincode list --installed
时,链码出现在结果中)peer chaincode instantiate -C testchannel -v v0 -n example --peerAddresses peer0.overseer.bloomberg.com:7051 -o orderer.bloomberg.com:7050 -c '{"Args":["init","a","100","b","200"]}' -P "AND ('OverseerOrg.peer')"
实例化链码时,一个新的链码容器启动,但在几秒钟后退出,因为它无法到达对等点。
CORE_PEER_ADDRESS=peer0.overseer.example.com:7051
放
2018-10-12 20:44:56.797 UTC [shim] userChaincodeStreamGetter -> ERRO 001
context deadline exceeded
error trying to connect to local peer
github.com/hyperledger/fabric/core/chaincode/shim.userChaincodeStreamGetter
/opt/gopath/src/github.com/hyperledger/fabric/core/chaincode/shim/chaincode.go:111
github.com/hyperledger/fabric/core/chaincode/shim.Start
/opt/gopath/src/github.com/hyperledger/fabric/core/chaincode/shim/chaincode.go:150
main.main
/chaincode/input/src/example/example.go:195
runtime.main
/opt/go/src/runtime/proc.go:198
runtime.goexit
/opt/go/src/runtime/asm_amd64.s:2361
Error starting Simple chaincode: error trying to connect to local peer: context deadline exceeded
2018-10-12 20:26:02.507 UTC [viperutil] getKeysRecursively -> DEBU 001 Found map[string]interface{} value for peer.BCCSP
2018-10-12 20:26:02.507 UTC [viperutil] getKeysRecursively -> DEBU 002 Found map[string]interface{} value for peer.BCCSP.PKCS11
2018-10-12 20:26:02.508 UTC [viperutil] unmarshalJSON -> DEBU 003 Unmarshal JSON: value is not a string: <nil>
2018-10-12 20:26:02.508 UTC [viperutil] getKeysRecursively -> DEBU 004 Found real value for peer.BCCSP.PKCS11.Pin setting to <nil> <nil>
2018-10-12 20:26:02.509 UTC [viperutil] unmarshalJSON -> DEBU 005 Unmarshal JSON: value is not a string: <nil>
2018-10-12 20:26:02.509 UTC [viperutil] getKeysRecursively -> DEBU 006 Found real value for peer.BCCSP.PKCS11.Hash setting to <nil> <nil>
2018-10-12 20:26:02.509 UTC [viperutil] unmarshalJSON -> DEBU 007 Unmarshal JSON: value is not a string: <nil>
2018-10-12 20:26:02.510 UTC [viperutil] getKeysRecursively -> DEBU 008 Found real value for peer.BCCSP.PKCS11.Security setting to <nil> <nil>
2018-10-12 20:26:02.510 UTC [viperutil] getKeysRecursively -> DEBU 009 Found map[string]interface{} value for peer.BCCSP.PKCS11.FileKeyStore
2018-10-12 20:26:02.511 UTC [viperutil] unmarshalJSON -> DEBU 00a Unmarshal JSON: value is not a string: <nil>
2018-10-12 20:26:02.511 UTC [viperutil] getKeysRecursively -> DEBU 00b Found real value for peer.BCCSP.PKCS11.FileKeyStore.KeyStore setting to <nil> <nil>
2018-10-12 20:26:02.511 UTC [viperutil] unmarshalJSON -> DEBU 00c Unmarshal JSON: value is not a string: <nil>
2018-10-12 20:26:02.512 UTC [viperutil] getKeysRecursively -> DEBU 00d Found real value for peer.BCCSP.PKCS11.Library setting to <nil> <nil>
2018-10-12 20:26:02.512 UTC [viperutil] unmarshalJSON -> DEBU 00e Unmarshal JSON: value is not a string: <nil>
2018-10-12 20:26:02.513 UTC [viperutil] getKeysRecursively -> DEBU 00f Found real value for peer.BCCSP.PKCS11.Label setting to <nil> <nil>
2018-10-12 20:26:02.513 UTC [viperutil] unmarshalJSON -> DEBU 010 Unmarshal JSON: value cannot be unmarshalled: invalid character 'S' looking for beginning of value
2018-10-12 20:26:02.513 UTC [viperutil] getKeysRecursively -> DEBU 011 Found real value for peer.BCCSP.Default setting to string SW
2018-10-12 20:26:02.514 UTC [viperutil] getKeysRecursively -> DEBU 012 Found map[string]interface{} value for peer.BCCSP.SW
2018-10-12 20:26:02.514 UTC [viperutil] getKeysRecursively -> DEBU 013 Found map[string]interface{} value for peer.BCCSP.SW.FileKeyStore
2018-10-12 20:26:02.514 UTC [viperutil] unmarshalJSON -> DEBU 014 Unmarshal JSON: value cannot be unmarshalled: unexpected end of JSON input
2018-10-12 20:26:02.514 UTC [viperutil] getKeysRecursively -> DEBU 015 Found real value for peer.BCCSP.SW.FileKeyStore.KeyStore setting to string
2018-10-12 20:26:02.515 UTC [viperutil] unmarshalJSON -> DEBU 016 Unmarshal JSON: value cannot be unmarshalled: invalid character 'S' looking for beginning of value
2018-10-12 20:26:02.515 UTC [viperutil] getKeysRecursively -> DEBU 017 Found real value for peer.BCCSP.SW.Hash setting to string SHA2
2018-10-12 20:26:02.515 UTC [viperutil] unmarshalJSON -> DEBU 018 Unmarshal JSON: value is not a string: 256
2018-10-12 20:26:02.515 UTC [viperutil] getKeysRecursively -> DEBU 019 Found real value for peer.BCCSP.SW.Security setting to int 256
2018-10-12 20:26:02.515 UTC [viperutil] EnhancedExactUnmarshalKey -> DEBU 01a map[peer.BCCSP:map[PKCS11:map[Hash:<nil> Security:<nil> FileKeyStore:map[KeyStore:<nil>] Library:<nil> Label:<nil> Pin:<nil>] Default:SW SW:map[Security:256 FileKeyStore:map[KeyStore:] Hash:SHA2]]]
2018-10-12 20:26:02.515 UTC [bccsp_sw] openKeyStore -> DEBU 01b KeyStore opened at [/opt/gopath/src/github.com/hyperledger/fabric/peer/channel/crypto-config/peerOrganizations/overseer.example.com/users/Admin@overseer.example.com/msp/keystore]...done
2018-10-12 20:26:02.516 UTC [bccsp] initBCCSP -> DEBU 01c Initialize BCCSP [SW]
2018-10-12 20:26:02.516 UTC [msp] getPemMaterialFromDir -> DEBU 01d Reading directory /opt/gopath/src/github.com/hyperledger/fabric/peer/channel/crypto-config/peerOrganizations/overseer.example.com/users/Admin@overseer.example.com/msp/signcerts
2018-10-12 20:26:02.516 UTC [msp] getPemMaterialFromDir -> DEBU 01e Inspecting file /opt/gopath/src/github.com/hyperledger/fabric/peer/channel/crypto-config/peerOrganizations/overseer.example.com/users/Admin@overseer.example.com/msp/signcerts/Admin@overseer.example.com-cert.pem
2018-10-12 20:26:02.516 UTC [msp] getPemMaterialFromDir -> DEBU 01f Reading directory /opt/gopath/src/github.com/hyperledger/fabric/peer/channel/crypto-config/peerOrganizations/overseer.example.com/users/Admin@overseer.example.com/msp/cacerts
2018-10-12 20:26:02.516 UTC [msp] getPemMaterialFromDir -> DEBU 020 Inspecting file /opt/gopath/src/github.com/hyperledger/fabric/peer/channel/crypto-config/peerOrganizations/overseer.example.com/users/Admin@overseer.example.com/msp/cacerts/ca.overseer.example.com-cert.pem
2018-10-12 20:26:02.516 UTC [msp] getPemMaterialFromDir -> DEBU 021 Reading directory /opt/gopath/src/github.com/hyperledger/fabric/peer/channel/crypto-config/peerOrganizations/overseer.example.com/users/Admin@overseer.example.com/msp/admincerts
2018-10-12 20:26:02.517 UTC [msp] getPemMaterialFromDir -> DEBU 022 Inspecting file /opt/gopath/src/github.com/hyperledger/fabric/peer/channel/crypto-config/peerOrganizations/overseer.example.com/users/Admin@overseer.example.com/msp/admincerts/Admin@overseer.example.com-cert.pem
2018-10-12 20:26:02.517 UTC [msp] getPemMaterialFromDir -> DEBU 023 Reading directory /opt/gopath/src/github.com/hyperledger/fabric/peer/channel/crypto-config/peerOrganizations/overseer.example.com/users/Admin@overseer.example.com/msp/intermediatecerts
2018-10-12 20:26:02.517 UTC [msp] getMspConfig -> DEBU 024 Intermediate certs folder not found at [/opt/gopath/src/github.com/hyperledger/fabric/peer/channel/crypto-config/peerOrganizations/overseer.example.com/users/Admin@overseer.example.com/msp/intermediatecerts]. Skipping. [stat /opt/gopath/src/github.com/hyperledger/fabric/peer/channel/crypto-config/peerOrganizations/overseer.example.com/users/Admin@overseer.example.com/msp/intermediatecerts: no such file or directory]
2018-10-12 20:26:02.517 UTC [msp] getPemMaterialFromDir -> DEBU 025 Reading directory /opt/gopath/src/github.com/hyperledger/fabric/peer/channel/crypto-config/peerOrganizations/overseer.example.com/users/Admin@overseer.example.com/msp/tlscacerts
2018-10-12 20:26:02.517 UTC [msp] getPemMaterialFromDir -> DEBU 026 Inspecting file /opt/gopath/src/github.com/hyperledger/fabric/peer/channel/crypto-config/peerOrganizations/overseer.example.com/users/Admin@overseer.example.com/msp/tlscacerts/tlsca.overseer.example.com-cert.pem
2018-10-12 20:26:02.517 UTC [msp] getPemMaterialFromDir -> DEBU 027 Reading directory /opt/gopath/src/github.com/hyperledger/fabric/peer/channel/crypto-config/peerOrganizations/overseer.example.com/users/Admin@overseer.example.com/msp/tlsintermediatecerts
2018-10-12 20:26:02.517 UTC [msp] getMspConfig -> DEBU 028 TLS intermediate certs folder not found at [/opt/gopath/src/github.com/hyperledger/fabric/peer/channel/crypto-config/peerOrganizations/overseer.example.com/users/Admin@overseer.example.com/msp/tlsintermediatecerts]. Skipping. [stat /opt/gopath/src/github.com/hyperledger/fabric/peer/channel/crypto-config/peerOrganizations/overseer.example.com/users/Admin@overseer.example.com/msp/tlsintermediatecerts: no such file or directory]
2018-10-12 20:26:02.517 UTC [msp] getPemMaterialFromDir -> DEBU 029 Reading directory /opt/gopath/src/github.com/hyperledger/fabric/peer/channel/crypto-config/peerOrganizations/overseer.example.com/users/Admin@overseer.example.com/msp/crls
2018-10-12 20:26:02.518 UTC [msp] getMspConfig -> DEBU 02a crls folder not found at [/opt/gopath/src/github.com/hyperledger/fabric/peer/channel/crypto-config/peerOrganizations/overseer.example.com/users/Admin@overseer.example.com/msp/crls]. Skipping. [stat /opt/gopath/src/github.com/hyperledger/fabric/peer/channel/crypto-config/peerOrganizations/overseer.example.com/users/Admin@overseer.example.com/msp/crls: no such file or directory]
2018-10-12 20:26:02.518 UTC [msp] getMspConfig -> DEBU 02b MSP configuration file not found at [/opt/gopath/src/github.com/hyperledger/fabric/peer/channel/crypto-config/peerOrganizations/overseer.example.com/users/Admin@overseer.example.com/msp/config.yaml]: [stat /opt/gopath/src/github.com/hyperledger/fabric/peer/channel/crypto-config/peerOrganizations/overseer.example.com/users/Admin@overseer.example.com/msp/config.yaml: no such file or directory]
2018-10-12 20:26:02.518 UTC [msp] newBccspMsp -> DEBU 02c Creating BCCSP-based MSP instance
2018-10-12 20:26:02.518 UTC [msp] New -> DEBU 02d Creating Cache-MSP instance
2018-10-12 20:26:02.518 UTC [msp] loadLocaMSP -> DEBU 02e Created new local MSP
2018-10-12 20:26:02.519 UTC [msp] Setup -> DEBU 02f Setting up MSP instance overseer.example.com
2018-10-12 20:26:02.519 UTC [msp/identity] newIdentity -> DEBU 030 Creating identity instance for cert -----BEGIN CERTIFICATE-----
MIICWzCCAgKgAwIBAgIRAP9PLdKfT0uv6gN4f+gaIsQwCgYIKoZIzj0EAwIwfzEL
MAkGA1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDVNhbiBG
cmFuY2lzY28xHzAdBgNVBAoTFm92ZXJzZWVyLmJsb29tYmVyZy5jb20xIjAgBgNV
BAMTGWNhLm92ZXJzZWVyLmJsb29tYmVyZy5jb20wHhcNMTgxMDEyMjAxNjA4WhcN
MjgxMDA5MjAxNjA4WjB/MQswCQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5p
YTEWMBQGA1UEBxMNU2FuIEZyYW5jaXNjbzEfMB0GA1UEChMWb3ZlcnNlZXIuYmxv
b21iZXJnLmNvbTEiMCAGA1UEAxMZY2Eub3ZlcnNlZXIuYmxvb21iZXJnLmNvbTBZ
MBMGByqGSM49AgEGCCqGSM49AwEHA0IABExCn1W4t0a+Inu7E2Lk/atxsPsIaeAn
uKs4ahjstkDLJNyG7TDpAezgCNk9SisKWt8GCCHm0QMGPZp31e0ID1GjXzBdMA4G
A1UdDwEB/wQEAwIBpjAPBgNVHSUECDAGBgRVHSUAMA8GA1UdEwEB/wQFMAMBAf8w
KQYDVR0OBCIEIBJ+7r+y9kwB4PkMOnq4YNR+6viP54lY7ZgfDUgZIDhPMAoGCCqG
SM49BAMCA0cAMEQCIGoCkMDtE9ZcmDHYfY6w1yBvX8RVyGdC0ulKbyhfuN+7AiAo
n6ni5FN3d+qivZ79cZvjekd9QXY+2HmDQkKtiJbh9Q==
-----END CERTIFICATE-----
2018-10-12 20:26:02.520 UTC [msp/identity] newIdentity -> DEBU 031 Creating identity instance for cert -----BEGIN CERTIFICATE-----
MIICOjCCAeKgAwIBAgIQTc89Dn6XlcZCM2EcDdD45jAKBggqhkjOPQQDAjB/MQsw
CQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMNU2FuIEZy
YW5jaXNjbzEfMB0GA1UEChMWb3ZlcnNlZXIuYmxvb21iZXJnLmNvbTEiMCAGA1UE
AxMZY2Eub3ZlcnNlZXIuYmxvb21iZXJnLmNvbTAeFw0xODEwMTIyMDE2MDhaFw0y
ODEwMDkyMDE2MDhaMHIxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpDYWxpZm9ybmlh
MRYwFAYDVQQHEw1TYW4gRnJhbmNpc2NvMQ8wDQYDVQQLEwZjbGllbnQxJTAjBgNV
BAMMHEFkbWluQG92ZXJzZWVyLmJsb29tYmVyZy5jb20wWTATBgcqhkjOPQIBBggq
hkjOPQMBBwNCAARUpVnJ2AjcsW2E6Jv+DWqnBgffASnPvz83RIVOCsz6xmzwMduZ
Gzq2xhNzZ3dIdJT/5gdOE24nItLpW7ot3E7vo00wSzAOBgNVHQ8BAf8EBAMCB4Aw
DAYDVR0TAQH/BAIwADArBgNVHSMEJDAigCASfu6/svZMAeD5DDp6uGDUfur4j+eJ
WO2YHw1IGSA4TzAKBggqhkjOPQQDAgNGADBDAiBkKQ+3t+F0TlL3NagEpo+p3SEd
QAmqJsJY5YCcnJtHEwIfS04ALkM+RGn7AWsbQ1wt5R4Jhg3IYKaBSLCy1GNImA==
-----END CERTIFICATE-----
2018-10-12 20:26:02.540 UTC [msp/identity] newIdentity -> DEBU 032 Creating identity instance for cert -----BEGIN CERTIFICATE-----
MIICOjCCAeKgAwIBAgIQTc89Dn6XlcZCM2EcDdD45jAKBggqhkjOPQQDAjB/MQsw
CQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMNU2FuIEZy
YW5jaXNjbzEfMB0GA1UEChMWb3ZlcnNlZXIuYmxvb21iZXJnLmNvbTEiMCAGA1UE
AxMZY2Eub3ZlcnNlZXIuYmxvb21iZXJnLmNvbTAeFw0xODEwMTIyMDE2MDhaFw0y
ODEwMDkyMDE2MDhaMHIxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpDYWxpZm9ybmlh
MRYwFAYDVQQHEw1TYW4gRnJhbmNpc2NvMQ8wDQYDVQQLEwZjbGllbnQxJTAjBgNV
BAMMHEFkbWluQG92ZXJzZWVyLmJsb29tYmVyZy5jb20wWTATBgcqhkjOPQIBBggq
hkjOPQMBBwNCAARUpVnJ2AjcsW2E6Jv+DWqnBgffASnPvz83RIVOCsz6xmzwMduZ
Gzq2xhNzZ3dIdJT/5gdOE24nItLpW7ot3E7vo00wSzAOBgNVHQ8BAf8EBAMCB4Aw
DAYDVR0TAQH/BAIwADArBgNVHSMEJDAigCASfu6/svZMAeD5DDp6uGDUfur4j+eJ
WO2YHw1IGSA4TzAKBggqhkjOPQQDAgNGADBDAiBkKQ+3t+F0TlL3NagEpo+p3SEd
QAmqJsJY5YCcnJtHEwIfS04ALkM+RGn7AWsbQ1wt5R4Jhg3IYKaBSLCy1GNImA==
-----END CERTIFICATE-----
2018-10-12 20:26:02.541 UTC [bccsp_sw] loadPrivateKey -> DEBU 033 Loading private key [31a56a32cc8bb684d0b7de7fc25aa98510a8145ffc8d20de601611b21c5bae00] at [/opt/gopath/src/github.com/hyperledger/fabric/peer/channel/crypto-config/peerOrganizations/overseer.example.com/users/Admin@overseer.example.com/msp/keystore/31a56a32cc8bb684d0b7de7fc25aa98510a8145ffc8d20de601611b21c5bae00_sk]...
2018-10-12 20:26:02.541 UTC [msp/identity] newIdentity -> DEBU 034 Creating identity instance for cert -----BEGIN CERTIFICATE-----
MIICOjCCAeKgAwIBAgIQTc89Dn6XlcZCM2EcDdD45jAKBggqhkjOPQQDAjB/MQsw
CQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMNU2FuIEZy
YW5jaXNjbzEfMB0GA1UEChMWb3ZlcnNlZXIuYmxvb21iZXJnLmNvbTEiMCAGA1UE
AxMZY2Eub3ZlcnNlZXIuYmxvb21iZXJnLmNvbTAeFw0xODEwMTIyMDE2MDhaFw0y
ODEwMDkyMDE2MDhaMHIxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpDYWxpZm9ybmlh
MRYwFAYDVQQHEw1TYW4gRnJhbmNpc2NvMQ8wDQYDVQQLEwZjbGllbnQxJTAjBgNV
BAMMHEFkbWluQG92ZXJzZWVyLmJsb29tYmVyZy5jb20wWTATBgcqhkjOPQIBBggq
hkjOPQMBBwNCAARUpVnJ2AjcsW2E6Jv+DWqnBgffASnPvz83RIVOCsz6xmzwMduZ
Gzq2xhNzZ3dIdJT/5gdOE24nItLpW7ot3E7vo00wSzAOBgNVHQ8BAf8EBAMCB4Aw
DAYDVR0TAQH/BAIwADArBgNVHSMEJDAigCASfu6/svZMAeD5DDp6uGDUfur4j+eJ
WO2YHw1IGSA4TzAKBggqhkjOPQQDAgNGADBDAiBkKQ+3t+F0TlL3NagEpo+p3SEd
QAmqJsJY5YCcnJtHEwIfS04ALkM+RGn7AWsbQ1wt5R4Jhg3IYKaBSLCy1GNImA==
-----END CERTIFICATE-----
2018-10-12 20:26:02.542 UTC [msp] setupSigningIdentity -> DEBU 035 Signing identity expires at 2028-10-09 20:16:08 +0000 UTC
2018-10-12 20:26:02.542 UTC [msp] Validate -> DEBU 036 MSP overseer.example.com validating identity
2018-10-12 20:26:02.543 UTC [grpc] Printf -> DEBU 037 parsed scheme: ""
2018-10-12 20:26:02.543 UTC [grpc] Printf -> DEBU 038 scheme "" not registered, fallback to default scheme
2018-10-12 20:26:02.544 UTC [grpc] Printf -> DEBU 039 ccResolverWrapper: sending new addresses to cc: [{peer0.overseer.example.com:7051 0 <nil>}]
2018-10-12 20:26:02.544 UTC [grpc] Printf -> DEBU 03a ClientConn switching balancer to "pick_first"
2018-10-12 20:26:02.544 UTC [grpc] Printf -> DEBU 03b pickfirstBalancer: HandleSubConnStateChange: 0xc4203b54b0, CONNECTING
2018-10-12 20:26:02.546 UTC [grpc] Printf -> DEBU 03c pickfirstBalancer: HandleSubConnStateChange: 0xc4203b54b0, READY
2018-10-12 20:26:02.547 UTC [grpc] Printf -> DEBU 03d parsed scheme: ""
2018-10-12 20:26:02.547 UTC [grpc] Printf -> DEBU 03e scheme "" not registered, fallback to default scheme
2018-10-12 20:26:02.547 UTC [grpc] Printf -> DEBU 03f ccResolverWrapper: sending new addresses to cc: [{peer0.overseer.example.com:7051 0 <nil>}]
2018-10-12 20:26:02.547 UTC [grpc] Printf -> DEBU 040 ClientConn switching balancer to "pick_first"
2018-10-12 20:26:02.547 UTC [grpc] Printf -> DEBU 041 pickfirstBalancer: HandleSubConnStateChange: 0xc4204424b0, CONNECTING
2018-10-12 20:26:02.548 UTC [grpc] Printf -> DEBU 042 pickfirstBalancer: HandleSubConnStateChange: 0xc4204424b0, READY
2018-10-12 20:26:02.549 UTC [msp] GetDefaultSigningIdentity -> DEBU 043 Obtaining default signing identity
2018-10-12 20:26:02.549 UTC [grpc] Printf -> DEBU 044 parsed scheme: ""
2018-10-12 20:26:02.549 UTC [grpc] Printf -> DEBU 045 scheme "" not registered, fallback to default scheme
2018-10-12 20:26:02.551 UTC [grpc] Printf -> DEBU 046 ccResolverWrapper: sending new addresses to cc: [{orderer.example.com:7050 0 <nil>}]
2018-10-12 20:26:02.551 UTC [grpc] Printf -> DEBU 047 ClientConn switching balancer to "pick_first"
2018-10-12 20:26:02.551 UTC [grpc] Printf -> DEBU 048 pickfirstBalancer: HandleSubConnStateChange: 0xc420442100, CONNECTING
2018-10-12 20:26:02.553 UTC [grpc] Printf -> DEBU 049 pickfirstBalancer: HandleSubConnStateChange: 0xc420442100, READY
2018-10-12 20:26:02.553 UTC [chaincodeCmd] checkChaincodeCmdParams -> INFO 04a Using default escc
2018-10-12 20:26:02.554 UTC [chaincodeCmd] checkChaincodeCmdParams -> INFO 04b Using default vscc
2018-10-12 20:26:02.554 UTC [chaincodeCmd] getChaincodeSpec -> DEBU 04c java chaincode disabled
2018-10-12 20:26:02.555 UTC [msp/identity] Sign -> DEBU 04d Sign: plaintext: 0A89080A890108031A0C08DA8684DE05...1A000A000A04657363630A0476736363
2018-10-12 20:26:02.555 UTC [msp/identity] Sign -> DEBU 04e Sign: digest: 3187A3833B292152334734E4A96DA8132016D2E58E4A94C10B18538379261AD0
Error: could not assemble transaction, err Proposal response was not successful, error code 500, msg failed to execute transaction a52a3bf44cdaa48d862c57e66c32f51785bd4606f50a4b7b9cac7e9385061b5d: timeout expired while starting chaincode example:v0 for transaction a52a3bf44cdaa48d862c57e66c32f51785bd4606f50a4b7b9cac7e9385061b5d
peer0.overseer.example.com:
container_name: peer0.overseer.example.com
extends:
file: ./configs/base.yaml
service: peer-base
environment:
- CORE_LOGGING_LEVEL=DEBUG
- CORE_PEER_ID=peer0.overseer.example.com
- CORE_PEER_LOCALMSPID=overseer.example.com
- CORE_PEER_ADDRESS=peer0.overseer.example.com:7051
- CORE_PEER_CHAINCODELISTENADDRESS=peer0.overseer.example.com:7052
ports:
- 7051:7051
- 7052:7052
- 7053:7053
volumes:
- ./channel/crypto-config/peerOrganizations/overseer.example.com/users/Admin@overseer.example.com:/etc/hyperledger/crypto/peer
depends_on:
- orderer.example.com
networks:
- my_network
Organizations:
- &OverseerOrg
Name: OverseerOrg
ID: overseer.example.com
MSPDir: /opt/gopath/src/github.com/hyperledger/fabric/peer/channel/crypto-config/peerOrganizations/overseer.example.com/users/Admin@overseer.example.com/msp
AnchorPeers:
- Host: peer0.overseer.example.com
Port: 7051
Policies: &PoliciesDefaults
Readers:
Type: Signature
Rule: "OR('overseer.example.com.member')"
Writers:
Type: Signature
Rule: "OR('overseer.example.com.member')"
Admins:
Type: Signature
Rule: "OR('overseer.example.com.admin')"
Profiles:
TESTTRANSACTION:
Consortium: InitialConsortium
Application:
Organizations:
- *OverseerOrg
docker exec -it peer0.overseer.example.com bash
进入对等容器并运行
netstat --all
,我的结果是:
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 127.0.0.11:33891 *:* LISTEN
tcp 0 0 51f03616cac7:7052 *:* LISTEN
tcp6 0 0 [::]:7051 [::]:* LISTEN
tcp6 0 0 [::]:7053 [::]:* LISTEN
udp 0 0 127.0.0.11:52356 *:*
Active UNIX domain sockets (servers and established)
Proto RefCnt Flags Type State I-Node Path
最佳答案
问题是因为在我的 base.yaml
文件,我有环境变量 CORE_VM_DOCKER_HOSTCONFIG_NETWORKMODE
设置为一个过时但仍然存在的 docker 网络(在我的例子中 artifacts_default
),这就是为什么它没有在链码实例化中抛出“网络不存在”错误。当我启动我的 docker 容器时,它加入了一个从 compose 文件所在目录派生的默认网络,该网络与 CORE_VM_DOCKER_HOSTCONFIG_NETWORKMODE
设置的网络名称不匹配。环境变量。
关于docker - 无法连接 尝试连接到本地对等点时出错 : context deadline exceeded,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/52787074/
我知道这个问题可能已经被问过,但我检查了所有这些,我认为我的情况有所不同(请友善)。所以我有两个数据集,第一个是测试数据集,第二个是我保存在数据框中的预测(预测值,这就是没有数据列的原因)。我想合并两
在 .loc 方法的帮助下,我根据同一数据框中另一列中的值来识别 Panda 数据框中某一列中的值。 下面给出了代码片段供您引用: var1 = output_df['Player'].loc[out
当我在 Windows 中使用 WinSCP 通过 Ubuntu 连接到 VMware 时,它提示: The server rejected SFTP connection, but it lis
我正在开发一个使用 xml web 服务的 android 应用程序。在 wi-fi 网络中连接时工作正常,但在 3G 网络中连接时失败(未找到 http 404)。 这不仅仅发生在设备中。为了进行测
我有一个XIB包含我的控件的文件,加载到 Interface Builder(Snow Leopard 上的 Xcode 4.0.2)中。 文件的所有者被设置为 someClassController
我在本地计算机上管理 MySQL 数据库,并通过运行以下程序通过 C 连接到它: #include #include #include int main(int argc, char** arg
我不知道为什么每次有人访问我网站上的页面时,都会打开一个与数据库的新连接。最终我到达了大约 300 并收到错误并且页面不再加载。我认为它应该工作的方式是,我将 maxIdle 设置为 30,这意味着
希望清理 NMEA GPS 中的 .txt 文件。我当前的代码如下。 deletes = ['$GPGGA', '$GPGSA', '$GPGSV', '$PSRF156', ] searchquer
我有一个 URL、一个用户名和一个密码。我想在 C# .Net WinForms 中建立 VPN 连接。 你能告诉我从哪里开始吗?任何第三方 API? 代码示例将受到高度赞赏... 最佳答案 您可以像
有没有更好的方法将字符串 vector 转换为字符 vector ,字符串之间的终止符为零。 因此,如果我有一个包含以下字符串的 vector "test","my","string",那么我想接收一
我正在编写一个库,它不断检查 android 设备的连接,并在设备连接、断开连接或互联网连接变慢时给出回调。 https://github.com/muddassir235/connection_ch
我的操作系统:Centos 7 + CLOUDLINUX 7.7当我尝试从服务器登录Mysql时 [root@server3 ~]# Mysql -u root -h localhost -P 330
我收到错误:Puma 发现此错误:无法打开到本地主机的 TCP 连接:9200(连接被拒绝 - 连接(2)用于“本地主机”端口 9200)(Faraday::ConnectionFailed)在我的
请给我一些解决以下错误的方法。 这是一个聊天应用....代码和错误如下:: conversations_controller.rb def create if Conversation.bet
我想将两个单元格中的数据连接到一个单元格中。我还想只组合那些具有相同 ID 的单元格。 任务 ID 名称 4355.2 参与者 4355.2 领袖 4462.1 在线 4462.1 快速 4597.1
我经常需要连接 TSQL 中的字段... 使用“+”运算符时 TSQL 强制您处理的两个问题是 Data Type Precedence和 NULL 值。 使用数据类型优先级,问题是转换错误。 1)
有没有在 iPad 或 iPhone 应用程序中使用 Facebook 连接。 这个想法是登录这个应用程序,然后能够看到我的哪些 facebook 用户也在使用该应用程序及其功能。 最佳答案 是的。
我在连接或打印字符串时遇到了一个奇怪的问题。我有一个 char * ,可以将其设置为字符串文字的几个值之一。 char *myStrLiteral = NULL; ... if(blah) myS
对于以下数据 - let $x := "Yahooooo !!!! Select one number - " let $y := 1 2 3 4 5 6 7 我想得到
我正在看 UDEMY for perl 的培训视频,但是视频不清晰,看起来有错误。 培训展示了如何使用以下示例连接 2 个字符串: #!usr/bin/perl print $str = "Hi";
我是一名优秀的程序员,十分优秀!