macacajs / NoSmoke

A cross platform UI crawler which scans view trees then generate and execute UI test cases.
https://macacajs.github.io/NoSmoke
MIT License
199 stars 58 forks source link

ubnetu系统上执行 nosmoke,macaca server端错误uiautomator-client.js:119:12 [master] pid:2487 proxy.send except: Error: connect ECONNREFUSED 127.0.0.1:9001 #82

Closed liufeiflying closed 5 years ago

liufeiflying commented 5 years ago

在ubnetu系统上执行 nosmoke,macaca server端报以下错误

responseHandler.js:11:12 [master] pid:2487 Recieve HTTP Request from Client[2019-04-17 15:44:51]: method: POST url: /wd/hub/session/e0e6fa2e-68ed-423b-b2db-f669ea73eaeb/actions, jsonBody: {"actions":[{"type":"tap","x":361,"y":1003.5}]} proxy.js:56:14 [master] pid:2487 Proxy: /wd/hub/session/:sessionId/accept_alert:POST to http://127.0.0.1:9001/wd/hub/session/:sessionId/accept_alert:POST with body: {} proxy.js:64:22 [master] pid:2487 UIAutomatorWD client proxy error with: Error: connect ECONNREFUSED 127.0.0.1:9001 proxy.js:64:22 [master] pid:2487 UIAutomatorWD client proxy error with: Error: connect ECONNREFUSED 127.0.0.1:9001 proxy.js:64:22 [master] pid:2487 UIAutomatorWD client proxy error with: Error: connect ECONNREFUSED 127.0.0.1:9001 proxy.js:64:22 [master] pid:2487 UIAutomatorWD client proxy error with: Error: connect ECONNREFUSED 127.0.0.1:9001 proxy.js:64:22 [master] pid:2487 UIAutomatorWD client proxy error with: Error: connect ECONNREFUSED 127.0.0.1:9001 proxy.js:64:22 [master] pid:2487 UIAutomatorWD client proxy error with: Error: connect ECONNREFUSED 127.0.0.1:9001 proxy.js:64:22 [master] pid:2487 UIAutomatorWD client proxy error with: Error: connect ECONNREFUSED 127.0.0.1:9001 proxy.js:64:22 [master] pid:2487 UIAutomatorWD client proxy error with: Error: connect ECONNREFUSED 127.0.0.1:9001 proxy.js:64:22 [master] pid:2487 UIAutomatorWD client proxy error with: Error: connect ECONNREFUSED 127.0.0.1:9001 proxy.js:64:22 [master] pid:2487 UIAutomatorWD client proxy error with: Error: connect ECONNREFUSED 127.0.0.1:9001 proxy.js:64:22 [master] pid:2487 UIAutomatorWD client proxy error with: Error: connect ECONNREFUSED 127.0.0.1:9001 uiautomator-client.js:119:12 [master] pid:2487 proxy.send except: Error: connect ECONNREFUSED 127.0.0.1:9001 proxy.js:56:14 [master] pid:2487 Proxy: /wd/hub/session/e0e6fa2e-68ed-423b-b2db-f669ea73eaeb/actions:POST to http://127.0.0.1:9001/wd/hub/session/e0e6fa2e-68ed-423b-b2db-f669ea73eaeb/actions:POST with body: {"actions":[{"type":"tap","x":361,"y":1003.5}]} proxy.js:64:22 [master] pid:2487 UIAutomatorWD client proxy error with: Error: connect ECONNREFUSED 127.0.0.1:9001 proxy.js:64:22 [master] pid:2487 UIAutomatorWD client proxy error with: Error: connect ECONNREFUSED 127.0.0.1:9001

macaca-bot commented 5 years ago

This is the translated issue:


Nosmoke on macbute system, macaca server error uiautomator-client.js:119:12 [master] pid:2487 proxy.send except: Error: connect ECONNREFUSED 127.0.0.1:9001

Execute nosmoke on ubnetu system, macaca server reports the following error

responseHandler.js:11:12 [master] pid:2487 Recieve HTTP Request from Client[2019-04-17 15:44:51]: method: POST url: /wd/hub/session/e0e6fa2e-68ed-423b -b2db-f669ea73eaeb/actions, jsonBody: {"actions":[{"type":"tap","x":361,"y":1003.5}]} proxy.js:56:14 [master] pid:2487 Proxy: /wd/hub/session/:sessionId/accept_alert:POST to http://127.0.0.1:9001/wd/hub/session/:sessionId/ Accept_alert:POST with body: {} proxy.js:64:22 [master] pid:2487 UIAutomatorWD client proxy error with: Error: connect ECONNREFUSED 127.0.0.1:9001 proxy.js:64:22 [master] pid:2487 UIAutomatorWD client proxy error with: Error: connect ECONNREFUSED 127.0.0.1:9001 proxy.js:64:22 [master] pid:2487 UIAutomatorWD client proxy error with: Error: connect ECONNREFUSED 127.0.0.1:9001 proxy.js:64:22 [master] pid:2487 UIAutomatorWD client proxy error with: Error: connect ECONNREFUSED 127.0.0.1:9001 proxy.js:64:22 [master] pid:2487 UIAutomatorWD client proxy error with: Error: connect ECONNREFUSED 127.0.0.1:9001 proxy.js:64:22 [master] pid:2487 UIAutomatorWD client proxy error with: Error: connect ECONNREFUSED 127.0.0.1:9001 proxy.js:64:22 [master] pid:2487 UIAutomatorWD client proxy error with: Error: connect ECONNREFUSED 127.0.0.1:9001 proxy.js:64:22 [master] pid:2487 UIAutomatorWD client proxy error with: Error: connect ECONNREFUSED 127.0.0.1:9001 proxy.js:64:22 [master] pid:2487 UIAutomatorWD client proxy error with: Error: connect ECONNREFUSED 127.0.0.1:9001 proxy.js:64:22 [master] pid:2487 UIAutomatorWD client proxy error with: Error: connect ECONNREFUSED 127.0.0.1:9001 proxy.js:64:22 [master] pid:2487 UIAutomatorWD client proxy error with: Error: connect ECONNREFUSED 127.0.0.1:9001 uiautomator-client.js:119:12 [master] pid:2487 proxy.send except: Error: connect ECONNREFUSED 127.0.0.1:9001 proxy.js:56:14 [master] pid:2487 Proxy: /wd/hub/session/e0e6fa2e-68ed-423b-b2db-f669ea73eaeb/actions:POST to http://127.0.0.1:9001/wd/ Hub/session/e0e6fa2e-68ed-423b-b2db-f669ea73eaeb/actions:POST with body: {"actions":[{"type":"tap","x":361,"y":1003.5}]} proxy.js:64:22 [master] pid:2487 UIAutomatorWD client proxy error with: Error: connect ECONNREFUSED 127.0.0.1:9001 proxy.js:64:22 [master] pid:2487 UIAutomatorWD client proxy error with: Error: connect ECONNREFUSED 127.0.0.1:9001

paradite commented 5 years ago

please raise the issue here, following the issue format: https://github.com/alibaba/macaca/issues/new