openstf/stf

Cannot connect my Android with error: TouchConsumer._failLimitExceeded

开放

#53 创建于 2015年8月10日

 (10 条评论) (0 个反应) (0 位负责人)JavaScript (2,705 个派生)batch import
enhancementhelp wanted

仓库指标

星标
 (13,038 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

Hi, I'm using STF to control my Android device(it is a "thinclient", Android system, use VGA to display), get this error:

INF/device:plugins:touch 17628 [200.200.138.60:5555] Connecting to minitouch service
INF/device:plugins:touch 17628 [200.200.138.60:5555] minitouch says: "Unable to find a suitable touch device"
WRN/device:plugins:touch 17628 [200.200.138.60:5555] Shell keeping minitouch running ended unexpectedly
INF/device:plugins:touch 17628 [200.200.138.60:5555] Disconnecting from minitouch service
WRN/device:plugins:touch 17628 [200.200.138.60:5555] Will not apply desired state due to too many failures
INF/device:plugins:touch 17628 [200.200.138.60:5555] Stopping minitouch service
FTL/device 17628 [200.200.138.60:5555] Setup had an error Error: Failed more than 3 times in 10000ms
    at TouchConsumer._failLimitExceeded (/usr/lib/node_modules/stf/lib/units/device/plugins/touch/index.js:231:26)
    at FailCounter.emit (/usr/lib/node_modules/stf/node_modules/eventemitter3/index.js:73:35)
    at FailCounter.inc (/usr/lib/node_modules/stf/lib/util/failcounter.js:29:10)
    at TouchConsumer._outputEnded (/usr/lib/node_modules/stf/lib/units/device/plugins/touch/index.js:224:24)
    at RiskyStream.emit (/usr/lib/node_modules/stf/node_modules/eventemitter3/index.js:71:35)
    at RiskyStream.<anonymous> (/usr/lib/node_modules/stf/lib/util/riskystream.js:14:12)
    at Socket.emit (events.js:129:20)
    at _stream_readable.js:908:16
From previous event:
    at startConsumer (/usr/lib/node_modules/stf/lib/units/device/plugins/touch/index.js:512:14)
    at /usr/lib/node_modules/stf/lib/units/device/plugins/touch/index.js:527:12
    at SerialSyrup.ParallelSyrup.invoke (/usr/lib/node_modules/stf/node_modules/stf-syrup/lib/parallel.js:54:24)
    at /usr/lib/node_modules/stf/node_modules/stf-syrup/lib/serial.js:43:33
    at process._tickCallback (node.js:355:11)
FTL/util:lifecycle 17628 [200.200.138.60:5555] Shutting down due to fatal error
INF/provider 17582 [*] Cleaning up device worker "200.200.138.60:5555"
ERR/provider 17582 [*] Device worker "200.200.138.60:5555" died with code 1

what should I do?

贡献者指南