Device communication timeout

Bug reports.
sameena
Posts: 11
Joined: Tue Dec 10, 2013 10:59 am

Device communication timeout

Post by sameena » Mon May 19, 2014 11:15 am

Hi Team,

While we are testing on an android device, we come across device communication timeout exception.
We tried to increase the default timeout specified in the settings -> Plugins -> connect timeout option in the studio, but no luck.

Please find the below detailed description of the error

Device communication timed out. Either no instrumented application is running on the device or the device was not able to process the request within the specified timeout of '00:00:10'. Check that an instrumented application is running on the device or try to increase the timeout

Please suggest any other approach..

Thanks in advance.
Sameena

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: Device communication timeout

Post by Support Team » Tue May 20, 2014 2:38 pm

Hi Sameena,

Unfortunately we are not able to reproduce this issue.

In order to analyze this problem in detail I would need some additional information.
May I ask you to answer the following questions?
  • Which version of Ranorex is installed on your machine?
  • Which Operating System are you using?
  • On which device/Android version are you testing?
  • Which service apk is installed on your device?
  • Was your application instrumented by code or by wizard?
  • Is it possible for you to send us your application, so we can try to reproduce this issue on our side?
This will help us to find a solution for your problem.

Thank you in advance

Regards,
Markus (S)
.
Image

sameena
Posts: 11
Joined: Tue Dec 10, 2013 10:59 am

Re: Device communication timeout

Post by sameena » Wed May 21, 2014 5:46 am

hi Markus,

Please find the below answers to your questions.

Which version of Ranorex is installed on your machine? > Ranorex 5.0.1
Which Operating System are you using? > Windows 7 Enterprise
On which device/Android version are you testing? > Android 4.0.3.4
Which service apk is installed on your device? > Ranorex Service 1.5.0
Was your application instrumented by code or by wizard? > Command line

Kindly help.

Thanks,
Sameena

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: Device communication timeout

Post by Support Team » Fri May 23, 2014 10:15 am

Hi Sameena,

Thank you for the requested information.
Unfortunately we were not able to reproduce this problem on our side.
May I ask you to send us your application?
This would be really helpful for us to analyze the problem in detail and to find a solution for that.

May I also ask you, is this topic about the same problem?


Regards,
Markus (S).
.
Image

lucian.teodorescu
Posts: 82
Joined: Fri Oct 24, 2014 10:58 am
Location: Bucharest

Re: Device communication timeout

Post by lucian.teodorescu » Fri Feb 06, 2015 2:14 pm

Hi,

It's been a while since the last post, but because I faced this issue again, I've thought the solution might help others.

So, the error's message says "Device communication timed out." Well, it turned out that the targeted setting is Global Settings -> Plugins -> Mobile -> Remote call timeout.
I've tested this option with different values and when smaller than 5s that error occurs from time to time.

On the other hand, when 'Connect timeout' option is low, it triggers another type of message.

You are welcome!
Lucian Teodorescu
NetSun Software

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: Device communication timeout

Post by Support Team » Mon Feb 09, 2015 11:12 am

Hi Lucian,
Thank you for providing your solution.

I’d recommend setting both values to 30 seconds or higher.
Please find a screenshot of these mentioned settings below.
Mobile_ConnectTimeout.png
Remote call timeout
Mobile_ConnectTimeout.png (22.44 KiB) Viewed 1593 times
Mobile_RemoteCallTimeout.png
Connect timeout
Mobile_RemoteCallTimeout.png (22.88 KiB) Viewed 1593 times

Regards,
Markus (S)
.
Image