Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AppleTV: connect to wda aborted #746

Closed
vdelendik opened this issue May 15, 2023 · 3 comments
Closed

AppleTV: connect to wda aborted #746

vdelendik opened this issue May 15, 2023 · 3 comments
Labels
Milestone

Comments

@vdelendik
Copy link
Contributor

during opening AppleTV in stf for some devices we can't get response from wda /status end-point.
it seems like we have to increase max allowed time for this operation like we did in appium: zebrunner/appium#171

2023-05-15T15:43:20.352Z VRB/wdaClient 59216 [3f...507] Request has been sent to WDA with data:  {"method":"POST","uri":"http://localhost:7441/session","body":{"capabilities":{}},"json":true}
2023-05-15T15:43:20.366Z INF/util:lifecycle 59216 [3f...507] Winding down for graceful exit, with optional error :  RequestError: Error: aborted
    at new RequestError (/Users/mobile/tools/mcloud-ios/stf/node_modules/request-promise-core/lib/errors.js:14:15)
    at Request.plumbing.callback (/Users/mobile/tools/mcloud-ios/stf/node_modules/request-promise-core/lib/plumbing.js:87:29)
    at Request.RP$callback [as _callback] (/Users/mobile/tools/mcloud-ios/stf/node_modules/request-promise-core/lib/plumbing.js:46:31)
    at self.callback (/Users/mobile/tools/mcloud-ios/stf/node_modules/request/request.js:185:22)
    at Request.emit (node:events:390:28)
    at IncomingMessage.<anonymous> (/Users/mobile/tools/mcloud-ios/stf/node_modules/request/request.js:1079:12)
    at IncomingMessage.emit (node:events:390:28)
    at emitErrorNT (node:internal/streams/destroy:164:8)
    at emitErrorCloseNT (node:internal/streams/destroy:129:3)
    at processTicksAndRejections (node:internal/process/task_queues:83:21) {
  cause: Error: aborted
      at connResetException (node:internal/errors:691:14)
      at Socket.socketCloseListener (node:_http_client:407:19)
      at Socket.emit (node:events:402:35)
      at TCP.<anonymous> (node:net:687:12) {
    code: 'ECONNRESET'
  },
  error: Error: aborted
      at connResetException (node:internal/errors:691:14)
      at Socket.socketCloseListener (node:_http_client:407:19)
      at Socket.emit (node:events:402:35)
      at TCP.<anonymous> (node:net:687:12) {
    code: 'ECONNRESET'
  },
  options: {
    method: 'GET',
    uri: 'http://localhost:7441/status',
    json: true,
    callback: [Function: RP$callback],
    transform: undefined,
    simple: true,
    resolveWithFullResponse: false,
    transform2xxOnly: false
  },
  response: undefined
}
2023-05-15T15:43:20.370Z FTL/util:lifecycle 59216 [3f507] Shutting down due to fatal error with optional error :  RequestError: Error: aborted
    at new RequestError (/Users/mobile/tools/mcloud-ios/stf/node_modules/request-promise-core/lib/errors.js:14:15)
    at Request.plumbing.callback (/Users/mobile/tools/mcloud-ios/stf/node_modules/request-promise-core/lib/plumbing.js:87:29)
    at Request.RP$callback [as _callback] (/Users/mobile/tools/mcloud-ios/stf/node_modules/request-promise-core/lib/plumbing.js:46:31)
    at self.callback (/Users/mobile/tools/mcloud-ios/stf/node_modules/request/request.js:185:22)
    at Request.emit (node:events:390:28)
    at IncomingMessage.<anonymous> (/Users/mobile/tools/mcloud-ios/stf/node_modules/request/request.js:1079:12)
    at IncomingMessage.emit (node:events:390:28)
    at emitErrorNT (node:internal/streams/destroy:164:8)
    at emitErrorCloseNT (node:internal/streams/destroy:129:3)
    at processTicksAndRejections (node:internal/process/task_queues:83:21) {
  cause: Error: aborted
      at connResetException (node:internal/errors:691:14)
      at Socket.socketCloseListener (node:_http_client:407:19)
      at Socket.emit (node:events:402:35)
      at TCP.<anonymous> (node:net:687:12) {
    code: 'ECONNRESET'
  },
  error: Error: aborted
      at connResetException (node:internal/errors:691:14)
      at Socket.socketCloseListener (node:_http_client:407:19)
      at Socket.emit (node:events:402:35)
      at TCP.<anonymous> (node:net:687:12) {
    code: 'ECONNRESET'
  },
  options: {
    method: 'GET',
    uri: 'http://localhost:7441/status',
    json: true,
    callback: [Function: RP$callback],
    transform: undefined,
    simple: true,
    resolveWithFullResponse: false,
    transform2xxOnly: false
  },
  response: undefined
}
@vdelendik vdelendik added the bug label May 15, 2023
@vdelendik vdelendik added this to the 2.5 milestone May 15, 2023
@vdelendik vdelendik modified the milestones: 2.5, 2.4.7 May 16, 2023
@vdelendik
Copy link
Contributor Author

just in case issue occurs on the devices which are connected via wi-fi!

@vdelendik vdelendik modified the milestones: 2.4.7, 2.5 Jul 18, 2023
@vdelendik vdelendik modified the milestones: 2.6, 2.7 Nov 4, 2023
@vdelendik vdelendik modified the milestones: 2.7, 2.6.5 Mar 19, 2024
@vdelendik
Copy link
Contributor Author

closing as fixed indirectly. we improved a lot size/scale detection

@dhreben
Copy link
Contributor

dhreben commented Mar 20, 2024

Closed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Archived in project
Development

No branches or pull requests

2 participants