As a rule, CFNetwork internal errors are not caused by something you did, but by an internal problems within CFNetwork. It’s hard to say what’s going on here without a lot more info. To start, can you post the full error? And the OS build you’re seeing it on?
Share and Enjoy — Quinn “The Eskimo!” Apple Developer Relations, Developer Technical Support, Core OS/Hardware let myEmail = "eskimo" + "1" + "@apple.com"