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.

[iOS-RealDevice] Uncaught Error: Failed to receive any data within the timeout: 5000 error in some environment

See original GitHub issue

The problem

I cannot execute in iOS Real Devices after my upgrade to Appium 2 due to a 500 error creating /wd/hub/session. After a long time investigating (appium and xcuitest reinstall, different combinations of Signing Capabilities for WebDriverAgentRunner compilation, rebooting mac and iPhones) I don’t know what is going wrong her. This is my client side error

Environment

  • Appium v2.0.0-beta.25
  • xcuitest@3.62.0 (automationName ‘XCUITest’)
  • relaxed-caps@1.0.3 (ACTIVE)
  • execute-driver@1.0.1
  • XCode version: 13.2.1
  • macOS 12.1 (21C52)
  • iOS 15.3 and iOS14.2

Link to Appium logs

no_cached_connections

Code To Reproduce Issue [ Good To Have ]

Please remember that with sample code it’s easier to reproduce the bug and it’s much faster to fix it.

Please git clone https://github.com/appium/appium and from the sample-code directory, use one of your favourite languages and sample apps to reproduce the issue.

In case a similar scenario is missing in sample-code, please submit a PR with one of the sample apps provided.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:39 (15 by maintainers)

github_iconTop GitHub Comments

1reaction
andrew-clearcommented, Jun 22, 2022

I downgrade the node version to 16.15.1 and it’s working fine for me

1reaction
alvarolgncommented, Apr 1, 2022

I’ve upgrade my node and openssl versions to:

eve:.appium qacdo$ node
Welcome to Node.js v17.8.0.
Type ".help" for more information.
> process.versions
{
  node: '17.8.0',
  v8: '9.6.180.15-node.16',
  uv: '1.43.0',
  zlib: '1.2.11',
  brotli: '1.0.9',
  ares: '1.18.1',
  modules: '102',
  nghttp2: '1.47.0',
  napi: '8',
  llhttp: '6.0.4',
  openssl: '3.0.2+quic',
  cldr: '40.0',
  icu: '70.1',
  tz: '2021a3',
  unicode: '14.0',
  ngtcp2: '0.1.0-DEV',
  nghttp3: '0.1.0-DEV'
}

and it is working now 😄 😄

Thanks @mykola-mokhnach @douniwan5788  @KazuCocoa you are my heroes 💪

Read more comments on GitHub >

github_iconTop Results From Across the Web

Why am I getting an "[XCUITest] Failed to receive any data ...
Original error: Failed to receive any data within the timeout: 5000. Failed exactly here. driver = new IOSDriver<>(new URL(remoteUrl.
Read more >
[XCUITest]Continuing without capturing device logs: Failed to ...
[debug] [MJSONWP] Encountered internal error running command: Error: Failed to receive any data within the timeout: 5000.
Read more >
Appium Issue while launching App on IOS 14 mobile
Hi All, I am facing issue while launching application using appium using start session on ios 14 -iphone 8. I am getting the...
Read more >
5000" error when running mobile web tests on iOS real device?
Original error: An unknown server-side error occurred while processing the command. Original error: Failed to receive any data within the timeout: 5000.
Read more >
Katalon latest version(8.2.5) encountered the error, java.util ...
SessionNotCreatedException: Unable to create a new remote session ... Original error: Failed to receive any data within the timeout: 5000.
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