IOS 11.2.1 Xcode 9.2 BoringSSL SSL_ERROR_ZERO_RETURN (6)

I unexpectedly find this error in my project, where WKWebView displays the page. The page loads as before. But now, when I try to go to another page from this page, I get this 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

This seems to be related to my computer / device, as I have never done this before.

A few things I found said that I need to make sure that I have another related flag set to -ObjC. In addition, the parameter "Allow arbitrary loads" is set to "Yes". Both of them are installed, and the error continues.

The webpage uses TLS 1.2.

+6
source share
1

.

CFNetwork ​​ Foundation s. ( ) CFNETWORK_DIAGNOSTICS.

CFNetwork :

setenv("CFNETWORK_DIAGNOSTICS", "3", 1);

0 3, 0 , . Xcodes. Xcode, CFNetwork ( , View > Debug Area > Show Debug Area).

. main , ++, CFNetwork, .

. Swift main.swift. Swift main.swift; " " , .
* : Swift setenv.

, , , , , .

â†ŗ CFNetwork

+1

All Articles