Post

Replies

Boosts

Views

Activity

Reply to Got a serious NSURLSession background session bug
Hello, My App uses NSURLSession to send network requests. Recently, on the iOS 17.0 system version, I've noticed an increase in ENOENT errors. However, I'm unable to identify the cause from the logs. I would like to inquire if there have been any changes to NSURLSession in this version? Why would this error code occur? Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory" UserInfo={NSErrorFailingURLStringKey=https://example.com, NSErrorFailingURLKey=https://example.com, _NSURLErrorRelatedURLSessionTaskErrorKey=( "LocalDownloadTask <AC10B665-F59A-469C-876C-F88EEAEC26E1>.<11>" ), _NSURLErrorFailingURLSessionTaskErrorKey=LocalDownloadTask <AC10B665-F59A-469C-876C-F88EEAEC26E1>.<11>}, response:<NSHTTPURLResponse: 0x280b8d000> { URL: https://example.com } { Status Code: 200 // session NSURLSessionConfiguration *config = [NSURLSessionConfiguration defaultSessionConfiguration]; NSOperationQueue *operationQueue = [[NSOperationQueue alloc] init]; operationQueue.maxConcurrentOperationCount = 1; _session = [NSURLSession sessionWithConfiguration:config delegate:self delegateQueue:operationQueue]; // task NSURLSessionTask *task = [self.session downloadTaskWithRequest:operation.request]; [task resume];
Sep ’23
Reply to Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"
// session NSURLSessionConfiguration *config = [NSURLSessionConfiguration defaultSessionConfiguration]; NSOperationQueue *operationQueue = [[NSOperationQueue alloc] init]; operationQueue.maxConcurrentOperationCount = 1; _session = [NSURLSession sessionWithConfiguration:config delegate:self delegateQueue:operationQueue]; // task NSURLSessionTask *task = [self.session downloadTaskWithRequest:operation.request]; task.priority = operation.networkPriority; [task resume];
Topic: App & System Services SubTopic: General Tags:
Sep ’23
Reply to Got a serious NSURLSession background session bug
Hello, My App uses NSURLSession to send network requests. Recently, on the iOS 17.0 system version, I've noticed an increase in ENOENT errors. However, I'm unable to identify the cause from the logs. I would like to inquire if there have been any changes to NSURLSession in this version? Why would this error code occur? Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory" UserInfo={NSErrorFailingURLStringKey=https://example.com, NSErrorFailingURLKey=https://example.com, _NSURLErrorRelatedURLSessionTaskErrorKey=( "LocalDownloadTask <AC10B665-F59A-469C-876C-F88EEAEC26E1>.<11>" ), _NSURLErrorFailingURLSessionTaskErrorKey=LocalDownloadTask <AC10B665-F59A-469C-876C-F88EEAEC26E1>.<11>}, response:<NSHTTPURLResponse: 0x280b8d000> { URL: https://example.com } { Status Code: 200 // session NSURLSessionConfiguration *config = [NSURLSessionConfiguration defaultSessionConfiguration]; NSOperationQueue *operationQueue = [[NSOperationQueue alloc] init]; operationQueue.maxConcurrentOperationCount = 1; _session = [NSURLSession sessionWithConfiguration:config delegate:self delegateQueue:operationQueue]; // task NSURLSessionTask *task = [self.session downloadTaskWithRequest:operation.request]; [task resume];
Replies
Boosts
Views
Activity
Sep ’23
Reply to Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"
// session NSURLSessionConfiguration *config = [NSURLSessionConfiguration defaultSessionConfiguration]; NSOperationQueue *operationQueue = [[NSOperationQueue alloc] init]; operationQueue.maxConcurrentOperationCount = 1; _session = [NSURLSession sessionWithConfiguration:config delegate:self delegateQueue:operationQueue]; // task NSURLSessionTask *task = [self.session downloadTaskWithRequest:operation.request]; task.priority = operation.networkPriority; [task resume];
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Sep ’23
Reply to Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"
Looking forward to your reply
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Sep ’23
Reply to invocation function for block in TCPIOConnection::_tlsValidateServerTrust
Hello, I sent another email, I don’t know if this crash report meets the requirements.
Replies
Boosts
Views
Activity
Oct ’21
Reply to Request failed with Error Domain=NSPOSIXErrorDomain Code=28 "No space left on device"
Hello, have you solved this problem?
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Sep ’21