Appium: UnknownError: при обработке команды произошла неизвестная ошибка на стороне сервера. Исходная ошибка: превышено Android

Форум для тех, кто программирует под Android
Ответить Пред. темаСлед. тема
Anonymous
 Appium: UnknownError: при обработке команды произошла неизвестная ошибка на стороне сервера. Исходная ошибка: превышено

Сообщение Anonymous »

После обновления до версии appium 1.20.0 эта неизвестная ошибка на стороне сервера стала возникать чаще. Я видел эту ошибку раньше, но очень спорадически, и я думал, что это связано с тайм-аутом, вызванным отключением, теперь это происходит каждый раз Я запускаю тест в той же точке выполнения.
Версия Appium: 1.20.0
Устройство: Pixel 3 (эмулятор) Android API 30
Журналы Appium
[HTTP] --> POST /wd/hub/session/43679e36-4a7a-4510-92eb-ca185983324c/elements
[HTTP] {"using":"accessibility id","value":"log ind"}
[debug] [W3C (43679e36)] Calling AppiumDriver.findElements() with args: ["accessibility id","log ind","43679e36-4a7a-4510-92eb-ca185983324c"]
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, css selector, -android uiautomator
[debug] [BaseDriver] Waiting up to 20000 ms for condition
[debug] [WD Proxy] Matched '/elements' to command name 'findElements'
[debug] [WD Proxy] Proxying [POST /elements] to [POST http://127.0.0.1:8201/wd/hub/session/e7 ... 8/elements] with body: {"strategy":"accessibility id","selector":"log ind","context":"","multiple":true}
[WD Proxy] Error: timeout of 240000ms exceeded
[WD Proxy] at createError (/usr/local/lib/node_modules/appium/node_modules/axios/lib/core/createError.js:16:15)
[WD Proxy] at RedirectableRequest.handleRequestTimeout (/usr/local/lib/node_modules/appium/node_modules/axios/lib/adapters/http.js:280:16)
[WD Proxy] at Object.onceWrapper (events.js:422:26)
[WD Proxy] at RedirectableRequest.emit (events.js:315:20)
[WD Proxy] at ClientRequest.eventHandlers. (/usr/local/lib/node_modules/appium/node_modules/follow-redirects/index.js:13:24)
[WD Proxy] at ClientRequest.emit (events.js:315:20)
[WD Proxy] at Socket.emitRequestTimeout (_http_client.js:768:9)
[WD Proxy] at Object.onceWrapper (events.js:421:28)
[WD Proxy] at Socket.emit (events.js:327:22)
[WD Proxy] at Socket._onTimeout (net.js:480:8)
[WD Proxy] at listOnTimeout (internal/timers.js:549:17)
[WD Proxy] at processTimers (internal/timers.js:492:7)
[debug] [W3C (43679e36)] Encountered internal error running command: UnknownError: An unknown server-side error occurred while processing the command. Original error: Could not proxy command to the remote server. Original error: timeout of 240000ms exceeded
[debug] [W3C (43679e36)] at UIA2Proxy.command (/usr/local/lib/node_modules/appium/node_modules/appium-base-driver/lib/jsonwp-proxy/proxy.js:275:13)
[debug] [W3C (43679e36)] at processTicksAndRejections (internal/process/task_queues.js:97:5)
[debug] [W3C (43679e36)] at AndroidUiautomator2Driver.helpers.doFindElementOrEls (/usr/local/lib/node_modules/appium/node_modules/appium-uiautomator2-driver/lib/commands/find.js:30:12)
[debug] [W3C (43679e36)] at doFind (/usr/local/lib/node_modules/appium/node_modules/appium-android-driver/lib/commands/find.js:36:17)
[debug] [W3C (43679e36)] at wrappedCondFn (/usr/local/lib/node_modules/appium/node_modules/appium-base-driver/lib/basedriver/commands/timeout.js:151:12)
[debug] [W3C (43679e36)] at spin (/usr/local/lib/node_modules/appium/node_modules/asyncbox/lib/asyncbox.js:138:20)
[debug] [W3C (43679e36)] at waitForCondition (/usr/local/lib/node_modules/appium/node_modules/asyncbox/lib/asyncbox.js:154:10)
[debug] [W3C (43679e36)] at AndroidUiautomator2Driver.implicitWaitForCondition (/usr/local/lib/node_modules/appium/node_modules/appium-base-driver/lib/basedriver/commands/timeout.js:153:10)
[debug] [W3C (43679e36)] at AndroidUiautomator2Driver.findElOrEls (/usr/local/lib/node_modules/appium/node_modules/appium-android-driver/lib/commands/find.js:60:5)
[debug] [W3C (43679e36)] at AndroidUiautomator2Driver.findElOrElsWithProcessing (/usr/local/lib/node_modules/appium/node_modules/appium-base-driver/lib/basedriver/commands/find.js:33:12)
[debug] [W3C (43679e36)] at AndroidUiautomator2Driver.findElements (/usr/local/lib/node_modules/appium/node_modules/appium-base-driver/lib/basedriver/commands/find.js:63:10)
[HTTP]

Подробнее здесь: https://stackoverflow.com/questions/656 ... essing-the
Реклама
Ответить Пред. темаСлед. тема

Быстрый ответ

Изменение регистра текста: 
Смайлики
:) :( :oops: :roll: :wink: :muza: :clever: :sorry: :angel: :read: *x)
Ещё смайлики…
   
К этому ответу прикреплено по крайней мере одно вложение.

Если вы не хотите добавлять вложения, оставьте поля пустыми.

Максимально разрешённый размер вложения: 15 МБ.

  • Похожие темы
    Ответы
    Просмотры
    Последнее сообщение

Вернуться в «Android»