• 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
Re: Tracking -1001 error
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Tracking -1001 error


  • Subject: Re: Tracking -1001 error
  • From: Laurent Daudelin <email@hidden>
  • Date: Sun, 11 Nov 2012 18:04:08 -0800

I have exactly the same problem. I asked the question in the Cocoa dev mailing list but nobody came up with an answer.

In your case, you mention an operation queue, are you sure you have a running NSRunLoop? The NSURLConnection needs a running NSRunLoop to work, otherwise, it will sit there and do nothing.

-Laurent.
-- 
Laurent Daudelin
AIM/iChat/Skype:LaurentDaudelin  http://www.nemesys-soft.com/
Logiciels Nemesys Software email@hidden

On Nov 11, 2012, at 15:11, Laurent Cerveau <email@hidden> wrote:

Hi 

I have an iOS application that sometimes goes into a strange mode where any request time outs and a -1001 error is returned. The networks stack is using NSURLRequest and NSURLConnection on an NSOperationQueue. This happens on the device as well as the simulator. When I use a HTTP tracking tool like Charles or HTTP Scoop, no request goes seem to go to the wire

How can I track such bug and understand what happens?

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Tracking -1001 error (From: Laurent Cerveau <email@hidden>)

  • Prev by Date: Tracking -1001 error
  • Next by Date: Pseudo terminal sockets and disabling utf8 encoding?
  • Previous by thread: Tracking -1001 error
  • Next by thread: Pseudo terminal sockets and disabling utf8 encoding?
  • Index(es):
    • Date
    • Thread