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.

Error response appium server

See original GitHub issue

Hi guys! After update appium from v1.9.0 to v1.10.0 (and v1.11.0-beta), after run tests on remote machine (jenkins) i have log:

[Appium] Welcome to Appium v1.11.0-beta.0
19:16:36 [Appium] Non-default server args:
19:16:36 [Appium]   address: 127.0.0.1
19:16:36 [Appium]   port: 28448
19:16:36 [Appium]   loglevel: info
19:16:36 [Appium] Appium REST http interface listener started on 127.0.0.1:28448
19:16:36 [HTTP] --> GET /wd/hub/status
19:16:36 [HTTP] {}
19:16:36 [HTTP] <-- GET /wd/hub/status 200 14 ms - 75
19:16:36 [HTTP] 
19:16:36 [HTTP] --> GET /wd/hub/status
19:16:36 [HTTP] {}
19:16:36 [HTTP] <-- GET /wd/hub/status 200 5 ms - 75
19:16:36 [HTTP] 
19:16:36 [HTTP] --> GET /wd/hub/status
19:16:36 [HTTP] {}
19:16:36 [HTTP] <-- GET /wd/hub/status 200 4 ms - 75
19:16:36 [HTTP] 
19:16:36 [HTTP] --> GET /wd/hub/status
19:16:36 [HTTP] {}
19:16:36 [HTTP] <-- GET /wd/hub/status 200 2 ms - 75
19:16:36 [HTTP] 
19:16:36 [HTTP] --> GET /wd/hub/status
19:16:36 [HTTP] {}
19:16:36 [HTTP] <-- GET /wd/hub/status 200 3 ms - 75
19:16:36 [HTTP] 
19:16:36 [HTTP] --> GET /wd/hub/status
19:16:36 [HTTP] {}
19:16:36 [HTTP] <-- GET /wd/hub/status 200 2 ms - 75
19:16:36 [HTTP] 
19:16:36 [HTTP] --> GET /wd/hub/status
19:16:36 [HTTP] {}
19:16:36 [HTTP] <-- GET /wd/hub/status 200 2 ms - 75
19:16:36 [HTTP] 
19:16:36 [HTTP] --> GET /wd/hub/status
19:16:36 [HTTP] {}
19:16:36 [HTTP] <-- GET /wd/hub/status 200 3 ms - 75
19:16:36 [HTTP] 
19:16:39 http://127.0.0.1:28448/wd/hub
19:16:40 [HTTP] --> POST /wd/hub/session
19:16:40 [Appium] Creating new XCUITestDriver (v2.104.0) session
19:16:40 [Appium] Capabilities:
19:16:40 [Appium]   mjpegServerPort: 9105
19:16:40 [Appium]   platformName: ios
19:16:40 [Appium]   app: <path to app>
19:16:40 [Appium]   automationName: XCUITest
19:16:40 [Appium]   commandTimeouts: 600000
19:16:40 [Appium]   connectHardwareKeyboard: false
19:16:40 [Appium]   deviceName: iPhone XS
19:16:40 [Appium]   newCommandTimeout: 1800
19:16:40 [Appium]   platformVersion: 12.1
19:16:40 [Appium]   udid: FF1940BD-1EF7-4120-95C1-41F58EB8C4A3
19:16:40 [Appium]   useNewWDA: false
19:16:40 [Appium]   wdaConnectionTimeout: 600000
19:16:40 [Appium]   wdaLaunchTimeout: 600000
19:16:40 [Appium]   wdaLocalPort: 8106
19:16:40 [BaseDriver] Session created with session id: cc637705-c513-4c08-9fa8-9a8369b5523f
19:16:40 (node:79747) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
19:16:40 [HTTP] --> POST /wd/hub/session
19:16:40 [Appium] Creating new XCUITestDriver (v2.104.0) session
19:16:40 [Appium] Capabilities:
19:16:40 [Appium]   mjpegServerPort: 9102
19:16:40 [Appium]   platformName: ios
19:16:40 [Appium]   app: <path to app>
19:16:40 [Appium]   automationName: XCUITest
19:16:40 [Appium]   commandTimeouts: 600000
19:16:40 [Appium]   connectHardwareKeyboard: false
19:16:40 [Appium]   deviceName: iPhone 8
19:16:40 [Appium]   newCommandTimeout: 1800
19:16:40 [Appium]   platformVersion: 12.1
19:16:40 [Appium]   udid: F15B31A1-9BCE-432A-90FB-30BA8DCE59B0
19:16:40 [Appium]   useNewWDA: false
19:16:40 [Appium]   wdaConnectionTimeout: 600000
19:16:40 [Appium]   wdaLaunchTimeout: 600000
19:16:40 [Appium]   wdaLocalPort: 8102
19:16:40 [BaseDriver] Session created with session id: 2c9432bd-fc27-4e55-8483-07d1257686f4
19:16:41 [iOSSim] Constructing iOS simulator for Xcode version 10.1 with udid 'FF1940BD-1EF7-4120-95C1-41F58EB8C4A3'
19:16:41 [XCUITest] Determining device to run tests on: udid: 'FF1940BD-1EF7-4120-95C1-41F58EB8C4A3', real device: false
19:16:41 [iOSSim] Constructing iOS simulator for Xcode version 10.1 with udid 'F15B31A1-9BCE-432A-90FB-30BA8DCE59B0'
19:16:41 [XCUITest] Determining device to run tests on: udid: 'F15B31A1-9BCE-432A-90FB-30BA8DCE59B0', real device: false
19:16:41 [BaseDriver] The current application path '<path to app>' is not absolute and has been rewritten to '/Users/administrator/jenkins/workspace/<path to app>''. Consider using absolute paths rather than relative
19:16:42 [XCUITest] Not scrubbing third party app in anticipation of uninstall
19:16:42 [XCUITest] Not scrubbing third party app in anticipation of uninstall
19:16:42 [XCUITest] Continuing without capturing device logs: iOS Simulator with udid F15B31A1-9BCE-432A-90FB-30BA8DCE59B0 is not running
19:16:42 [XCUITest] Setting up simulator
19:16:42 [XCUITest] Continuing without capturing device logs: iOS Simulator with udid FF1940BD-1EF7-4120-95C1-41F58EB8C4A3 is not running
19:16:42 [XCUITest] Setting up simulator
19:16:43 [iOSSim] Booting Simulator with UDID F15B31A1-9BCE-432A-90FB-30BA8DCE59B0...
19:16:43 [iOSSim] Starting Simulator UI with command: open -Fn /Applications/Xcode.app/Contents/Developer/Applications/Simulator.app --args -CurrentDeviceUDID F15B31A1-9BCE-432A-90FB-30BA8DCE59B0 -ConnectHardwareKeyboard 0
19:16:46 [iOSSim] Booting Simulator with UDID FF1940BD-1EF7-4120-95C1-41F58EB8C4A3...
19:17:13 [iOSSim] Simulator with UDID F15B31A1-9BCE-432A-90FB-30BA8DCE59B0 booted in 31 seconds
19:17:14 [iOSSim] Simulator with UDID FF1940BD-1EF7-4120-95C1-41F58EB8C4A3 booted in 32 seconds
19:17:24 [XCUITest] Using WDA path: '/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent'
19:17:24 [XCUITest] Using WDA agent: '/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj'
19:17:26 [JSONWP Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8102}
19:17:26 [XCUITest] Launching WebDriverAgent on the device
19:17:38 [JSONWP Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8102}
19:17:39 [JSONWP Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8102}
19:17:40 [JSONWP Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8102}
19:17:41 [JSONWP Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8102}
19:17:42 [JSONWP Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8102}
19:17:43 [JSONWP Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8102}
19:17:44 [JSONWP Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8102}
19:17:45 [JSONWP Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8102}
19:17:46 [JSONWP Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8102}
19:17:48 [JSONWP Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8102}
19:17:49 [JSONWP Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8102}
19:17:50 [JSONWP Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8102}
19:17:51 [JSONWP Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8102}
19:17:52 [JSONWP Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8102}
19:17:53 [JSONWP Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8102}
19:17:54 [JSONWP Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8102}
19:17:55 [JSONWP Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8102}
19:17:56 [JSONWP Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8102}
19:17:57 [JSONWP Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8102}
19:17:58 [JSONWP Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8102}
19:17:59 [JSONWP Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8102}
19:18:00 [JSONWP Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8102}
19:18:01 [JSONWP Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8102}
19:18:02 [JSONWP Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8102}
19:18:03 [JSONWP Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8102}
19:18:04 [JSONWP Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8102}
19:18:05 [JSONWP Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8102}
19:18:06 [JSONWP Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8102}
19:18:07 [JSONWP Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8102}
19:18:08 [JSONWP Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8102}
19:18:09 [JSONWP Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8102}
19:18:10 [JSONWP Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8102}
19:18:11 [JSONWP Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8102}
19:18:12 [JSONWP Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8102}
19:18:13 [JSONWP Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8102}
19:18:14 [JSONWP Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8102}
19:18:15 [JSONWP Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8102}
19:18:16 [JSONWP Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8102}
19:18:17 [JSONWP Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8102}
19:18:18 [JSONWP Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8102}
19:18:19 [JSONWP Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8102}
19:18:20 [JSONWP Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8102}
19:18:21 [JSONWP Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8102}
19:18:22 [JSONWP Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8102}
19:18:23 [JSONWP Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8102}
19:18:24 [JSONWP Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8102}
19:18:25 [JSONWP Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8102}
19:18:26 [JSONWP Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8102}
19:18:28 [JSONWP Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8102}
19:18:29 [JSONWP Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8102}
19:18:30 [JSONWP Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8102}
19:18:31 [JSONWP Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8102}
19:18:32 [JSONWP Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8102}
19:18:33 [JSONWP Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8102}
19:18:34 [JSONWP Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8102}
19:18:35 [JSONWP Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8102}
19:18:36 [JSONWP Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8102}
19:18:37 [JSONWP Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8102}
19:18:38 [JSONWP Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8102}
19:18:39 [JSONWP Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8102}
19:18:40 [JSONWP Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8102}
19:18:41 [JSONWP Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8102}
19:18:42 [JSONWP Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8102}
19:18:43 [JSONWP Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8102}
19:18:44 [JSONWP Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8102}
19:18:50 [XCUITest] Using WDA path: '/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent'
19:18:50 [XCUITest] Using WDA agent: '/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj'
19:18:50 [XCUITest] Skipping setting of the initial display orientation. Set the "orientation" capability to either "LANDSCAPE" or "PORTRAIT", if this is an undesired behavior.
19:18:50 [Appium] New XCUITestDriver session created successfully, session 2c9432bd-fc27-4e55-8483-07d1257686f4 added to master session list
19:18:50 [HTTP] <-- POST /wd/hub/session 200 130431 ms - 686
19:18:50 [HTTP] 
19:18:50 Dec 11, 2018 4:18:50 PM io.appium.java_client.remote.AppiumCommandExecutor$1 lambda$0
19:18:50 INFO: Detected dialect: W3C
19:18:50 [HTTP] --> GET /wd/hub/session/2c9432bd-fc27-4e55-8483-07d1257686f4
19:18:50 [HTTP] {}
19:18:51 [XCUITest] Merging WDA caps over Appium caps for session detail response
19:18:51 [HTTP] <-- GET /wd/hub/session/2c9432bd-fc27-4e55-8483-07d1257686f4 200 340 ms - 628
19:18:51 [HTTP] 
19:18:51 [HTTP] --> GET /wd/hub/session/2c9432bd-fc27-4e55-8483-07d1257686f4
19:18:51 [HTTP] {}
19:18:51 [XCUITest] Merging WDA caps over Appium caps for session detail response
19:18:51 [HTTP] <-- GET /wd/hub/session/2c9432bd-fc27-4e55-8483-07d1257686f4 200 10 ms - 628
19:18:51 [HTTP] 
19:18:51 http://127.0.0.1:28448/wd/hub
19:18:51 [HTTP] --> POST /wd/hub/session

19:18:51 [Appium] Creating new XCUITestDriver (v2.104.0) session
19:18:51 [Appium] Capabilities:
19:18:51 [Appium]   mjpegServerPort: 9104
19:18:51 [Appium]   platformName: ios
19:18:51 [Appium]   app: <path to app>'
19:18:51 [Appium]   automationName: XCUITest
19:18:51 [Appium]   commandTimeouts: 600000
19:18:51 [Appium]   connectHardwareKeyboard: false
19:18:51 [Appium]   deviceName: iPhone 7 Plus
19:18:51 [Appium]   newCommandTimeout: 1800
19:18:51 [Appium]   platformVersion: 12.1
19:18:51 [Appium]   udid: 7B713599-1BA9-4FEC-8668-838295BB1BB2
19:18:51 [Appium]   useNewWDA: false
19:18:51 [Appium]   wdaConnectionTimeout: 600000
19:18:51 [Appium]   wdaLaunchTimeout: 600000
19:18:51 [Appium]   wdaLocalPort: 8105
19:18:51 [BaseDriver] Session created with session id: 890b30c7-e96b-465a-a12e-bf3331fa004f
19:18:51 [JSONWP Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8106}
19:18:51 [XCUITest] Launching WebDriverAgent on the device
19:18:52 [iOSSim] Constructing iOS simulator for Xcode version 10.1 with udid '7B713599-1BA9-4FEC-8668-838295BB1BB2'
19:18:52 [XCUITest] Determining device to run tests on: udid: '7B713599-1BA9-4FEC-8668-838295BB1BB2', real device: false
19:18:53 [XCUITest] Not scrubbing third party app in anticipation of uninstall
19:18:53 [JSONWP Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8106}
19:18:53 [XCUITest] Continuing without capturing device logs: iOS Simulator with udid 7B713599-1BA9-4FEC-8668-838295BB1BB2 is not running
19:18:53 [XCUITest] Setting up simulator
19:18:54 [iOSSim] Booting Simulator with UDID 7B713599-1BA9-4FEC-8668-838295BB1BB2...
19:18:54 [JSONWP Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8106}
19:18:55 [JSONWP Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8106}
19:18:56 [JSONWP Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8106}
19:18:57 [JSONWP Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8106}
19:19:00 [JSONWP Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8106}
19:19:00 [JSONWP Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8106}
19:19:01 [JSONWP Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8106}
19:19:02 [JSONWP Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8106}
19:19:03 [JSONWP Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8106}
19:19:04 [JSONWP Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8106}
19:19:05 [JSONWP Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8106}
19:19:06 [JSONWP Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8106}
19:19:07 [JSONWP Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8106}
19:19:08 [JSONWP Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8106}
19:19:09 [JSONWP Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8106}
19:19:11 [JSONWP Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8106}
19:19:12 [JSONWP Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8106}
19:19:13 [JSONWP Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8106}
19:19:14 [JSONWP Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8106}
19:19:15 [JSONWP Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8106}
19:19:16 [JSONWP Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8106}
19:19:17 [iOSSim] Simulator with UDID 7B713599-1BA9-4FEC-8668-838295BB1BB2 booted in 23 seconds
19:19:17 [JSONWP Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8106}
19:19:18 [JSONWP Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8106}
19:19:19 [JSONWP Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8106}
19:19:21 [JSONWP Proxy] Got an unexpected response: {"code":"ETIMEDOUT","connect":true}
19:19:23 [JSONWP Proxy] Got an unexpected response: {"code":"ETIMEDOUT","connect":true}
19:19:25 [JSONWP Proxy] Got an unexpected response: {"code":"ETIMEDOUT","connect":true}
19:19:28 [JSONWP Proxy] Got an unexpected response: {"code":"ETIMEDOUT","connect":true}
19:19:30 [JSONWP Proxy] Got an unexpected response: {"code":"ETIMEDOUT","connect":true}
19:19:32 [JSONWP Proxy] Got an unexpected response: {"code":"ETIMEDOUT","connect":true}
19:19:34 [JSONWP Proxy] Got an unexpected response: {"code":"ETIMEDOUT","connect":true}
19:19:36 [JSONWP Proxy] Got an unexpected response: {"code":"ETIMEDOUT","connect":true}
19:19:38 [JSONWP Proxy] Got an unexpected response: {"code":"ETIMEDOUT","connect":true}
19:19:40 [JSONWP Proxy] Got an unexpected response: {"code":"ETIMEDOUT","connect":true}
19:19:42 [JSONWP Proxy] Got an unexpected response: {"code":"ETIMEDOUT","connect":true}
19:19:44 [JSONWP Proxy] Got an unexpected response: {"code":"ETIMEDOUT","connect":true}
19:19:46 [JSONWP Proxy] Got an unexpected response: {"code":"ETIMEDOUT","connect":true}
19:19:48 [JSONWP Proxy] Got an unexpected response: {"code":"ETIMEDOUT","connect":true}
19:19:50 [JSONWP Proxy] Got an unexpected response: {"code":"ETIMEDOUT","connect":true}
19:19:52 [JSONWP Proxy] Got an unexpected response: {"code":"ETIMEDOUT","connect":true}
19:19:54 [JSONWP Proxy] Got an unexpected response: {"code":"ETIMEDOUT","connect":true}
19:19:56 [JSONWP Proxy] Got an unexpected response: {"code":"ETIMEDOUT","connect":true}
19:19:58 [JSONWP Proxy] Got an unexpected response: {"code":"ETIMEDOUT","connect":true}
19:20:00 [JSONWP Proxy] Got an unexpected response: {"code":"ETIMEDOUT","connect":true}
19:20:02 [JSONWP Proxy] Got an unexpected response: {"code":"ETIMEDOUT","connect":true}
19:20:05 [JSONWP Proxy] Got an unexpected response: {"code":"ETIMEDOUT","connect":true}
19:20:07 [JSONWP Proxy] Got an unexpected response: {"code":"ETIMEDOUT","connect":true}
19:20:09 [JSONWP Proxy] Got an unexpected response: {"code":"ETIMEDOUT","connect":true}
19:20:11 [JSONWP Proxy] Got an unexpected response: {"code":"ETIMEDOUT","connect":true}
19:20:13 [JSONWP Proxy] Got an unexpected response: {"code":"ETIMEDOUT","connect":true}
19:20:15 [JSONWP Proxy] Got an unexpected response: {"code":"ETIMEDOUT","connect":true}
19:20:17 [JSONWP Proxy] Got an unexpected response: {"code":"ETIMEDOUT","connect":true}
19:20:19 [JSONWP Proxy] Got an unexpected response: {"code":"ETIMEDOUT","connect":true}
19:20:21 [JSONWP Proxy] Got an unexpected response: {"code":"ETIMEDOUT","connect":true}
19:20:23 [JSONWP Proxy] Got an unexpected response: {"code":"ETIMEDOUT","connect":true}
19:20:25 [JSONWP Proxy] Got an unexpected response: {"code":"ETIMEDOUT","connect":true}
19:20:27 [JSONWP Proxy] Got an unexpected response: {"code":"ETIMEDOUT","connect":true}
19:20:29 [JSONWP Proxy] Got an unexpected response: {"code":"ETIMEDOUT","connect":true}
19:20:31 [JSONWP Proxy] Got an unexpected response: {"code":"ETIMEDOUT","connect":true}
19:20:33 [JSONWP Proxy] Got an unexpected response: {"code":"ETIMEDOUT","connect":true}
19:20:36 [JSONWP Proxy] Got an unexpected response: {"code":"ETIMEDOUT","connect":true}
19:20:38 [JSONWP Proxy] Got an unexpected response: {"code":"ETIMEDOUT","connect":true}
19:20:40 [JSONWP Proxy] Got an unexpected response: {"code":"ETIMEDOUT","connect":true}
19:20:42 [JSONWP Proxy] Got an unexpected response: {"code":"ETIMEDOUT","connect":true}
19:20:44 [JSONWP Proxy] Got an unexpected response: {"code":"ETIMEDOUT","connect":true}
19:20:46 [JSONWP Proxy] Got an unexpected response: {"code":"ETIMEDOUT","connect":true}
19:20:48 [JSONWP Proxy] Got an unexpected response: {"code":"ETIMEDOUT","connect":true}
19:20:50 [JSONWP Proxy] Got an unexpected response: {"code":"ETIMEDOUT","connect":true}
19:20:52 [JSONWP Proxy] Got an unexpected response: {"code":"ETIMEDOUT","connect":true}
19:20:54 [JSONWP Proxy] Got an unexpected response: {"code":"ETIMEDOUT","connect":true}
19:20:56 [JSONWP Proxy] Got an unexpected response: {"code":"ETIMEDOUT","connect":true}
19:20:58 [JSONWP Proxy] Got an unexpected response: {"code":"ETIMEDOUT","connect":true}
19:21:00 [JSONWP Proxy] Got an unexpected response: {"code":"ETIMEDOUT","connect":true}
19:21:02 [JSONWP Proxy] Got an unexpected response: {"code":"ETIMEDOUT","connect":true}
19:21:04 [JSONWP Proxy] Got an unexpected response: {"code":"ETIMEDOUT","connect":true}
19:21:06 [JSONWP Proxy] Got an unexpected response: {"code":"ETIMEDOUT","connect":true}
19:21:08 [JSONWP Proxy] Got an unexpected response: {"code":"ETIMEDOUT","connect":true}
19:21:10 [JSONWP Proxy] Got an unexpected response: {"code":"ETIMEDOUT","connect":true}
19:21:12 [JSONWP Proxy] Got an unexpected response: {"code":"ETIMEDOUT","connect":true}
19:21:14 [JSONWP Proxy] Got an unexpected response: {"code":"ETIMEDOUT","connect":true}
19:21:16 [JSONWP Proxy] Got an unexpected response: {"code":"ETIMEDOUT","connect":true}
19:21:18 [JSONWP Proxy] Got an unexpected response: {"code":"ETIMEDOUT","connect":true}
19:21:20 [JSONWP Proxy] Got an unexpected response: {"code":"ETIMEDOUT","connect":true}
19:23:30 [Xcode] 2018-12-11 16:23:29.625452+0000 WebDriverAgentRunner-Runner[80836:9958873] Enqueue Failure: Failure fetching attributes for Device system-wide element: Error Domain=com.apple.XCTestErrorDomain Code=1000 "Timeout waiting for fulfillment of promise for 'Fetching attributes for Device system-wide element'." UserInfo={NSLocalizedDescription=Timeout waiting for fulfillment of promise for 'Fetching attributes for Device system-wide element'.} /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgentRunner/UITestingUITests.m 37 1
19:23:30 [Xcode] 2018-12-11 16:23:29.626229+0000 WebDriverAgentRunner-Runner[80836:9958873] Enqueue Failure: Failure to determine system application: (null) /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgentRunner/UITestingUITests.m 37 1
19:23:30 [Xcode] 
19:24:34 [Xcode] 2018-12-11 16:24:34.630662+0000 WebDriverAgentRunner-Runner[80836:9958873] Enqueue Failure: Failure fetching attributes for (null): Error Domain=com.apple.XCTestErrorDomain Code=1000 "Timeout waiting for fulfillment of promise for 'Fetching attributes for (null)'." UserInfo={NSLocalizedDescription=Timeout waiting for fulfillment of promise for 'Fetching attributes for (null)'.} /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgentRunner/UITestingUITests.m 37 1
19:24:34 [Xcode] 2018-12-11 16:24:34.631279+0000 WebDriverAgentRunner-Runner[80836:9958873] Enqueue Failure: Failure getting list of active applications: (null) /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgentRunner/UITestingUITests.m 37 1
19:24:34 [Xcode] 
19:25:40 [Xcode] 2018-12-11 16:25:39.750518+0000 WebDriverAgentRunner-Runner[80836:9958873] Enqueue Failure: Failure fetching attributes for Device system-wide element: Error Domain=com.apple.XCTestErrorDomain Code=1000 "Timeout waiting for fulfillment of promise for 'Fetching attributes for Device system-wide element'." UserInfo={NSLocalizedDescription=Timeout waiting for fulfillment of promise for 'Fetching attributes for Device system-wide element'.} /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgentRunner/UITestingUITests.m 37 1
19:25:40 [Xcode] 
19:25:40 [Xcode] 2018-12-11 16:25:39.750980+0000 WebDriverAgentRunner-Runner[80836:9958873] Enqueue Failure: Failure to determine system application: (null) /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgentRunner/UITestingUITests.m 37 1
19:25:40 [Xcode] 
19:26:40 [HTTP] <-- POST /wd/hub/session - - ms - -
19:26:40 [HTTP] 
19:26:44 [XCUITest] Using WDA path: '/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent'
19:26:45 [XCUITest] Using WDA agent: '/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj'
19:26:45 [XCUITest] Skipping setting of the initial display orientation. Set the "orientation" capability to either "LANDSCAPE" or "PORTRAIT", if this is an undesired behavior.
19:26:46 [Appium] New XCUITestDriver session created successfully, session cc637705-c513-4c08-9fa8-9a8369b5523f added to master session list

After 10 minutes waiting tests runned. How fix it?

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:14 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
brianon75commented, Jan 22, 2019

Closed as third party issue

I am facing the same issue. “ECONNREFUSED” on local simulator. I am wondering what the identified Third Party Issue was?

0reactions
lock[bot]commented, Jan 24, 2020

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Troubleshooting - Appium
Make sure the app is compiled for the simulator (or real device) as appropriate (e.g., in debug mode for the simulator), or you...
Read more >
Could not start a new session. Response code 500 ... - GitHub
Could not start a new session. Response code 500. Message: An unknown server-side error occurred while processing the command. #16942.
Read more >
Most common Errors - Appium-specific : Help Center - Support
1. java.net.ConnectException: Connection refused · 2. Unable to start WebDriverAgent session because of xcodebuild failure. Complete Error ...
Read more >
An unknown server-side error occurred while processing the ...
I just started mobile automation testing and I'm trying to write tests for android on Android Studio with Appium, ...
Read more >
Error Handling | Wasiq Bhamla
Solution provided by this frameworkPermalink ; AppiumServerNotStoppingError, When there is Error while stopping the server.
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