NordicSemiconductor / NAT-TestFirmware

Used to test NAT timeouts, sends messages to NAT-TestServer
Other
0 stars 0 forks source link

After timeout firmware keeps sending on closed connection #17

Closed coderbyheart closed 4 years ago

coderbyheart commented 4 years ago

If the server encounters a TCP timeout, it will close the connection. However the device seems to keep sending on this connection, but the server does not receive the messages, so in this case the devices starts the binary search and finally reports the TCP timeout with 0, because the server never replies.

13:15:07 [0a163c9d-10ac-43af-89b7-29417b179bd0] TCP write to 193.181.245.204:40159 failed. Connection terminated. Interval: 300.
[2020-05-18 15:10:06] [00:01:11.717,498] <dbg> lte_lc.parse_nw_reg_status: Network registration status: 5
[2020-05-18 15:10:06] Connected to server with protocol TCP
[2020-05-18 15:10:06] Packet sent: {
[2020-05-18 15:10:06]   "ip":   ["10.81.175.204"],
[2020-05-18 15:10:06]   "op":   "24202",
[2020-05-18 15:10:06]   "cell_id":      34247436,
[2020-05-18 15:10:06]   "ue_mode":      2,
[2020-05-18 15:10:06]   "lte_mode":     1,
[2020-05-18 15:10:06]   "nbiot_mode":   0,
[2020-05-18 15:10:06]   "iccid":        "89450421180216254864",
[2020-05-18 15:10:06]   "imei": "352656100378903",
[2020-05-18 15:10:06]   "interval":     300
[2020-05-18 15:10:06] }
[2020-05-18 15:10:06] Waiting for response...
[2020-05-18 15:11:06] Elapsed time: 60 seconds
[2020-05-18 15:12:06] Elapsed time: 120 seconds
[2020-05-18 15:13:06] Elapsed time: 180 seconds
[2020-05-18 15:14:06] Elapsed time: 240 seconds
[2020-05-18 15:15:06] Elapsed time: 300 seconds
[2020-05-18 15:16:06] No response from server
[2020-05-18 15:16:07] Packet sent: {
[2020-05-18 15:16:07]   "ip":   ["10.81.175.204"],
[2020-05-18 15:16:07]   "op":   "24202",
[2020-05-18 15:16:07]   "cell_id":      34247436,
[2020-05-18 15:16:07]   "ue_mode":      2,
[2020-05-18 15:16:07]   "lte_mode":     1,
[2020-05-18 15:16:07]   "nbiot_mode":   0,
[2020-05-18 15:16:07]   "iccid":        "89450421180216254864",
[2020-05-18 15:16:07]   "imei": "352656100378903",
[2020-05-18 15:16:07]   "interval":     150
[2020-05-18 15:16:07] }
[2020-05-18 15:16:07] Waiting for response...
[2020-05-18 15:17:07] Elapsed time: 60 seconds
[2020-05-18 15:18:07] Elapsed time: 120 seconds
[2020-05-18 15:19:07] No response from server
[2020-05-18 15:19:07] Packet sent: {
[2020-05-18 15:19:07]   "ip":   ["10.81.175.204"],
[2020-05-18 15:19:07]   "op":   "24202",
[2020-05-18 15:19:07]   "cell_id":      34247436,
[2020-05-18 15:19:07]   "ue_mode":      2,
[2020-05-18 15:19:07]   "lte_mode":     1,
[2020-05-18 15:19:07]   "nbiot_mode":   0,
[2020-05-18 15:19:07]   "iccid":        "89450421180216254864",
[2020-05-18 15:19:07]   "imei": "352656100378903",
[2020-05-18 15:19:07]   "interval":     75
[2020-05-18 15:19:07] }
[2020-05-18 15:19:07] Waiting for response...
[2020-05-18 15:20:07] Elapsed time: 60 seconds
[2020-05-18 15:21:07] No response from server
[2020-05-18 15:21:07] Packet sent: {
[2020-05-18 15:21:07]   "ip":   ["10.81.175.204"],
coderbyheart commented 4 years ago

Uh, I deleted the description, added it again now.