question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[MJSONWP] Encountered internal error running command: Error: An error occurred

See original GitHub issue

The problem

I have updated the appium-desktop appium-desktop: version 1.5.0 appium-server : version 1.7.2

when I start the server on 0.0.0.0, everything is ok but when the iphone-device screen is captured by the app-desktop if I tap or pan the device area in the app-desktop, then I get the error as below:

[MJSONWP] Encountered internal error running command: Error: An error occurred [MJSONWP] at JWProxy.command$ (…/…/…/lib/jsonwp-proxy/proxy.js:176:15) [MJSONWP] at tryCatch (/Applications/Appium.app/Contents/Resources/app/node_modules/appium-base-driver/node_modules/babel-runtime/regenerator/runtime.js:67:40) [MJSONWP] at GeneratorFunctionPrototype.invoke [as _invoke] (/Applications/Appium.app/Contents/Resources/app/node_modules/appium-base-driver/node_modules/babel-runtime/regenerator/runtime.js:315:22) [MJSONWP] at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (/Applications/Appium.app/Contents/Resources/app/node_modules/appium-base-driver/node_modules/babel-runtime/regenerator/runtime.js💯21) [MJSONWP] at GeneratorFunctionPrototype.invoke (/Applications/Appium.app/Contents/Resources/app/node_modules/appium-base-driver/node_modules/babel-runtime/regenerator/runtime.js:136:37) [MJSONWP] at [HTTP] <-- POST /wd/hub/session/268d4d25-4a3d-43bc-882d-890f9eeb3c98/touch/perform 500 40 ms - 188 [HTTP] [XCUITest] Connection to WDA timed out [iProxy] recv failed: Operation not permitted

another point is , if I comman+u to test the webDriverAgentRunner alone, it’s show success status on the web page

My new appium-desktop 1.5.0 directory is

/Applications/Appium.app/Contents/Resources/app/node_modules/appium-xcuitest-driver/WebDriverAgent

thanks

Environment

  • Appium version 1.5.0 currenttly
  • Last Appium version that did not exhibit the issue 1.4.1
  • Desktop OS/version used to run Appium: 10.13.3
  • Node.js version (unless using Appium.app|exe): v8.9.3
  • Mobile platform/version under test: 11.2 iPhone 5s
  • Real device or emulator/simulator: real device

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5

github_iconTop GitHub Comments

1reaction
mykola-mokhnachcommented, Apr 3, 2018

This is not the device log. Sorry, but without it I cannot advice much. You could try mobile endpoints as a workaround.

0reactions
lock[bot]commented, Apr 23, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

Read more comments on GitHub >

github_iconTop Results From Across the Web

[MJSONWP] Encountered internal error running command ...
This error pops up, because WDA binary is cached on the device. Try to set useNewWDA to true and see if it helps....
Read more >
Appium (and desktop) unable to launch wda session since ...
Please check the server log for more details. Original error: An unknown server-side error occurred while processing the command.
Read more >
Most common Errors - Appium-specific : Help Center - Support
Complete Error message: [MJSONWP] Encountered internal error running command: Error: Unable to start WebDriverAgent session because of ...
Read more >
Internal error running command: Error: ENOENT (Android ...
i´ve tried to run python test automation script using my own device (samsung note 2) with Appium server (v 1.7.2) I¨ve installed: +...
Read more >
appium/appium - Gitter
Encountered internal error running command : UnknownError: An unknown server-side error occurred while processing the command. Original error: Could not ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found