RN0.32 Xcode8 ios10 错误

#1
TCP_CONNECTION_EVENT_DISCONNECTED in response to state failed and error Error Domain=kNWErrorDomainP



tcp_connection_create_with_endpoint_and_parameters 351 localhost 8097
tcp_connection_set_usage_model 351 setting usage model to 1
 tcp_connection_start 351 starting
[] nw_connection_create creating connection to localhost:8097
tcp_connection_start starting tc_nwconn=0x7fc74af06c30
__nw_connection_start_block_invoke 351 starting
2016-10-26 14:38:48.140570 HL_LY_APP_RN[796:9346] [] nw_endpoint_handler_start [351 localhost:8097 initial path (null)]
2016-10-26 14:38:48.141033 HL_LY_APP_RN[796:9346] [] nw_connection_endpoint_report [351 localhost:8097 initial path (null)] reported event path:start
2016-10-26 14:38:48.141547 HL_LY_APP_RN[796:9346] [] nw_endpoint_handler_path_change [351 localhost:8097 waiting path (satisfied)]
2016-10-26 14:38:48.141905 HL_LY_APP_RN[796:9346] [] nw_connection_endpoint_report [351 localhost:8097 waiting path (satisfied)] reported event path:satisfied
2016-10-26 14:38:48.142240 HL_LY_APP_RN[796:9346] [] nw_connection_endpoint_report [351 localhost:8097 waiting path (satisfied)] skipping state update
2016-10-26 14:38:48.142637 HL_LY_APP_RN[796:9346] [] -[NWConcrete_nw_endpoint_resolver startWithHandler:] [351 localhost:8097 waiting resolver (satisfied)]
2016-10-26 14:38:48.142962 HL_LY_APP_RN[796:9346] [] nw_connection_endpoint_report [351 localhost:8097 in_progress resolver (satisfied)] reported event resolver:start_dns
2016-10-26 14:38:48.143625 HL_LY_APP_RN[796:9346] [] nw_resolver_create_dns_service_on_queue Starting host resolution localhost:8097, flags 0x4000d000
2016-10-26 14:38:48.144083 HL_LY_APP_RN[796:9346] [] nw_resolver_host_resolve_callback flags=0x3 ifindex=4294967295 error=NoError(0) hostname=localhost. addr=::1.0 ttl=1
2016-10-26 14:38:48.144487 HL_LY_APP_RN[796:9346] [] nw_resolver_host_resolve_callback flags=0x2 ifindex=4294967295 error=NoError(0) hostname=localhost. addr=127.0.0.1:0 ttl=1
2016-10-26 14:38:48.144937 HL_LY_APP_RN[796:9346] [] sa_dst_compare_statistics no preference, equal min rtt 0.218750
2016-10-26 14:38:48.145301 HL_LY_APP_RN[796:9346] [] sa_dst_compare_rfc6724 Rule 6, prefer d2, d2 precedence 50 > d1 precedence 35
2016-10-26 14:38:48.145564 HL_LY_APP_RN[796:9346] [] sa_dst_compare_internal 127.0.0.1:8097@0 < ::1.8097@0
2016-10-26 14:38:48.146061 HL_LY_APP_RN[796:10716] [] nw_endpoint_resolver_update [351 localhost:8097 in_progress resolver (satisfied)] resolver is complete
2016-10-26 14:38:48.146328 HL_LY_APP_RN[796:10716] [] nw_endpoint_resolver_update [351 localhost:8097 in_progress resolver (satisfied)] Adding endpoint handler for ::1.8097
2016-10-26 14:38:48.146745 HL_LY_APP_RN[796:10716] [] nw_endpoint_resolver_update [351 localhost:8097 in_progress resolver (satisfied)] Adding endpoint handler for 127.0.0.1:8097
2016-10-26 14:38:48.147115 HL_LY_APP_RN[796:10716] [] nw_endpoint_resolver_update [351 localhost:8097 in_progress resolver (satisfied)] Updated endpoint list is (::1.8097,127.0.0.1:8097)
2016-10-26 14:38:48.147433 HL_LY_APP_RN[796:10716] [] nw_connection_endpoint_report [351 localhost:8097 in_progress resolver (satisfied)] reported event resolver:receive_dns
2016-10-26 14:38:48.147764 HL_LY_APP_RN[796:10716] [] nw_endpoint_resolver_start_next_child [351 localhost:8097 in_progress resolver (satisfied)] starting child endpoint ::1.8097
2016-10-26 14:38:48.148162 HL_LY_APP_RN[796:10716] [] nw_endpoint_resolver_start_next_child [351 localhost:8097 in_progress resolver (satisfied)] starting next child endpoint in 100ms
2016-10-26 14:38:48.148530 HL_LY_APP_RN[796:10716] [] nw_endpoint_handler_start [351.1 ::1.8097 initial path (null)]
2016-10-26 14:38:48.148783 HL_LY_APP_RN[796:10716] [] nw_endpoint_resolver_receive_report [351 localhost:8097 in_progress resolver (satisfied)] received child report:[351.1 ::1.8097 initial path (null)]
2016-10-26 14:38:48.149217 HL_LY_APP_RN[796:10716] [] nw_connection_endpoint_report [351.1 ::1.8097 initial path (null)] reported event path:start
2016-10-26 14:38:48.149597 HL_LY_APP_RN[796:10716] [] nw_endpoint_handler_path_change [351.1 ::1.8097 waiting path (satisfied)]
2016-10-26 14:38:48.149819 HL_LY_APP_RN[796:10716] [] nw_endpoint_resolver_receive_report [351 localhost:8097 in_progress resolver (satisfied)] received child report:[351.1 ::1.8097 waiting path (satisfied)]
2016-10-26 14:38:48.150200 HL_LY_APP_RN[796:10716] [] nw_connection_endpoint_report [351.1 ::1.8097 waiting path (satisfied)] reported event path:satisfied
2016-10-26 14:38:48.150537 HL_LY_APP_RN[796:10716] [] -[NWConcrete_nw_endpoint_flow startWithHandler:] [351.1 ::1.8097 waiting socket-flow (satisfied)]
2016-10-26 14:38:48.150767 HL_LY_APP_RN[796:10716] [] nw_endpoint_flow_setup_socket [351.1 ::1.8097 in_progress socket-flow (satisfied)] creating socket
2016-10-26 14:38:48.151111 HL_LY_APP_RN[796:10716] [] nw_endpoint_flow_attach_protocols [351.1 ::1.8097 in_progress socket-flow (satisfied)]
2016-10-26 14:38:48.151444 HL_LY_APP_RN[796:10716] [] nw_endpoint_flow_attach_protocols [351.1 ::1.8097 in_progress socket-flow (satisfied)] Attached flow protocol
2016-10-26 14:38:48.151832 HL_LY_APP_RN[796:10716] [] nw_endpoint_resolver_receive_report [351 localhost:8097 in_progress resolver (satisfied)] received child report:[351.1 ::1.8097 in_progress socket-flow (satisfied)]
2016-10-26 14:38:48.152155 HL_LY_APP_RN[796:10716] [] nw_connection_endpoint_report [351.1 ::1.8097 in_progress socket-flow (satisfied)] reported event flow:start_connect
2016-10-26 14:38:48.152537 HL_LY_APP_RN[796:10716] [] nw_socket_handle_socket_event Event mask: 0x1007
2016-10-26 14:38:48.152746 HL_LY_APP_RN[796:10716] [] nw_socket_handle_socket_event Socket received CONNRESET event
2016-10-26 14:38:48.153112 HL_LY_APP_RN[796:10716] [] nw_socket_handle_socket_event Socket received DISCONNECTED event
2016-10-26 14:38:48.153417 HL_LY_APP_RN[796:10716] [] nw_endpoint_flow_protocol_error [351.1 ::1.8097 in_progress socket-flow (satisfied)] Socket protocol sent error: [61] Connection refused
2016-10-26 14:38:48.153733 HL_LY_APP_RN[796:10716] [] nw_endpoint_flow_protocol_disconnected [351.1 ::1.8097 in_progress socket-flow (satisfied)] Output protocol disconnected
2016-10-26 14:38:48.154035 HL_LY_APP_RN[796:10716] [] nw_endpoint_resolver_receive_report [351 localhost:8097 in_progress resolver (satisfied)] received child report:[351.1 ::1.8097 failed socket-flow (satisfied)]
2016-10-26 14:38:48.154405 HL_LY_APP_RN[796:10716] [] nw_connection_endpoint_report [351.1 ::1.8097 failed socket-flow (satisfied)] reported event flow:failed_connect, error Error Domain=kNWErrorDomainPOSIX Code=61 "Connection refused" UserInfo={NSDescription=Connection refused}
2016-10-26 14:38:48.154626 HL_LY_APP_RN[796:10716] [] nw_endpoint_resolver_receive_report [351 localhost:8097 in_progress resolver (satisfied)] all started children failed, start next child.
2016-10-26 14:38:48.155140 HL_LY_APP_RN[796:10716] [] nw_endpoint_resolver_start_next_child [351 localhost:8097 in_progress resolver (satisfied)] starting child endpoint 127.0.0.1:8097
2016-10-26 14:38:48.155567 HL_LY_APP_RN[796:10716] [] nw_endpoint_resolver_start_next_child [351 localhost:8097 in_progress resolver (satisfied)] starting next child endpoint in 100ms
2016-10-26 14:38:48.155867 HL_LY_APP_RN[796:10716] [] nw_endpoint_handler_start [351.2 127.0.0.1:8097 initial path (null)]
2016-10-26 14:38:48.156207 HL_LY_APP_RN[796:10716] [] nw_endpoint_resolver_receive_report [351 localhost:8097 in_progress resolver (satisfied)] received child report:[351.2 127.0.0.1:8097 initial path (null)]
2016-10-26 14:38:48.156444 HL_LY_APP_RN[796:10716] [] nw_connection_endpoint_report [351.2 127.0.0.1:8097 initial path (null)] reported event path:start
2016-10-26 14:38:48.156966 HL_LY_APP_RN[796:10716] [] nw_endpoint_handler_path_change [351.2 127.0.0.1:8097 waiting path (satisfied)]
2016-10-26 14:38:48.157192 HL_LY_APP_RN[796:10716] [] nw_endpoint_resolver_receive_report [351 localhost:8097 in_progress resolver (satisfied)] received child report:[351.2 127.0.0.1:8097 waiting path (satisfied)]
2016-10-26 14:38:48.157513 HL_LY_APP_RN[796:10716] [] nw_connection_endpoint_report [351.2 127.0.0.1:8097 waiting path (satisfied)] reported event path:satisfied
2016-10-26 14:38:48.157870 HL_LY_APP_RN[796:10716] [] -[NWConcrete_nw_endpoint_flow startWithHandler:] [351.2 127.0.0.1:8097 waiting socket-flow (satisfied)]
2016-10-26 14:38:48.158197 HL_LY_APP_RN[796:10716] [] nw_endpoint_flow_setup_socket [351.2 127.0.0.1:8097 in_progress socket-flow (satisfied)] creating socket
2016-10-26 14:38:48.158491 HL_LY_APP_RN[796:10716] [] nw_endpoint_flow_attach_protocols [351.2 127.0.0.1:8097 in_progress socket-flow (satisfied)]
2016-10-26 14:38:48.158801 HL_LY_APP_RN[796:10716] [] nw_endpoint_flow_attach_protocols [351.2 127.0.0.1:8097 in_progress socket-flow (satisfied)] Attached flow protocol
2016-10-26 14:38:48.159134 HL_LY_APP_RN[796:10716] [] nw_endpoint_resolver_receive_report [351 localhost:8097 in_progress resolver (satisfied)] received child report:[351.2 127.0.0.1:8097 in_progress socket-flow (satisfied)]
2016-10-26 14:38:48.159361 HL_LY_APP_RN[796:10716] [] nw_connection_endpoint_report [351.2 127.0.0.1:8097 in_progress socket-flow (satisfied)] reported event flow:start_connect
2016-10-26 14:38:48.159939 HL_LY_APP_RN[796:10716] [] nw_socket_handle_socket_event Event mask: 0x1007
2016-10-26 14:38:48.160162 HL_LY_APP_RN[796:10716] [] nw_socket_handle_socket_event Socket received CONNRESET event
2016-10-26 14:38:48.160594 HL_LY_APP_RN[796:10716] [] nw_socket_handle_socket_event Socket received DISCONNECTED event
2016-10-26 14:38:48.160898 HL_LY_APP_RN[796:10716] [] nw_endpoint_flow_protocol_error [351.2 127.0.0.1:8097 in_progress socket-flow (satisfied)] Socket protocol sent error: [61] Connection refused
2016-10-26 14:38:48.161203 HL_LY_APP_RN[796:10716] [] nw_endpoint_flow_protocol_disconnected [351.2 127.0.0.1:8097 in_progress socket-flow (satisfied)] Output protocol disconnected
2016-10-26 14:38:48.161529 HL_LY_APP_RN[796:10716] [] nw_endpoint_resolver_receive_report [351 localhost:8097 in_progress resolver (satisfied)] received child report:[351.2 127.0.0.1:8097 failed socket-flow (satisfied)]
2016-10-26 14:38:48.161898 HL_LY_APP_RN[796:10716] [] nw_connection_endpoint_report [351.2 127.0.0.1:8097 failed socket-flow (satisfied)] reported event flow:failed_connect, error Error Domain=kNWErrorDomainPOSIX Code=61 "Connection refused" UserInfo={NSDescription=Connection refused}
2016-10-26 14:38:48.162186 HL_LY_APP_RN[796:10716] [] nw_endpoint_resolver_receive_report [351 localhost:8097 in_progress resolver (satisfied)] all children failed
2016-10-26 14:38:48.162478 HL_LY_APP_RN[796:10716] [] nw_connection_endpoint_report [351 localhost:8097 failed resolver (satisfied)] reported event resolver:children_failed
2016-10-26 14:38:48.162891 HL_LY_APP_RN[796:10716] [] __tcp_connection_start_block_invoke 351 sending event TCP_CONNECTION_EVENT_DISCONNECTED in response to state failed and error Error Domain=kNWErrorDomainPOSIX Code=61 "Connection refused" UserInfo={NSDescription=Connection refused}
2016-10-26 14:38:48.163191 HL_LY_APP_RN[796:10716] [] tcp_connection_event_notify 351 event: TCP_CONNECTION_EVENT_DISCONNECTED, reason: nw_connection event, should deliver: true
2016-10-26 14:38:48.163565 HL_LY_APP_RN[796:10716] [] __nw_connection_get_connected_socket_block_invoke 351 Connection has no connected handler
2016-10-26 14:38:48.163911 HL_LY_APP_RN[796:10716] [] tcp_connection_get_socket 351 dupfd: -1, takeownership: true
2016-10-26 14:38:48.164513 HL_LY_APP_RN[796:10716] [] tcp_connection_cancel 351
2016-10-26 14:38:48.165301 HL_LY_APP_RN[796:10716] [] nw_endpoint_handler_cancel [351 localhost:8097 failed resolver (satisfied)]
2016-10-26 14:38:48.166011 HL_LY_APP_RN[796:10716] [] nw_endpoint_handler_cancel [351.1 ::1.8097 failed socket-flow (satisfied)]
2016-10-26 14:38:48.167043 HL_LY_APP_RN[796:10716] [] nw_endpoint_handler_cancel [351.2 127.0.0.1:8097 failed socket-flow (satisfied)]
2016-10-26 14:38:48.167715 HL_LY_APP_RN[796:10716] [] nw_resolver_cancel_on_queue 0x6080001080d0
2016-10-26 14:38:48.168054 HL_LY_APP_RN[796:10716] [] -[NWConcrete_tcp_connection dealloc] 351

每一秒 刷新一次的错误