openstf/stf

Cannot connect my Android with error: TouchConsumer._failLimitExceeded

Open

#53 建立於 2015年8月10日

在 GitHub 查看
 (10 留言) (0 反應) (0 負責人)JavaScript (13,038 star) (2,705 fork)batch import
enhancementhelp wanted

描述

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?

貢獻者指南