V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
推荐学习书目
Learn Python the Hard Way
Python Sites
PyPI - Python Package Index
http://diveintopython.org/toc/index.html
Pocoo
值得关注的项目
PyPy
Celery
Jinja2
Read the Docs
gevent
pyenv
virtualenv
Stackless Python
Beautiful Soup
结巴中文分词
Green Unicorn
Sentry
Shovel
Pyflakes
pytest
Python 编程
pep8 Checker
Styles
PEP 8
Google Python Style Guide
Code Style from The Hitchhiker's Guide
duffercn
V2EX  ›  Python

请教为啥 Appium 滑动几分钟就超时了呢?

  •  
  •   duffercn · 2020-07-03 18:33:25 +08:00 · 1882 次点击
    这是一个创建于 1364 天前的主题,其中的信息可能已经有所发展或是发生改变。
    用 Python 操作 Appium 滑动小红书,大概能滑动个几十次,然后几分钟后,屏幕就不动了。真机调试。
    Appium 就出错,显示 ESOCKETTIMEDOUT,具体信息如下:

    [WD Proxy] Got response with unknown status: {"code":"ESOCKETTIMEDOUT","connect":false}
    [W3C (ddaa6dba)] Encountered internal error running command: UnknownError: An unknown server-side error occurred while processing the command. Original error: Could not proxy command to remote server. Original error: Error: ESOCKETTIMEDOUT
    [W3C (ddaa6dba)] at JWProxy.command (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-base-driver/lib/jsonwp-proxy/proxy.js:266:13)

    我最开始以为是手机端电源管理,杀掉了 Appium 进程,但把所有电源的东西都放开以后,没有变化。请问有啥解决办法吗?
    2 条回复    2020-07-04 12:37:11 +08:00
    locoz
        1
    locoz  
       2020-07-03 18:49:16 +08:00
    之前玩的时候没碰到过这种情况,要不你试试网易那个 airtest ?
    duffercn
        2
    duffercn  
    OP
       2020-07-04 12:37:11 +08:00
    @locoz 从一加 3 换成 Pixel 3a 好了,可能还是机器的问题
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   3205 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 14:26 · PVG 22:26 · LAX 07:26 · JFK 10:26
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.