Manos Chorianopoulos

timeout 30 sec

......@@ -3886,7 +3886,8 @@ CGFloat DistanceBetweenTwoPoints(CGPoint point1,CGPoint point2)
NSMutableString *urlString = [NSMutableString stringWithFormat:@"%@/oauth/%@/login", _baseURL, _appUUID];
WLLOG(@"[WARP Trace] HTTP URL: %@", urlString);
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:urlString] cachePolicy:NSURLRequestReloadIgnoringLocalCacheData timeoutInterval:100];
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:urlString] cachePolicy:NSURLRequestReloadIgnoringLocalCacheData timeoutInterval:30];
[request setTimeoutInterval:30];
NSDictionary *parameters;
......@@ -4013,7 +4014,8 @@ CGFloat DistanceBetweenTwoPoints(CGPoint point1,CGPoint point2)
NSMutableString *urlString = [NSMutableString stringWithFormat:@"%@/oauth/%@/web_authorize", _baseURL, _appUUID];
WLLOG(@"[WARP Trace] HTTP URL: %@", urlString);
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:urlString] cachePolicy:NSURLRequestReloadIgnoringLocalCacheData timeoutInterval:100];
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:urlString] cachePolicy:NSURLRequestReloadIgnoringLocalCacheData timeoutInterval:30];
[request setTimeoutInterval:30];
NSDictionary *parameters;
......@@ -4118,7 +4120,8 @@ CGFloat DistanceBetweenTwoPoints(CGPoint point1,CGPoint point2)
NSMutableString *urlString = [NSMutableString stringWithFormat:@"%@/oauth/%@/token", _baseURL, _appUUID];
WLLOG(@"[WARP Trace] HTTP URL: %@", urlString);
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:urlString] cachePolicy:NSURLRequestReloadIgnoringLocalCacheData timeoutInterval:100];
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:urlString] cachePolicy:NSURLRequestReloadIgnoringLocalCacheData timeoutInterval:30];
[request setTimeoutInterval:30];
NSDictionary *parameters;
......@@ -4224,7 +4227,8 @@ CGFloat DistanceBetweenTwoPoints(CGPoint point1,CGPoint point2)
NSMutableString *urlString = [NSMutableString stringWithFormat:@"%@/user/%@/register", _baseURL, _appUUID];
WLLOG(@"[WARP Trace] HTTP URL: %@", urlString);
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:urlString] cachePolicy:NSURLRequestReloadIgnoringLocalCacheData timeoutInterval:100];
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:urlString] cachePolicy:NSURLRequestReloadIgnoringLocalCacheData timeoutInterval:30];
[request setTimeoutInterval:30];
NSDictionary *parameters;
......@@ -4350,7 +4354,8 @@ CGFloat DistanceBetweenTwoPoints(CGPoint point1,CGPoint point2)
NSMutableString *urlString = [NSMutableString stringWithFormat:@"%@/user/%@/change_password", _baseURL, _appUUID];
WLLOG(@"[WARP Trace] HTTP URL: %@", urlString);
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:urlString] cachePolicy:NSURLRequestReloadIgnoringLocalCacheData timeoutInterval:100];
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:urlString] cachePolicy:NSURLRequestReloadIgnoringLocalCacheData timeoutInterval:30];
[request setTimeoutInterval:30];
NSDictionary *parameters;
......@@ -4484,7 +4489,8 @@ CGFloat DistanceBetweenTwoPoints(CGPoint point1,CGPoint point2)
NSMutableString *urlString = [NSMutableString stringWithFormat:@"%@/oauth/%@/context", _baseURL, _appUUID];
WLLOG(@"[WARP Trace] HTTP URL: %@", urlString);
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:urlString] cachePolicy:NSURLRequestReloadIgnoringLocalCacheData timeoutInterval:100];
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:urlString] cachePolicy:NSURLRequestReloadIgnoringLocalCacheData timeoutInterval:30];
[request setTimeoutInterval:30];
NSDictionary *parameters;
......@@ -4621,7 +4627,8 @@ CGFloat DistanceBetweenTwoPoints(CGPoint point1,CGPoint point2)
NSMutableString *urlString = [NSMutableString stringWithFormat:@"%@/api/%@/handle_image", _baseURL, _appUUID];
WLLOG(@"[WARP Trace] HTTP URL: %@", urlString);
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:urlString] cachePolicy:NSURLRequestReloadIgnoringLocalCacheData timeoutInterval:100];
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:urlString] cachePolicy:NSURLRequestReloadIgnoringLocalCacheData timeoutInterval:30];
[request setTimeoutInterval:30];
NSDictionary *parameters;
......@@ -4746,7 +4753,8 @@ CGFloat DistanceBetweenTwoPoints(CGPoint point1,CGPoint point2)
NSMutableString *urlString = [NSMutableString stringWithFormat:@"%@/user/%@/password_reset", _baseURL, _appUUID];
WLLOG(@"[WARP Trace] HTTP URL: %@", urlString);
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:urlString] cachePolicy:NSURLRequestReloadIgnoringLocalCacheData timeoutInterval:100];
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:urlString] cachePolicy:NSURLRequestReloadIgnoringLocalCacheData timeoutInterval:30];
[request setTimeoutInterval:30];
NSDictionary *parameters;
......@@ -4841,7 +4849,8 @@ CGFloat DistanceBetweenTwoPoints(CGPoint point1,CGPoint point2)
NSMutableString *urlString = [NSMutableString stringWithFormat:@"%@/user/%@/otp/generate", _baseURL, _appUUID];
WLLOG(@"[WARP Trace] HTTP URL: %@", urlString);
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:urlString] cachePolicy:NSURLRequestReloadIgnoringLocalCacheData timeoutInterval:100];
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:urlString] cachePolicy:NSURLRequestReloadIgnoringLocalCacheData timeoutInterval:30];
[request setTimeoutInterval:30];
NSDictionary *parameters;
......@@ -5028,7 +5037,8 @@ CGFloat DistanceBetweenTwoPoints(CGPoint point1,CGPoint point2)
NSMutableString *urlString = [NSMutableString stringWithFormat:@"%@%@", _baseURL, VERIFY_URL]; // /partners/cosmote/verify
WLLOG(@"[WARP Trace] HTTP URL: %@", urlString);
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:urlString] cachePolicy:NSURLRequestReloadIgnoringLocalCacheData timeoutInterval:100];
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:urlString] cachePolicy:NSURLRequestReloadIgnoringLocalCacheData timeoutInterval:30];
[request setTimeoutInterval:30];
NSDictionary *parameters;
......@@ -5124,7 +5134,8 @@ CGFloat DistanceBetweenTwoPoints(CGPoint point1,CGPoint point2)
NSMutableString *urlString = [NSMutableString stringWithFormat:@"%@/partners/oauth/%@/token", _baseURL, _appUUID]; // /partners/cosmote/verify
WLLOG(@"[WARP Trace] HTTP URL: %@", urlString);
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:urlString] cachePolicy:NSURLRequestReloadIgnoringLocalCacheData timeoutInterval:100];
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:urlString] cachePolicy:NSURLRequestReloadIgnoringLocalCacheData timeoutInterval:30];
[request setTimeoutInterval:30];
NSDictionary *parameters;
......@@ -5233,7 +5244,8 @@ CGFloat DistanceBetweenTwoPoints(CGPoint point1,CGPoint point2)
WLLOG(@"[WARP Trace] HTTP URL: %@", urlString);
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:urlString] cachePolicy:NSURLRequestReloadIgnoringLocalCacheData timeoutInterval:100];
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:urlString] cachePolicy:NSURLRequestReloadIgnoringLocalCacheData timeoutInterval:30];
[request setTimeoutInterval:30];
NSDictionary *parameters;
......@@ -5361,7 +5373,8 @@ CGFloat DistanceBetweenTwoPoints(CGPoint point1,CGPoint point2)
WLLOG(@"[WARP Trace] HTTP URL: %@", urlString);
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:urlString] cachePolicy:NSURLRequestReloadIgnoringLocalCacheData timeoutInterval:100];
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:urlString] cachePolicy:NSURLRequestReloadIgnoringLocalCacheData timeoutInterval:30];
[request setTimeoutInterval:30];
NSDictionary *parameters;
......@@ -5488,7 +5501,8 @@ CGFloat DistanceBetweenTwoPoints(CGPoint point1,CGPoint point2)
WLLOG(@"[WARP Trace] HTTP URL: %@", urlString);
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:urlString] cachePolicy:NSURLRequestReloadIgnoringLocalCacheData timeoutInterval:100];
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:urlString] cachePolicy:NSURLRequestReloadIgnoringLocalCacheData timeoutInterval:30];
[request setTimeoutInterval:30];
NSDictionary *parameters;
......@@ -5623,7 +5637,8 @@ CGFloat DistanceBetweenTwoPoints(CGPoint point1,CGPoint point2)
WLLOG(@"[WARP Trace] HTTP URL: %@", urlString);
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:urlString] cachePolicy:NSURLRequestReloadIgnoringLocalCacheData timeoutInterval:100];
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:urlString] cachePolicy:NSURLRequestReloadIgnoringLocalCacheData timeoutInterval:30];
[request setTimeoutInterval:30];
NSDictionary *parameters;
......@@ -5717,7 +5732,7 @@ CGFloat DistanceBetweenTwoPoints(CGPoint point1,CGPoint point2)
_waitingForRegistration = YES;
NSString *urlString = [NSString stringWithFormat:@"%@/api/mobile/v2/%@/register/", _baseURL, _appUUID];
// NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:urlString] cachePolicy:NSURLRequestReloadIgnoringLocalCacheData timeoutInterval:100];
// NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:urlString] cachePolicy:NSURLRequestReloadIgnoringLocalCacheData timeoutInterval:30];
// [request setAllHTTPHeaderFields:@{@"Accept-Encoding": @"gzip",
// @"Accept": @"application/json",
// @"User-Agent": @"gzip",
......@@ -5849,7 +5864,7 @@ CGFloat DistanceBetweenTwoPoints(CGPoint point1,CGPoint point2)
_waitingForRegistration = YES;
NSString *urlString = [NSString stringWithFormat:@"%@/api/mobile/v2/%@/register/", _baseURL, _appUUID];
// NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:urlString] cachePolicy:NSURLRequestReloadIgnoringLocalCacheData timeoutInterval:100];
// NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:urlString] cachePolicy:NSURLRequestReloadIgnoringLocalCacheData timeoutInterval:30];
// [request setAllHTTPHeaderFields:@{@"Accept-Encoding": @"gzip",
// @"Accept": @"application/json",
// @"User-Agent": @"gzip",
......