Any idea why i gt this error when i try to retrieve from Storage cloud ?
My fone internet poblem or is it your server is own or something ? or any suggestions ?
05-21 20:34:56.063: I/System.out(16137): Exception :com.shephertz.app42.paas.sdk.android.App42Exception: org.apache.http.conn.ConnectTimeoutException: Connect to /100.1.200.99:8080 timed out
05-21 20:34:56.063: I/System.out(16137): ERROR GOT THIS - findAllDocuments-Exception Messageorg.apache.http.conn.ConnectTimeoutException: Connect to /100.1.200.99:8080 timed out
My code is like:
Set<String> selectKeys = new HashSet<String>();
selectKeys.add("LAT");
selectKeys.add("LNG");
selectKeys.add("DESC");
storageService.setSelectKeys(selectKeys);
storageService.findAllDocuments(dbName, collectionName, new App42CallBack() {
public void onSuccess(Object response)
{
Storage storage = (Storage )response;
System.out.println("dbName is " + storage.getDbName());
System.out.println("collection Name is " + storage.getCollectionName());
ArrayList<Storage.JSONDocument> jsonDocList = storage.getJsonDocList();
//AsyncTaskRunner runner = new AsyncTaskRunner();
//runner.execute(((Storage) response).getJsonDocList());
}
public void onException(Exception ex)
{
System.out.println("ERROR GOT THIS - findAllDocuments-Exception Message"+ex.getMessage());
}
});