Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Code=-997 “Lost connection to background transfer service”

Tags:

ios

xcode6

ios8

I have a app making thousands of API Calls giving me JSON data which i save it in coredata using NSURLSession with BackgroundConfiguration.. It works fine , but for certain downloads it gives me [code=-1 "unknown error"] followed by [ Code=-997 "Lost connection to background transfer service" ] errors. I have searched the web for possible solutions but couldn't figure out a solution yet.

like image 537
Mohammed Shahid Avatar asked Sep 29 '22 21:09

Mohammed Shahid


1 Answers

Try to check device logs. You could find crashes of Background Transfer daemon. I found that it may crash if the daemon exceeds 40MB memory limit.

like image 166
Skie Avatar answered Oct 03 '22 07:10

Skie