AirtestProject / AirtestProject/hrpc

关于长时间运行卡主问题:hrpc与pocoservice通信

未关闭
#2 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Python
星标
22
派生
8
PR 合并指标
30 天内没有已合并 PR

描述

而且一般是卡在hrpc/object_proxy.py对象析构的时候

```
def __del__(self):
# 代理对象析构时,请求远程对象也析构,并不需要等待返回
if self._is_intermediate_uri__:
action = (('del', ()), )
self._client__.evaluate(RpcObjectProxy(self._uri__, self._client__, action), wait_for_response=False)
```
请求报文:

{"id": "", "uri": "[Lcom.netease.open.libpoco.sdk.AbstractNode;@184e8ec(61762182-3f08-4bbd-b836-49eddbe95f46)", "method": [["del", []]], "session_id": "3e6b0bdb-90a6-4dab-892c-3f3bac49f904"}

Exception ignored in:
Traceback (most recent call last):
File "/Users/xs/PycharmProjects/airtest/hrpc/object_proxy.py", line 114, in __del__
self._client__.evaluate(RpcObjectProxy(self._uri__, self._client__, action), wait_for_response=False)
File "/Users/xs/PycharmProjects/airtest/hrpc/client.py", line 64, in evaluate
self.transport.send({'id': reqid, 'uri': obj_proxy._uri__, 'method': obj_proxy._invocation_path__})
File "/Users/xs/PycharmProjects/airtest/hrpc/transport/http.py", line 31, in send
raise TransportDisconnected(e)
hrpc.exceptions.TransportDisconnected: ('Connection aborted.', BrokenPipeError(32, 'Broken pipe'))

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。