I am trying to access one of my URL in my code. It returns the StatusCode as zero.
What is this? could not understand..
Code : calling method
{
ASIHTTPRequest* request = [[MUGatewayHelper sharedGatewayHelper] prepareRequestForURL:requestURL];
request.delegate = self;
request.didFinishSelector = _didFinishSelector;
request.didFailSelector = _didFailSelector;
}
My response(status Message) is 'null' with statuscode of 'zero'
Please guide me. I have tried with some other URL in my code. It works perfectly. I am sure, My Connection code is correct. is there any certification issue in ios device? But If I connect the same URL thorugh ios device safari, i can get the response . Is there any blocking in ASIHttpRequest ? or probelm with server?
Please Guide me. I am totally confunsed,...
Edit on : Feb 11
I have got some invalid SSL certificate exception in the error. But my SSL certificate is original. If the add the cookies value in Firefox, it works. But if add the cookies in ASIHttpRequest , still i am getting the responderstatus is 0. any idea?
Edit on FEb 11 at 9.30
Hi Friends, I have used the GET request in safari,chorme and firefox . it works fine. When I am using the same URL in iphone browser, it returns the 404 exception. incase i am using in the ASIHTtpRequest in the Code, I am getting the exception code status zero. is it specific reason ? Please guide me... I am stuck up much .. Thanks in advance.