NSURLConnection issues
NSURLConnection issues
- Subject: NSURLConnection issues
- From: Jack Carbaugh <email@hidden>
- Date: Thu, 30 Jul 2009 20:44:11 -0400
I am working on a program that is basically a wrapper around some web
pages.
I am using NSURLConnection to download the various pages needed,
however, with 2 specific users, NSURLConnection returns immediately
with an error, NSURLErrorDomain Code -1005 "Lost Network Connection"
The request has been verified to be fully formed and present
Both users can connect to the website via Safari and Firefox, using
the same connection and Leopard software versions.
Any suggestions as to why this may be happening and alternatives/ideas?
Thanks,
Jack
code:
NSURLConnection *theConnection=[[NSURLConnection alloc]
initWithRequest:LoginRequest delegate:self];
Log:
7/20/09 10:58:04 PM chatlinQ[1670] error:
Error Domain=NSURLErrorDomain Code=-1005 UserInfo=0x17273150 "lost
network connection"
7/20/09 10:58:04 PM chatlinQ[1670] response: code: 0
(null)
7/20/09 10:58:04 PM chatlinQ[1670] Connection response string:
7/20/09 10:58:04 PM chatlinQ[1670] Status Code was Not 200: '0'
7/20/09 10:59:10 PM chatlinQ[1674] error:
Error Domain=NSURLErrorDomain Code=-1005 UserInfo=0x18f3db00 "lost
network connection"
7/20/09 10:59:10 PM chatlinQ[1674] response: code: 0
(null)
7/20/09 10:59:10 PM chatlinQ[1674] Connection response string:
7/20/09 10:59:10 PM chatlinQ[1674] Status Code was Not 200: '0'
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden