Skip to content

验证安装报错:ConnectionResetError: [WinError 10054] An existing connection was forcibly closed by the remote host #4

Description

@canornot

跑验证安装

from hmnextauto.driver import Driver
d = Driver()
print(d.device_info)

就报错了:
ConnectionResetError: [WinError 10054] An existing connection was forcibly closed by the remote host

命令行显示
[2026-06-05 10:23:42] _client.py[line: 67] [DEBUG] sendMsg: {"module":"com.ohos.devicetest.hypiumApiHelper","method":"callHypiumApi","params":{"api":"Driver.create","this":"Driver#0","args":[],"message_type":"hypium"},"request_id":"20260605102342560683"}

这是为啥啊?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions