When the appium inspector records the app of oppo real machine, an error occurs in the third or fourth step of operation:
Call to 'tap' failed [performTouchAction([{"action":"tap","options":{"x":782,"y":1358}}])] Error response status: 13, , UnknownError - An unknown server-side error occurred while processing the command. Selenium error: An unknown server-side error occurred while processing the command. Original error: Could not proxy command to the remote server. Original error: socket hang up
Appium error log:
After investigation, the solution is as follows:
1. When appium desktop starts, it is necessary to use advanced mode, –session-override is set to true;
2. Enter the OPPO mobile phone, go to Settings->Apps->Special application permissions, and set appium settings, io.uiautomator2.server, io.uiautomator2.server.test in the permission list to allow;
After this setting, restart appium inspector, record, and no longer report that error.
I guess that appium suddenly failed to record before, or it was related to appium’s application permissions on OPPO mobile phones. The system services in the mobile phone may suddenly force stop Force stopping io.appium.uiautomator2.server.test
Read More:
- [Solved] Appium Install Error: Original error: Neither ANDROID_HOME nor ANDROID_SDK_ROOT environment variab
- Mac Appium Error: Error executing adb Exec. Original error…
- [Solved] appium Error: An unknown server-side error occurred while processing the command
- Resolve Chromedriver’s original error: chrome not reachable
- Encountered internal error running command: Error: Error occured while starting App. Original error:
- Huawei kafka Authentication error: Server not found in Kerberos database (7) – LOOKING_UP_SERVER
- Appium Top 10 Common Error [How to Solve]
- [Solved] PostgreSQL Remote Access Error: could not connect to server
- [Solved] Zabbix-server startup error: cannot start alert manager service: Cannot bind socket to “/var/run/zabbix/zabbix_server_alerter.sock”: [13] Permission denied.
- [Solved] Git Push Error: &fatal: the remote end hung up unexpectedly
- [Solved] Vscode Connect to the remote server error: permission denied (public key)
- [Solved] Redis startup error Creating Server TCP listening socket 127.0.0.1:6379: bind: No error
- [Solved] Remote URL test failed: Could not read from remote repository.
- [Solved] But was actually of type ‘com. Sun. Proxy. $proxy**‘
- [Solved] Redis Error: creating server tcp listening socket 127.0.0.1:6379: bind No error
- [Solved] Redis Error: Creating Server TCP listening socket *:6379: bind: No error
- Git push Submit to Remote Error: “remote: Support for password authentication was removed on August 13, 2021.“
- [Solved] Spring cloud config server can’t parse the YML file of the remote warehouse, and it will also report an error
- [Solved] Appium Error: InvalidArgumentException: Message: invalid argument: invalid locator