Log in or register to post comments

Cloud Recognition Service unavailable

July 7, 2013 - 10:58am #1

While using Cloud Recognition, my app (both iOS and android), throws this error after every few minutes:

"Service Unavailable. The cloud recognition service is unavailable, please try again later."

Though the error stops after few seconds. But it is quite irritating especially when it appears during demo/presentation.

This happens almost everyday!

Please note that the internet connection was working fine whenever I got this error.

Any ideas what is the problem here?

Is it some kind of issue with Cloud recognition server?

Cloud Recognition Service unavailable

February 2, 2015 - 2:53pm #22

Could you post (or PM) some screenshots of the time-zone/carrier settings on your device? Also, how far out-of-sync did you set the devices which normally work?

 

Cloud Recognition Service unavailable

January 30, 2015 - 5:11am #21

We have experiencing Clock Sync issues, even with timezone and time as automatic (provided by network). But this happens only in some devices, but not necessary the old ones, with Android 4.1.x (samsung) this type of issues occurs frequently. On the other side, using Nexus 4 and Android 5.x we never had this kind of issue, even with clock out of sync.

Cloud Recognition Service unavailable

January 24, 2015 - 11:35pm #20

any solution ?

any suggestion ?

tnx

Cloud Recognition Service unavailable

January 20, 2015 - 8:08am #19

Cloud Reco service is blocked in Iran. If the phone is setup for that region, then it seems to be the reason you get "service unavailable".

https://developer.vuforia.com/legal/license

 

Cloud Recognition Service unavailable

January 20, 2015 - 12:02am #18

1. motorola  moto G / nexus 4 / nexus 7

2. kitkat 4.4.4

3. google chrome

4. i dont have any carrier / no simcard attached in phone, at present (but my operator is in middle east)

5. both but more, wifi network

 

Thanks.

Cloud Recognition Service unavailable

January 19, 2015 - 7:59pm #17

Thank you for checking on the error code. Here's a few more questions:

1. What handset device model are you using?
2. What OS version?
3. What mobile browser?
4. What Carrier/Operator?
5. Are you using cell network or wifi?

 

Cloud Recognition Service unavailable

January 17, 2015 - 6:56am #16

I debug code, so i got this error  :

code == UPDATE_ERROR_SERVICE_NOT_AVAILABLE_DESC

with code value is -8 returned

so, what wrong in Cloud Reco.java ?

 

you said test it with this url : https://crs.vuforia.com/v2/api/query

in my desktop browser i got this : Authorization header missing.

in my phone browser i got nothing : blank page

 

or what wrong with my phone ?

 

(before, in desktop & phone, i got succes from nginx!)

 

tnx.

Cloud Recognition Service unavailable

January 14, 2015 - 5:30pm #15

The error message that you receive "Service Unavailable: The service is unavailable, please try again later." is linked to both a specific error (UPDATE_ERROR_SERVICE_NOT_AVAILABLE_DESC) and also a general unknown error (UPDATE_ERROR_UNKNOWN_DESC). See the entries in the strings.xml:

<string name="UPDATE_ERROR_SERVICE_NOT_AVAILABLE_DESC">The service is unavailable, please try again later.</string>
<string name="UPDATE_ERROR_UNKNOWN_DESC">The service is unavaiable, please try again later.</string>

 

In order to determine which error, can you check using debug or log to see which int code is being passed to the getStatusDescString() method in the CloudReco.java file?

// Returns the error message for each error code
private String getStatusDescString(int code)
{
    if (code == UPDATE_ERROR_AUTHORIZATION_FAILED)
        return getString(R.string.UPDATE_ERROR_AUTHORIZATION_FAILED_DESC);
    if (code == UPDATE_ERROR_PROJECT_SUSPENDED)
        return getString(R.string.UPDATE_ERROR_PROJECT_SUSPENDED_DESC);
    if (code == UPDATE_ERROR_NO_NETWORK_CONNECTION)
        return getString(R.string.UPDATE_ERROR_NO_NETWORK_CONNECTION_DESC);
    if (code == UPDATE_ERROR_SERVICE_NOT_AVAILABLE)
        return getString(R.string.UPDATE_ERROR_SERVICE_NOT_AVAILABLE_DESC);
    if (code == UPDATE_ERROR_UPDATE_SDK)
        return getString(R.string.UPDATE_ERROR_UPDATE_SDK_DESC);
    if (code == UPDATE_ERROR_TIMESTAMP_OUT_OF_RANGE)
        return getString(R.string.UPDATE_ERROR_TIMESTAMP_OUT_OF_RANGE_DESC);
    if (code == UPDATE_ERROR_REQUEST_TIMEOUT)
        return getString(R.string.UPDATE_ERROR_REQUEST_TIMEOUT_DESC);
    if (code == UPDATE_ERROR_BAD_FRAME_QUALITY)
        return getString(R.string.UPDATE_ERROR_BAD_FRAME_QUALITY_DESC);
    else
    {
        return getString(R.string.UPDATE_ERROR_UNKNOWN_DESC);
    }
}

As for a test URL for Cloud Reco connection, use the following to verify if you can reach the service:

https://crs.vuforia.com/v2/api/query

That URL should return the following string, "Authorization header missing.", and it will work with desktop and mobile browsers.

 

Cloud Recognition Service unavailable

January 11, 2015 - 1:36am #14

tnx dm3d

the last version i have

VuforiaSample-3-0-5_0

android

Cloud Recognition Service unavailable

January 8, 2015 - 3:43am #13

EDIT: Apologies, my issue was specific to the device I was using not the Vuforia service.

Cloud Recognition Service unavailable

January 7, 2015 - 11:30am #12

Which version of the Cloud sample app are you using (2.x, 3.x, 4.x) and what platform (iOS, Android, Unity)?

Cloud Recognition Service unavailable

January 7, 2015 - 6:45am #11

Hi AlessandroB,

I try this url from my android phone, i got this :

Welcome to nginx!

If you see this page, the nginx web server is successfully installed and working. Further configuration is required.

For online documentation and support please refer to nginx.org.
Commercial support is available at nginx.com.

Thank you for using nginx.

 

but why i got this error from my Cloud Reco sample ?!

error : "Service Unavailable, the service is unavailable, please try again later."

can u help me ?

tnx .

Cloud Recognition Service unavailable

July 8, 2013 - 12:06pm #10

Note:

when you get the message  "404 Not Found  nginx", this means that you can reach the Cloud servers (all OK);

however, when you get   "Safari cannot open the page because the server cannot be found", this means that the servers cannot be reached,

so, from your description, the network seems unable to reach the servers intermittently..

 

Cloud Recognition Service unavailable

July 8, 2013 - 11:47am #9

DavidBeard wrote:

Can you tell us which network provider you are using, and whether your connection is over WIFI, 3G or 4G? Also are you connecting from the region identified in your forum profile? And have you observed this issue on other devices as well?

Feel free to PM us if you prefer to keep this information private.

Hi David, 

I have sent you all the details in a PM.

Regards,

lucky

Cloud Recognition Service unavailable

July 8, 2013 - 11:05am #8

Can you tell us which network provider you are using, and whether your connection is over WIFI, 3G or 4G? Also are you connecting from the region identified in your forum profile? And have you observed this issue on other devices as well?

Feel free to PM us if you prefer to keep this information private.

Cloud Recognition Service unavailable

July 8, 2013 - 10:46am #7

AlessandroB wrote:

Ok.

Can you open this URL with a browser from your device ? (not from desktop)

https://crs.vuforia.com/ 

Can you tell me if it displays exactly the following 2 lines ?

404 Not Found
nginx

or otherwise what exact message do you get ?

also, Could you the test above try more than once and see if you get consistent results or not ?

 

Hi AlessandroB,

I opened the url in iPhone's safari browser.

It displayed:

404 Not Found

nginx

 

Then I tested vuforia cloud recognition project. After few tries, I got the "Service unavailable" error. Then I tried opening the url again in safari(iPhone), this time I got the following error: "Safari cannot open the page because the server cannot be found". Then I tried opening google.com and yahoo.com in safari, and they worked. But I still got the same error while opening the url.

After few refreshes, I again got the "404 Not Found nginx" error.

 

 

Cloud Recognition Service unavailable

July 8, 2013 - 7:45am #6

Hi Jason,

the issue you are experiencing seems to be slightly different from the one observed by lucky (Service unavailable...)

If you get "The network request has timed out", this might indicate that your wireless network is a bit slow or perhaps the connection is not very stable (i.e. it is working, but perhaps the bandwidth might be going a bit down occasionally).

If you get (occasionally) Clock Sync error, this indicates that your device Time Settings are not in perfect sync with internet local time; note that Cloud Reco has a tolerance of a few minutes (5 minutes); perhaps your device has a time settings which are just very close to the 5 minutes offset limit, which results in occasional connection errors like the ones you reported.

Could you double-check that your time settings are as accurate as possible ?

Cloud Recognition Service unavailable

July 8, 2013 - 7:06am #5

Hi, I am experiencing similar issue.   It happens on both sample and my application.    Initialization is passed.   Then it randomly throw error messages such as

"Request Timeout","The network request has timed out, please check your internet connection and try again."   or

"Clock Sync Error","Please update the date and time and try again."  

It may recover after some time.   There is also possibility that it goes dead.  I have to close and reopen the application.   When this happens,  I am pretty sure the internet connection is ok as I can browse other web pages from my device.   But when I use "https://crs.vuforia.com" in browser, it simply returns

404 Not Found

nginx

I like the cloud recognition.  However it seems not stable, the service is randomly out of reach.   Is there any specia care need to be taken?     

 

 

Cloud Recognition Service unavailable

July 8, 2013 - 12:48am #4

Ok.

Can you open this URL with a browser from your device ? (not from desktop)

https://crs.vuforia.com/ 

Can you tell me if it displays exactly the following 2 lines ?

404 Not Found
nginx

or otherwise what exact message do you get ?

also, Could you the test above try more than once and see if you get consistent results or not ?

 

Cloud Recognition Service unavailable

July 7, 2013 - 10:19pm #3

AlessandroB wrote:

Hi, does this happen with the sample ? or your application ?

 

It happens with both the sample and my application based on sample.

Devices: iPhone 4, iPhone 5, iPad 2, iPad 4, Samsung Galaxy S2, Samsung Galaxy S3, Samsung Galaxy Note

Cloud Recognition Service unavailable

July 7, 2013 - 2:00pm #2

Hi, does this happen with the sample ? or your application ?

 

Log in or register to post comments