software testing/appium

Could not proxy command to remote server. Original error: Error: read ECONNRESET 해결 방법

Nickoo 2022. 3. 9. 20:58
반응형

appium을 사용하기 위한 환경 설정을 하고 난 후, appium inspector 를 통하여 또는 테스트 스크립트를 실행하여 앱 호출을 했을 때 앱 실행 후 아래와 같은 메시지가 보이며 바로 종료되는 현상이 발생할 때가 있습니다. 

 

Could not proxy command to remote server. Original error: Error: read ECONNRESET

 

이런 경우, 해결 방법은 아래와 같습니다.

 

1. appium server 종료

2. 터미널에서 adb devices 를 통하여 정상적으로 디바이스가 연결되었는지 확인

3. 터미널에서 아래와 같은 명령어 입력

adb uninstall io.appium.uiautomator2.server
adb uninstall io.appium.uiautomator2.server.test

4. appium server 시작

5. appium inspector 또는 테스트 스크립트 실행

반응형