问题描述:(标题也加上版本号哦)本地配置appium时可以正常连上,换用远程appium发现连接不上
Server版本:v1.4.0-release
Agent版本与部署方式:v1.4.0-release
手机型号与系统版本:iphone xr
截图:略
相关日志:
2022-07-06 15:13:52.450 - INFO 2397 --- [pool-2-thread-5] org.cloud.sonic.agent.tests.LogUtil : {"msg":"step","des":"连接设备驱动失败!","log":"","rid":0,"udId":"00008020-001A093911E8003A","status":4,"cid":0}
2022-07-06 15:13:52.450 -ERROR 2397 --- [pool-2-thread-5] o.c.sonic.agent.websockets.IOSWSServer : Unable to create a new remote session. Please check the server log for more details. Original error: An unknown server-side error occurred while processing the command. Original error: Unable to start WebDriverAgent session because of xcodebuild failure: An unknown server-side error occurred while processing the command. Original error: Could not proxy command to the remote server. Original error: connect ECONNREFUSED 127.0.0.1:53036 Make sure you follow the tutorial at https://github.com/appium/appium-xcuitest-driver/blob/master/docs/real-device-config.md. Try to remove the WebDriverAgentRunner application from the device if it is installed and reboot the device.
Build info: version: 'unknown', revision: 'unknown', time: 'unknown'
System info: host: 'mideadeMac-mini.local', ip: 'fe80:0:0:0:814:aee9:301a:4558%en0', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '12.4', java.version: '18.0.1.1'
Driver info: driver.version: IOSDriver
remote stacktrace: UnknownError: An unknown server-side error occurred while processing the command. Original error: Unable to start WebDriverAgent session because of xcodebuild failure: An unknown server-side error occurred while processing the command. Original error: Could not proxy command to the remote server. Original error: connect ECONNREFUSED 127.0.0.1:53036 Make sure you follow the tutorial at https://github.com/appium/appium-xcuitest-driver/blob/master/docs/real-device-config.md. Try to remove the WebDriverAgentRunner application from the device if it is installed and reboot the device.
at getResponseForW3CError (/usr/local/lib/node_modules/appium/node_modules/appium-base-driver/lib/protocol/errors.js:804:9)
at asyncHandler (/usr/local/lib/node_modules/appium/node_modules/appium-base-driver/lib/protocol/protocol.js:380:37)
Build info: version: 'unknown', revision: 'unknown', time: 'unknown'
System info: host: 'mideadeMac-mini.local', ip: 'fe80:0:0:0:814:aee9:301a:4558%en0', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '12.4', java.version: '18.0.1.1'
Driver info: driver.version: IOSDriver
2022-07-06 15:13:52.523 - INFO 2397 --- [pool-2-thread-5] o.c.sonic.agent.automation.AppiumServer : Appium server stop...