REQUEST_TIMEOUT during invoke KeyAircraftLocation3D
359 0 1-10 05:37
Uploading and Loding Picture ...(0/1)
o(^-^)o
davidepal
lvl.1

Italy
Offline

Hi everyone,
I'm a newbie developer and I'm implementing a logic to get the first geolocation of aircraft. I run this block of instructions:

KeyManager.getInstance().getValue(KeyTools.createKey(FlightControllerKey.KeyAircraftLocation3D), new CommonCallbacks.CompletionCallbackWithParam<LocationCoordinate3D>() {
    @Override
    public void onSuccess(LocationCoordinate3D locationCoordinate3D) {
        Log.i(TAG, "AircraftLocation: " + locationCoordinate3D.toString());
    }

    @Override
    public void onFailure(@NonNull IDJIError error) {
        Log.e(TAG, "AircraftLocation Error: " + error);
    }
});





but is invoked onFailure method, with this error:


ErrorImp{errorType='CORE', errorCode='REQUEST_TIMEOUT', innerCode='', description='null', hint='error.

What Am I doing wrong?



                                                                           Translator                        
                                                                              
                                                                              
                     
                                             
                        
                     
                 

1-10 05:37
Use props
Advanced
You need to log in before you can reply Login | Register now

Credit Rules