• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
NSURLConnection issues
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: NSURLConnection issues
      • From: Jerry Krinock <email@hidden>
  • Prev by Date: Re: NSString and regular expressions
  • Next by Date: Re: NSURLConnection issues
  • Previous by thread: Re: How to tell other controller that orientationDidChange
  • Next by thread: Re: NSURLConnection issues
  • Index(es):
    • Date
    • Thread