question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

XCUITest iproxy exited with code 208

See original GitHub issue

@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

Issue Analytics

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

github_iconTop GitHub Comments

12reactions
imurchiecommented, Oct 17, 2016

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

2reactions
saikrishna321commented, Oct 12, 2016

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

Read more comments on GitHub >

github_iconTop Results From Across the Web

Getting error in Appium "iproxy exited with code '208'" and app ...
On Mac machine using IOS real device 12.2 version the native app gets installed but does not launch and I could see error...
Read more >
Facing issue while running appium grid on multiple iOS ...
Issue: getting error iproxy exited with code '208' when running test on parallel device iOS ... When running an appium test paraallely on...
Read more >
解决XCUITest iproxy exited with code 208 - testgb - 博客园
解决XCUITest iproxy exited with code 208. 命令行执行 ps -ax|grep -i "iproxy"|grep -v grep|awk '{print "kill -9 " $1}'|sh.
Read more >
解决XCUITest iproxy exited with code 208_SimminonGarcia的博客 ...
真机跑case报错Unable to launch WebDriverAgent because of xcodebuild failure: “iproxy exited with code '234'” 描述真机跑case报错Unable to launch ...
Read more >
IOS test shows Error 2 - Katalon Studio
[XCUITest] Launching WebDriverAgent on the device [WD Proxy] Got an unexpected response: {“code”:“ECONNRESET”} [XCUITest] xcodebuild exited ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found