Re: Tracking -1001 error
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
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