[Error]: The request timed out. (Code: 100, Version: 1.12.0)
then I Sometimes get:
2016-04-15 02:44:54.836 Loopacks[253:36733] [Error]: The request timed out. (Code: 100, Version: 1.12.0)
2016-04-15 02:44:54.839 Loopacks[253:36733] [Error]: Network connection failed. Making attempt 1 after sleeping for 1.545312 seconds.
But the Network is working FINE, the proof is that I'm able to get the Data for my products from you DB @ Back4App.
What might be the Issue here?
Thanks
- (void) buySelectedPack
{
// [self addObserverForPack:self.currentPack];
if(!self.pfPurchaseInProgress)
{
self.pfPurchaseInProgress = YES;
// adding the Purchase Observer
[PFPurchase addObserverForProduct:self.currentPack.packProductID block:^(SKPaymentTransaction *transaction) {
[PFPurchase downloadAssetForTransaction:transaction completion:^(NSString *filePath, NSError *error) {
if (!error) {
// Unzipping
NSString *documentsFolder = [NSSearchPathForDirectoriesInDomains(NSDocumentDirectory,
NSUserDomainMask,
YES) lastObject];
NSString *packsFolder = [documentsFolder stringByAppendingPathComponent:LS_LOOPACKS_SUBDIRECTORY];
if([SSZipArchive unzipFileAtPath:filePath toDestination:packsFolder]) {
//unzip data success
//do something
LSLog(@"SSZipArchive unzipFileAtPath Success");
// Adding the Pack:
NSString *fileName = [filePath lastPathComponent];
NSArray* onlyFolder = [fileName componentsSeparatedByString:@"-"];
NSString* zipFile = [onlyFolder lastObject];
NSString* subFolder = [zipFile stringByDeletingPathExtension];
LSSoundPack* newPack = [[LSSoundPack alloc] init];
newPack.packFilePath = [packsFolder stringByAppendingPathComponent:subFolder];
if([newPack loadPackWithPath])
{
[[LSSamplePackManager sharedPackManager] addPackToApp:newPack];
NSDictionary* dict = [NSDictionary dictionaryWithObject:newPack forKey:@"packToLoad"];
[[NSNotificationCenter defaultCenter]
postNotificationName:@"LoadNewPack"
object:nil
userInfo:dict];
}else
{
[[LSSamplePackManager sharedPackManager] loadAllPacks:YES];
}
[SVProgressHUD showSuccessWithStatus:@"Enjoy your New LooPack :-D"];
// for the NON-ICLOUD-BACKUP
[self addSkipBackupAttributeToDirectoryAtPath:packsFolder];
// parse Tracking:
[self reportSale:self.currentPack.packName];
// Deleting the ZIP File:
NSFileManager *fileManager = [NSFileManager defaultManager];
[fileManager removeItemAtPath:filePath error:nil];
}else{
LSLog(@"SSZipArchive unzipFileAtPath Error");
[SVProgressHUD showErrorWithStatus:@"Please Re-Download the Pack...)"];
}
[self.packCollectionView reloadData];
}else
{
[SVProgressHUD showErrorWithStatus:@"Error"];
[self reportSaleError:self.currentPack.packName];
}
self.pfPurchaseInProgress = NO;
}];
}];
[PFPurchase buyProduct:self.currentPack.packProductID block:^(NSError *error) {
if (!error) {
// run UI logic that informs user the product has been purchased, such as displaying an alert view.
[SVProgressHUD showWithStatus:@"Downloading..."];
}else
{
LSLog(@"ERROR Buying Pack: %@", error);
[SVProgressHUD showErrorWithStatus:@"Error"];
}
}];
}
}
Error Domain=NSCocoaErrorDomain Code=3840 "JSON text did not start with array or object and option to allow fragments not set." UserInfo={NSDebugDescription=JSON text did not start with array or object and option to allow fragments not set.}
Does this say anything to you?
Thanks
Error Domain=NSCocoaErrorDomain Code=3840 "JSON text did not start with array or object and option to allow fragments not set." UserInfo={NSDebugDescription=JSON text did not start with array or object and option to allow fragments not set.}
How can I Turn the VERBOSE Level for Parse?
I'm going to Check out the Link you sent me for Downloading Files, Maybe that is the Key... Thanks
Error Domain=SKErrorDomain Code=0 "Cannot connect to iTunes Store" UserInfo={NSLocalizedDescription=Cannot connect to iTunes Store}
:-S I'm going crazy here... plz HELP :-d
Error Domain=SKErrorDomain Code=0 "Cannot connect to iTunes Store" UserInfo={NSLocalizedDescription=Cannot connect to iTunes Store}
2016-04-30 19:19:01.480 Loopacks[326:27890] Apps
I Think this is corrected when I Enter the Password Manually instead of the TouchID... What can be causing this?
OK I'm glad I Got the Store to work. Will keep you posted...
:-)
https://parse.com/questions/iap
http://stackoverflow.com/questions/30041106/in-app-purchase-cannot-connect-to-itunes-store
It seems that you cannot test purchase from simulator, but only through real devices.
If you need any assistance, let me know.
I just migration my App data from Parse to Back4App and followed the steps to set up back4App configuration. But now when I hit the Parse API with reference to back4App. It is continuously giving me following error: [Error]: The certificate for this server is invalid. You might be connecting to a server that is pretending to be “files.parsetfss.com” which could put your confidential information at risk. (Code: 100, Version: 1.14.2) Error]: Network connection failed. Making attempt 1 after sleeping for 1.171176 seconds. Can anyone please provide a solution for this kind of error. I have updated Parse SDK in my App as well as ParseFacebook SDK.
--
You received this message because you are subscribed to the Google Groups "back{4}app" group.
To unsubscribe from this group and stop receiving emails from it, send an email to back4app+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/back4app/a80cfd72-83ae-4b8c-8564-b6112ee2dd1f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.