Alamofire and SSL_ERROR_ZERO_RETURN(6)

Xcode 9.2 - Swift 4 - Alamofire 4.6.0 - PHP7 - AWS Beanstalk


I'm using Alamofire to get data from a php API in my xcode project.


I'm only getting part of the response back, ie 3 posts rather than 10, and I consistently get the following error.


[BoringSSL] Function boringssl_session_errorlog: line 2871 [boringssl_session_read] SSL_ERROR_ZERO_RETURN(6): operation failed because the connection was cleanly shut down with a close_notify alert


I've searched Stack and AppleDev for a solution, but so far nothing.


Anybody ever seen or solved this problem before???

Replies

have you searched for BoringSSL in this forum ? There are several posts related to this.

hahaha, yeah...the general consensus is that nobody knows how to solve it


https://forums.developer.apple.com/message/288445#288445


https://forums.developer.apple.com/message/284860#284860


https://forums.developer.apple.com/message/288675#288675


Really appreciate your response though…very helpful!

the general consensus is that nobody knows how to solve it

I disagree. What’s happening here is that this log message relates to a common scenario that may or may not be correlated to any actual problem. In your specific case, I’m almost certain that it’s not related to the problem you’re seeing, as I explained in one of the threads you referenced.

Share and Enjoy

Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

let myEmail = "eskimo" + "1" + "@apple.com"