Hyperledger fabric Hyperledger结构客户端grpc截止日期错误

Hyperledger fabric Hyperledger结构客户端grpc截止日期错误,hyperledger-fabric,hyperledger,Hyperledger Fabric,Hyperledger,我使用fabric node js client调用链码,我可以查询链码,但是当我尝试提交事务时,我得到了错误 结构版本1.4.3 使用fabric客户端节点js 未能提交事务:错误:未能在截止日期URL之前连接:grpcs://xx.xx.xxx:7050 在我的json连接中,我使用了GRPC设置keepalive_timeout_ms,但仍然面临上述错误 "orderers": { "orderer.example.com": { "url": "grpcs://x

我使用fabric node js client调用链码,我可以查询链码,但是当我尝试提交事务时,我得到了错误

结构版本1.4.3

使用fabric客户端节点js

未能提交事务:错误:未能在截止日期URL之前连接:grpcs://xx.xx.xxx:7050

在我的json连接中,我使用了GRPC设置keepalive_timeout_ms,但仍然面临上述错误

"orderers": {
    "orderer.example.com": {
        "url": "grpcs://xx.xx.xx.xx:7050",

        "grpcOptions": {
            "ssl-target-name-override": "orderer.example.com",
            "grpc.keepalive_timeout_ms":80000
        },
        "tlsCACerts": {
            "path":"./fabric-node/crypto-config/ordererOrganizations/example.com/tlsca/tlsca.example.com-cert.pem"
        }
    }
},
"peers": {
    "peer0.org1.example.com": {
        "url": "grpcs://xx.xx.xx.xx:7051",
        "grpcOptions": {
            "ssl-target-name-override": "peer0.org1.example.com",
            "grpc.keepalive_timeout_ms": 80000
        },
        "tlsCACerts": {
            "path": "./fabric-node/crypto-config/peerOrganizations/org1.example.com/tlsca/tlsca.org1.example.com-cert.pem"
        }
    }
},
@法玛 使用下面的代码段,但确保已启动并正常运行
URL:grpcs://xx.xx.xxx:7050

        "grpc-max-send-message-length": -1,
        "grpc.keepalive_time_ms": 600000,
        "grpc.http2.min_time_between_pings_ms": 120000,
        "grpc.http2.max_pings_without_data": 0,
        "grpc.keepalive_permit_without_calls": 1

感谢重播,我解决了它,但现在我面临的错误是:提交交易时,背书失败。我可以通过cli及其works提交事务,但通过节点js提交错误:背书失败