Request failed with Error Domain=NSPOSIXErrorDomain Code=28 "No space left on device"

Lately numerous network requests made from our iOS device fail with the following error:

Error Domain=NSPOSIXErrorDomain Code=28 "No space left on device" UserInfo={_NSURLErrorFailingURLSessionTaskErrorKey=LocalDataTask <CF70E0F0-40BB-4796-B15B-3B4CCB483EE1>.<3>, _kCFStreamErrorDomainKey=1, _NSURLErrorRelatedURLSessionTaskErrorKey=( "LocalDataTask <CF70E0F0-40BB-4796-B15B-3B4CCB483EE1>.<3>" ), _kCFStreamErrorCodeKey=28}

The message implies the error has to do with available disk/memory space on the device. However, after checking both there is no link to be found since there is plenty of space available. Also, the error occurs on multiple devices, all running iOS 14.4 or higher.

Is there information available regarding error code 28 and what could be the culprit on iOS devices? Even better; how can this error be prevented?

Thanks in advance!

Kind Regards,

Julian

what could be the culprit on iOS devices? Even better; how can this error be prevented?

I would first check all of the usual places. For example:
  1. Make sure that you app is only using 1 URLSession object for running network requests.

  2. Make sure that if you are using urlCache on URLSessionConfiguration that you are managing this cache properly.

If you are unable to make progress in both of the previous items I would advise creating a reproducible sample with URLSession, recreating the issue, and triggering a sysdiagnose. - (Note that you need to login to your Developer Account to see those instructions)

The logarchive file in the sysdiagnose may give you some clues as to what is happening here. If you cannot make progress with the sysdiagnose, open a bug report and add the Feedback ID here.


Matt Eaton
DTS Engineering, CoreOS
meaton3@apple.com

Hello, have you solved this problem?

I am getting this error even with the desktop version of safari. Closing and re-opening safari is a workaround:

apple privacy relay safari can't open the page. The error is: "The operation couldn't' be completed. No space left on device" (NSPOSIXErrorDomain:28)

I am getting the same issue with Safari on a basically empty device. I only use cloud storage so I know for sure it is something to do with the new updates

I really hope this gets fixed soon because I am now going to be using Edge until this is fixed.

I have the same problem since I installed MacOS 12.1. When it happens, I am not able to open anything anymore. I guess, this is a major bug as it happens everywhere for a lot of people. And NO: no problems with the network. And NO: no additional extensions for anything.

this is very annoying.

Private Relay was deactivated, by now. No changes.

Having same problem many times a day... Safari is almost unusable at this point... Constant POSIX errors and page load fails...

Please Fix. I hate using Chrome.

Safari is almost unusable at this point... Constant POSIX errors and page load fails...

This thread started out as an issue being experience by a specific developer within their app. If you’re seeing it in Safari, and presuming that your device is configured like a normal user device, then that’s a clearly a problem with the OS itself. In that case I encourage you to file a bug about this. Make sure to attach a sysdiagnose log, which is critical for debugging such problems.

Please post your bug number, just for the record.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

I tried unchecking "Hide IP address from trackers" in Safari Preferences on macOS 12.1 and haven't had the issue since.

Original credit: xesvul on https://www.reddit.com/r/MacOS/comments/qna5js/safari_issue_in_monterey/

Cheers.

Request failed with Error Domain=NSPOSIXErrorDomain Code=28 "No space left on device"
 
 
Q