hyperledger-fabric - 错误:事件服务超时 - 无法开始侦听
问题描述
我们正在尝试在我们的节点客户端中使用链码事件。当我们启动节点服务器时,我们已经启动了链码侦听器,但一段时间后我们收到超时错误并且我们无法接收任何链码事件。
2020-09-02T10:46:44.772Z - error: [EventService]: EventService[peer1.org1.example.com] timed out after:3000
2020-09-02T10:46:44.774Z - error: [EventService]: send[peer1.org1.example.com] - #3 - Starting stream to peer1.org1.example.com failed
2020-09-02T10:46:44.774Z - error: [EventService]: send[peer1.org1.example.com] - #3 - no targets started - Error: Event service timed out - Unable to start listening
2020-09-02T10:46:44.775Z - error: [BlockEventSource]: Failed to start event service message=Event service timed out - Unable to start listening, stack=Error: Event service timed out - Unable to start listening
at Timeout.setTimeout [as _onTimeout] (/node_modules/fabric-common/lib/EventService.js:413:12)
at ontimeout (timers.js:436:11)
at tryOnTimeout (timers.js:300:5)
at listOnTimeout (timers.js:263:5)
at Timer.processTimers (timers.js:223:10)
2020-09-02T10:47:41.717Z - error: [EventService]: on.error [peer1.org1.example.com] - #3- reject the promise - Error: 14 UNAVAILABLE: Connection dropped
2020-09-02T10:47:41.718Z - error: [EventService]: on.end [peer1.org1.example.com] - #3- reject the promise
解决方案
推荐阅读
- express - 部署后调用api路由时出现404错误
- oop - 依赖倒置原理应用
- reactjs - 如何将许可证文件放入已部署的反应项目中?
- r - 删除主 x 轴并在 ggplot 中仅保留重复的辅助轴
- arguments - AArch64 - U-Boot - 在寄存器中传递多个参数(内存地址)的引导 ELF 映像
- python - 如何使用 Firebase REST API 设置文档 ID
- c++ - 为什么当它是一个 int 时我不能分配返回右值引用的函数,但当它是一个类时我可以?
- python - Pandas groupby 滚动均值,但仅针对最近的行以节省计算时间
- android - 了解 shell 命令 'dumpsys window windows | 的返回值 grep mCurrentFocus'
- css - 如何从文本框中删除阴影