Getting this same issue when run the app in iPhone device. But works very well in Simulator. Any clue about this issue.
My device has support simcard and wifi. While i am running the app, simcard is not available in the iphone.
What could be the issue. I am getting this issue frequently .
LISTEN CALLED
Command->Connecting to socket server... port 2000
Data->Connecting to socket server... port 3000
Data->Connected to host: 10.10.10.1 and port 3000
Setting default baud...
Command->Transmit: set uart.baud 0 9600
Command->Transmit: uart_update 0
Command->Transmit: get uart.baud 0
2022-06-07 13:54:24.160400+0530 AppPoC[615:37495] [connection] nw_connection_copy_connected_path [C1] Client called nw_connection_copy_connected_path on unconnected nw_connection
2022-06-07 13:54:24.161216+0530 AppPoC[615:37495] [] tcp_connection_is_cellular No connected path
Command->Connected to host: 10.10.10.1 and port 2000
2022-06-07 13:54:25.759413+0530 AppPoC[615:37495] [connection] nw_connection_copy_connected_path [C2] Client called nw_connection_copy_connected_path on unconnected nw_connection
2022-06-07 13:54:25.759610+0530 AppPoC[615:37495] [] tcp_connection_is_cellular No connected path
2022-06-07 13:54:30.939380+0530 AppPoC[615:37475] [connection] nw_socket_handle_socket_event [C2:1] Socket SO_ERROR [54: Connection reset by peer]
Command->Socket disconnect with error: Optional(Error Domain=GCDAsyncSocketErrorDomain Code=7 "Socket closed by remote peer" UserInfo={NSLocalizedDescription=Socket closed by remote peer})
Command->Connecting to socket server... port 2000
Command->Connected to host: 10.10.10.1 and port 2000
2022-06-07 13:54:30.954366+0530 AppPoC[615:37495] [connection] nw_connection_copy_connected_path [C3] Client called nw_connection_copy_connected_path on unconnected nw_connection
2022-06-07 13:54:30.954626+0530 AppPoC[615:37495] [] tcp_connection_is_cellular No connected path
Command->Socket disconnect with error: Optional(Error Domain=GCDAsyncSocketErrorDomain Code=7 "Socket closed by remote peer" UserInfo={NSLocalizedDescription=Socket closed by remote peer})
Command->Connecting to socket server... port 2000
Command->Connected to host: 10.10.10.1 and port 2000
2022-06-07 13:59:31.063580+0530 AppPoC[615:37495] [connection] nw_connection_copy_connected_path [C4] Client called nw_connection_copy_connected_path on unconnected nw_connection
2022-06-07 13:59:31.063830+0530 AppPoC[615:37495] [] tcp_connection_is_cellular No connected path
Getting this same issue when run the app in iPhone device. But works very well in Simulator. Any clue about this issue. My device has support simcard and wifi. While i am running the app, simcard is not available in the iphone. What could be the issue. I am getting this issue frequently .
LISTEN CALLED Command->Connecting to socket server... port 2000 Data->Connecting to socket server... port 3000 Data->Connected to host: 10.10.10.1 and port 3000 Setting default baud... Command->Transmit: set uart.baud 0 9600
Command->Transmit: uart_update 0
Command->Transmit: get uart.baud 0
2022-06-07 13:54:24.160400+0530 AppPoC[615:37495] [connection] nw_connection_copy_connected_path [C1] Client called nw_connection_copy_connected_path on unconnected nw_connection 2022-06-07 13:54:24.161216+0530 AppPoC[615:37495] [] tcp_connection_is_cellular No connected path Command->Connected to host: 10.10.10.1 and port 2000 2022-06-07 13:54:25.759413+0530 AppPoC[615:37495] [connection] nw_connection_copy_connected_path [C2] Client called nw_connection_copy_connected_path on unconnected nw_connection 2022-06-07 13:54:25.759610+0530 AppPoC[615:37495] [] tcp_connection_is_cellular No connected path 2022-06-07 13:54:30.939380+0530 AppPoC[615:37475] [connection] nw_socket_handle_socket_event [C2:1] Socket SO_ERROR [54: Connection reset by peer] Command->Socket disconnect with error: Optional(Error Domain=GCDAsyncSocketErrorDomain Code=7 "Socket closed by remote peer" UserInfo={NSLocalizedDescription=Socket closed by remote peer}) Command->Connecting to socket server... port 2000 Command->Connected to host: 10.10.10.1 and port 2000 2022-06-07 13:54:30.954366+0530 AppPoC[615:37495] [connection] nw_connection_copy_connected_path [C3] Client called nw_connection_copy_connected_path on unconnected nw_connection 2022-06-07 13:54:30.954626+0530 AppPoC[615:37495] [] tcp_connection_is_cellular No connected path