appium: XCUITest iproxy exited with code 208

@imurchie i was able run the tests on real device iOS 10.0, after a couple of run’s i get the below error

[debug] [WebDriverAgent] Device: Oct 12 19:23:29 HARIHARANs-iPhone XCTRunner[5337] <Notice>: Continuing to run tests in the background with task ID 1
[XCUITest] Detected that WebDriverAgent is running at url 'http://10.234.1.229:8100'
[XCUITest] WebDriverAgent started at url 'http://10.234.1.229:8100'
[debug] [XCUITest] Starting iproxy to forward traffic from local port 8100 to device port 8100 over USB
[debug] [iProxy] bind(): Address already in use
[debug] [iProxy] Error creating socket: Address already in use
[XCUITest] Error: iproxy exited with code '208'
   at SubProcess.<anonymous> (lib/webdriveragent.js:378:25)
   at emitTwo (events.js:106:13)
   at SubProcess.emit (events.js:191:7)
   at ChildProcess.<anonymous> (lib/teen_process.js:191:14)
   at emitTwo (events.js:106:13)
   at ChildProcess.emit (events.js:191:7)
   at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)
Error: iproxy exited with code '208'
   at SubProcess.<anonymous> (lib/webdriveragent.js:378:25)
   at emitTwo (events.js:106:13)
   at SubProcess.emit (events.js:191:7)
   at ChildProcess.<anonymous> (lib/teen_process.js:191:14)
   at emitTwo (events.js:106:13)
   at Ch[debug] [XCUITest] Running ios real device reset flow
ildProcess.emit (events.js:191:7)
   at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)
[debug] [XCUITest] Resetting simulator
[debug] [iOSLog] Stopping iOS log capture
[MJSONWP] Encountered internal error running command: Error: iproxy exited with code '208'
   at SubProcess.<anonymous> (lib/webdriveragent.js:378:25)
   at emitTwo (events.js:106:13)
   at SubProcess.emit (events.js:191:7)
   at ChildProcess.<anonymous> (lib/teen_process.js:191:14)
   at emitTwo (events.js:106:13)
   at ChildProcess.emit (events.js:191:7)
   at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)
[HTTP] <-- POST /wd/hub/session 500 12603 ms - 166

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Reactions: 2
  • Comments: 35 (12 by maintainers)

Most upvoted comments

You can run ps -ax|grep -i "iproxy"|grep -v grep|awk '{print "kill -9 " $1}'|sh on the command line.

yah, there was a session of iproxy running. killing and running the tests again worked… closing for now …