<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Unexpected TCP connection resets on nRF9160</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/113185/unexpected-tcp-connection-resets-on-nrf9160</link><description>We are using modem firmware 1.3.5 on nRF9160. 
 When packet loss is high, we sometimes see connection resets (NRF_ECONNRESET) reported by the modem that don&amp;#39;t seem to be explainable by the packets the server has sent. 
 I have documented such a case in</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 17 Sep 2024 09:05:35 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/113185/unexpected-tcp-connection-resets-on-nrf9160" /><item><title>RE: Unexpected TCP connection resets on nRF9160</title><link>https://devzone.nordicsemi.com/thread/502717?ContentTypeID=1</link><pubDate>Tue, 17 Sep 2024 09:05:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:99cf7a1d-2d08-4ad7-bae5-a88bf4e991a1</guid><dc:creator>Stephan Walter</dc:creator><description>&lt;p&gt;Thank you for your help. As said in the other comments, the RST packets cannot come from the server. We are now suspecting a middleware/firewall that issues these unexpected RST packets.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unexpected TCP connection resets on nRF9160</title><link>https://devzone.nordicsemi.com/thread/496229?ContentTypeID=1</link><pubDate>Tue, 30 Jul 2024 13:22:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1e98d6f3-b42d-4ea4-9af1-bbb38a3674b5</guid><dc:creator>Hakon</dc:creator><description>&lt;p&gt;Modem team;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Proper modem log with default trace set is needed for detailed study.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unexpected TCP connection resets on nRF9160</title><link>https://devzone.nordicsemi.com/thread/495922?ContentTypeID=1</link><pubDate>Mon, 29 Jul 2024 06:13:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1c01b4fb-c9f4-4ff7-b62f-5aad0c52708c</guid><dc:creator>Stephan Walter</dc:creator><description>&lt;p&gt;Hi, the ~5 seconds interval between SYN/ACK and POLLERR is true on the client. But on the server, the RST is sent 21 seconds after the handshake. The POLLERR can therefore not be triggered by the RST packet.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unexpected TCP connection resets on nRF9160</title><link>https://devzone.nordicsemi.com/thread/495792?ContentTypeID=1</link><pubDate>Fri, 26 Jul 2024 10:37:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ccdb4f47-7563-4e9f-b792-9b5380ffbc31</guid><dc:creator>Hakon</dc:creator><description>&lt;p&gt;Modem team;&lt;/p&gt;
&lt;p&gt;Modem trace was taken in such a limited set that it doesn’t help here. Anyway, as customer has analyzed TCP packets are lost during TCP handshake. Due not receiving ACK to SYN ACK server sends TCP RST which causes modem to send Socket closed notification to application. This is causing the error NRF_ECONNRESET. The ~5sec delay between modem data transmission and POLLERR nicely matches to attached picture, where modem TCP traffic is presented. Everything is working as expected.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;[09:00:02,170] INFO - [00:00:03.568,359] &amp;lt;inf&amp;gt; srv_lte: Transition to ON&lt;br /&gt;[09:00:02,464] INFO - [00:00:03.608,032] &amp;lt;inf&amp;gt; srv_lte: State ON&lt;br /&gt;[09:00:02,464] INFO - [00:00:03.680,389] &amp;lt;inf&amp;gt; srv_lte: C:RMOD0 H:0 Wait for registration&lt;br /&gt;[09:00:04,382] INFO - [00:00:05.790,924] &amp;lt;inf&amp;gt; srv_lte: PLMN=22801 ECI=1060502 EARFCN=6300 RSRP=-88dBm RSRQ=-7.5dB SNR=16dB&lt;br /&gt;[09:00:04,616] INFO - [00:00:05.868,072] &amp;lt;inf&amp;gt; srv_lte: C:RMOD0 H:0 Resolve 159.168.140.122:10040&lt;br /&gt;[09:00:04,617] INFO - [00:00:05.871,704] &amp;lt;inf&amp;gt; srv_lte: C:RMOD0 H:0 S:0 Connecting to 159.168.140.122:10040&lt;br /&gt;[09:00:04,617] INFO - [00:00:05.929,199] &amp;lt;inf&amp;gt; srv_lte: C:RMOD0 H:0 S:0 Connected&lt;br /&gt;[09:00:04,617] INFO - [00:00:05.931,152] &amp;lt;inf&amp;gt; srv_lte: C:RMOD0 H:0 S:0 RX thread start&lt;br /&gt;&lt;strong&gt;[09:00:04,617] INFO - [00:00:05.931,396] &amp;lt;inf&amp;gt; srv_lte: C:RMOD0 H:0 S:0 Sending 61 byte(s)&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;[09:00:09,421] INFO - [00:00:10.660,736] &amp;lt;wrn&amp;gt; srv_lte: C:RMOD0 H:0 S:0 POLLERR&lt;/strong&gt;&lt;br /&gt;[09:00:09,421] INFO - [00:00:10.662,506] &amp;lt;inf&amp;gt; srv_lte: C:RMOD0 H:0 S:0 SO_ERROR=104&lt;br /&gt;[09:00:09,421] INFO - [00:00:10.764,099] &amp;lt;inf&amp;gt; srv_lte: Transition to OFF&lt;br /&gt;[09:00:09,421] INFO - [00:00:10.766,113] &amp;lt;inf&amp;gt; srv_lte: C:RMOD0 H:0 S:0 RX thread end&lt;br /&gt;[09:00:11,203] INFO - [00:00:12.395,233] &amp;lt;inf&amp;gt; srv_lte: State OFF&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1721990258285v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unexpected TCP connection resets on nRF9160</title><link>https://devzone.nordicsemi.com/thread/495603?ContentTypeID=1</link><pubDate>Thu, 25 Jul 2024 11:00:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:01b7070b-c48e-453b-9609-647feb570ac0</guid><dc:creator>Hakon</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I have reported this to the modem team.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>