- 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/
我们正在使用开发人员 python 指南和 Python 数据 2.15 库,并按照应用引擎的示例进行说明。createSite("测试站点一", description="测试站点一", sourc
我有go编写的grpc服务器和一个python客户端,有时会出现如下错误: eggs/grpcio-1.0.0-py2.7-linux-x86_64.egg/grpc/_channel.py\", l
我想在 C 中实现 DEADLINE 调度策略。我知道该功能自 Linux 3.14.10 开始实现。我正在使用 Ubuntu 14.04 Linux #### 3.17.0-031700-lowla
我编写了一个更新函数,但是多次执行将产生错误context deadline exceeded。 我的功能: func Update(link string, m bson.M) { conf
我有一个任务的预定开始日期和完成任务的工作量, 例如,在 N=5 以下的情况下,开始日期为 如何根据 scheduled_date+5days 自动计算截止日期? 最后我有以下内容: DEADL
我像这段代码一样使用 boost deadline_timer: boost::asio::io_service g_io; #define DEL(x) {delete x; x = NULL;}
我正在开发一个任务调度器,我想使用 EDF 调度。我需要安排的任务集仅包含截止日期等于其周期的任务,并且必须定期安排任务。我遇到的问题是任务一旦开始执行就不能中断。 我知道只有当任务被抢先安排在单个处
我正在发送一个带有指定 10 秒超时的上下文的请求: ctx, cancel := context.WithTimeout(context.Background(), time.Second * 10
我有一个提交给 ExecutorService 的任务列表。 .但是我需要在凌晨 2:30 的最后期限之前关闭 ExecutorService,即使任务没有完成。我怎样才能做到这一点?我检查了API,
我正在尝试在多个对等点之间实例化链码,每个对等点都在各自的组织中。出于调试目的,我创建了一个 channel testchannel只有一个组织overseer与单个对等 peer0 .我能够 创建
我正在尝试在Hyperledger Fabric示例中的测试网络中创建一个 channel : localhost:~/fabric-samples/test-network$ ./network.s
我有这个简单的程序,它使用 boost 库在 1 秒内输出递增的整数: #include #include #include using namespace std; void func1(bo
我正在研究 Linux IO 调度程序。 Linux Deadline IO Scheduler 使用“front_merges”属性来决定请求是前合并还是后合并。但我不明白它是如何工作的,因为它只在
关闭。这个问题是off-topic .它目前不接受答案。 想改进这个问题吗? Update the question所以它是on-topic用于堆栈溢出。 关闭 10 年前。 Improve thi
在 Emacs 组织模式中,我知道我可以调用议程“匹配” View (使用 C-a m),然后使用以下搜索字符串查找截止日期设置为今天的所有 TODO 项目: DEADLINE="" 但是,我想在我的
工作节点正在进入“NotReady”状态, 的输出中出现错误kubectl 描述节点 : ContainerGCFailed rpc 错误:代码 = DeadlineExceeded desc = 超
我要查询的Firebase集合实际上是空的。内含零份文件。即使这样,当查询它时,我仍然收到此错误 我正在AWS的LAMBDA函数中执行此操作。我知道查询有效,因为它有时确实会返回结果,但是它是非常随机
关闭。这个问题是opinion-based .它目前不接受答案。 想改进这个问题?更新问题,以便 editing this post 可以用事实和引用来回答它. 4年前关闭。 Improve this
在使用 Dialogflow API 进行几次交易后,DEADLINE_EXCEEDED: Deadline Exceeded错误来了,在那之后我总是需要重新启动服务,然后它又开始工作了一段时间。即使
我想查找按小时和天分割的历史实际风和预报风。 我对一天中的某个时间有多个预报。我的第二天交易的交易截止日期为东部标准时间上午 10 点,因此我希望在此之前的最新预测与该小时的实际风在同一条线上。 使事
我是一名优秀的程序员,十分优秀!