一、解决方法
adb uninstall io.appium.uiautomator2.server
adb uninstall io.appium.uiautomator2.server.test
二、相关参考 - stackoverflow讨论
Could not proxy command to remote server. Original error: Error: read ECONNRESET
三、详细报错信息
[W3C] Encountered internal error running command: UnknownError:
An unknown server-side error occurred while processing the command.
Original error: Could not proxy command to remote server.
Original error: Error: read ECONNRESET
2021-12-30 08:58:12:307 - [WD Proxy] Error: read ECONNRESET
2021-12-30 08:58:12:308 - [WD Proxy] at TCP.onStreamRead (internal/stream_base_commons.js:201:27)
2021-12-30 08:58:12:311 - [debug] [UiAutomator2] Deleting UiAutomator2 session
2021-12-30 08:58:12:312 - [debug] [UiAutomator2] Deleting UiA

本文介绍了解决Appium自动化测试中出现的“Could not proxy command to remote server”错误的方法,该错误通常由ECONNRESET引起。解决方案包括卸载io.appium.uiautomator2.server和io.appium.uiautomator2.server.test。文章还提供了详细的错误日志和Stack Overflow的参考链接。
最低0.47元/天 解锁文章
4万+

被折叠的 条评论
为什么被折叠?



