Log in or register to post comments

Getting Network Time out issue with cloud Reco sample application

April 22, 2013 - 7:28am #1

Hi,

  I have been working with cloud reco for android. I am getting 'Network time out issue'. It says like check your network connection but I am on WIFI and tested with other apps where everythign works fine, I have even tested with the sample app of cloud reco without any changes. I am just scanning the images for those samples given in pdf. But still I am getting the same errror. I have tested with various devices such as Samsung Galaxy Note, Sony xperia and few others but can't make it work.

Can anyone help please?

Thanks,

Ganesh.

 

Getting Network Time out issue with cloud Reco sample applicatio

December 18, 2014 - 9:47pm #9

Hi,AlessandroB

I have this problem too.

1.I use your Cloud Reco in China.

2.When i see the scan line run,then it needs a lot time to scan the image target,and then time out most time

I think if there is any possible to resolve it ?

Also when i add a new target with your VWS,it may return fail sometime.I find when i post at 3-4PM in China it fail,other time it success

help me 

Thanks.

Getting Network Time out issue with cloud Reco sample applicatio

April 23, 2013 - 11:23am #8

Hi, thanks for confirming this.

So, this indicates that the connection issue is occurring at the time when the app tries to retrieve the Book data to build the augmentation image; the Book data are stored at a different server (not on the Cloud) and they are just used for the sample.

 

So, what happens (in detail) is the following:

  • the scan process tries to recognize an image target in your camera field of view, by communicating with the Cloud;
  • after a few seconds, it finds a target matching on the Cloud, and obtains the target information from the Cloud;
  • then it uses the information of the target to establish a second connection (not for Cloud Recognition) with the Book data server (which is just a sample-specific server, not related to the Cloud itself)
  • at this point, the connection fails, as the device cannot reach the Book data server through the network.

 

This means that you don' have any issue with Cloud Reco itself, but only with the sample-sepcific Book data server.

So, based on this, I can reassure you that you can safely develop your applications using Cloud Reco.

 

One thing you can also do is to read this article, which explains how to setup a simple CloudReco app starting from ImageTargets sample:

https://developer.vuforia.com/forum/faq/android-how-integrate-cloudreco-imagetargets-sample

this will simply show a Teapot model when a Cloud target is detected, thus avoiding the use of the Book data server (thiswould also allow you to confirm that the issue is really just with the Book data server).

 

Getting Network Time out issue with cloud Reco sample applicatio

April 23, 2013 - 10:55am #7

The scanline runs then it seems to be tryint retrieving some data or tyring to match the image with cloud database. It tries few seconds at this stage then brings the network timeout error.

Thanks,

Ganesh.

Getting Network Time out issue with cloud Reco sample applicatio

April 23, 2013 - 6:17am #6

Thanks for confirming the network issue. One thing that would be important is to know whether your network error comes while trying to connect to Cloud Reco, or if it comes from the Sample App specific database server connection (which is a database just containing some Book data for the sake of the sample) which is merely used for retrieving the Book cover (i.e. the book augmentation with the price tag).

If the problem is with the latter (retrieving the bool augmentation), then there is no issue, because it would mean that the connection with the Cloud database is OK. 

So, the question is: do you see the network error immediatly at app startup, or do you see the scanline running on the screen and then getting the error ?

 

Getting Network Time out issue with cloud Reco sample applicatio

April 23, 2013 - 5:44am #5

Hi,

  Thanks for your help. Now I changed to another network in which the sample app worked fine for first time. Then I tested with my own app then again with sample app but the issue comes again. But I observed our networks are very slow when we ping the USA server. When we test with other servers within India our speed is like 5 MBPS. But when we test with USA server (Denver) the speed is just about 400KBPS.

I then contacted our ISP and observed there is some issue with undersea cables hence the internet between coutries will be slow for India. They are working on it and to be solved sooner.

Just to ask you, shall we start developign our App without any doubts? We are going to use VWS API as well from our CMS. We are going to do it for a publisher network in local so I want to get some assurance on it. Please...?

Another question, most people with mobile interenet here are with slow network. There is no way Vuforia cloud reco can handle this exception?

 

Thanks,
Ganesh.

'

 

Getting Network Time out issue with cloud Reco sample applicatio

April 22, 2013 - 11:55pm #4

So, let's recapitulate:

  • you have tested the sample without any change (as you said);
    • so, this exclude that the error can be with your account or with your keys (as you are using the sample account and sample keys which are hardcoded in the sample itself);
  • also, the problem is not device-specific, as it occurs on several different devices
  • the CloudReco samples (tested from here) work fine, as I just tested them again, just in case

Given the above, I can only think of two issues:

  • there could be a problem with your network connection (even if you changed wifi, maybe you are still under the same network coverage; or maybe the wifi you are using is extremly slow.. ?)
  • there could be a problem with the time settings of your device; is your time and Time Zone correctly set on your devices (for instance, try to disable the automated Time Zone settings, and set them manually...)

 

 

Getting Network Time out issue with cloud Reco sample applicatio

April 22, 2013 - 5:32pm #3

Hi,

 I tried with different WIFI today, but still getting the same issue. I am trying to scan the image from pdf as well as image itself but not printed targets, is that is an issue? But when I tried to scan images using local databse (image targets sample), it was successful.

Please advise,

Thanks,
Ganesh.

Getting Network Time out issue with cloud Reco sample applicatio

April 22, 2013 - 12:31pm #2

Hi,

could you make a test using a different WIFI network ?

if you have the same issue on various devices, there might be something in your network causing the issue.

 

Log in or register to post comments