[Android] Encountered internal error running command: UnknownError: An unknown server-side error occurred while processing the command. Original error: io.appium.uiautomator2.common.exceptions.UiAutomator2Exception
See original GitHub issueThe problem
I try to interact element such as clicking but I got return 500 with error attached on gist. In some cases I can interact but only on this page I couldn’t do anything except getting the source.
Environment
- Appium version appium@1.11.0-beta.3
- Desktop OS/version used to run Appium: Mac OS
- Node.js version v9.11.2
- Npm or Yarn package manager: NPM
- Mobile platform/version under test: Android
- Real device or emulator/simulator: emulator
- Appium CLI or Appium.app|exe: Appium CLI
Details
&{APPIUM_CAPS} platformName=Android
... platformVersion=7.1.1
... udid=emulator-5554
... deviceName=emulator
... automationName=UiAutomator2
... appPackage=com.xxx.app.staging
... appActivity=com.xxx.app.home.HomeActivity
... newCommandTimeout=5000
... APPIUM_SERVER=http://0.0.0.0:4798/wd/hub
... ignoreUnimportantViews=true
... normalizeTagNames=true
Link to Appium logs
GIST Appium Log https://gist.github.com/nichotined/b6c98131d4246a6658065ac45b4ddfb4
Code To Reproduce Issue [ Good To Have ]
driver.find_element_by_xpath("//*[@text="xxx"]").click()
Issue Analytics
- State:
- Created 5 years ago
- Comments:7
Top Results From Across the Web
An unknown server-side error occurred ... - Appium Discuss
Original error : Could not find 'apkanalyzer.bat' in [“C:\Users\xxxx\AppData\Local\Android\Sdk\platform-tools\apkanalyzer.bat” ...
Read more >An unknown server-side error occurred while processing the ...
An unknown server-side error occurred while processing the command. Original error: 'POST /element' cannot be proxied to UiAutomator2.
Read more >An unknown server-side error occurred while processing the
I am Using 1.4.16.1 Version. I am also facing the sane issue. “An unknown server-side error occurred while processing the command”. Please give...
Read more >An unknown server-side error occurred while processing the ...
I'm facing this issue intermittently while running my appium scripts in a real device. Every alternate execution fails for the below error.
Read more >Server-side error: 500 occurred while processing Appium-server
Please check the server log for more details. Original error: An unknown server-side error occurred while processing the command.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks @nichotined ,it worked!