<?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>AWS IoT Core - mqtt_helper connection was unexpectedly closed - Telstra/Simbase</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/114289/aws-iot-core---mqtt_helper-connection-was-unexpectedly-closed---telstra-simbase</link><description>We have an nRF9160 based product with firmware based on your AWS IoT Core example. Our devices are connected to the Telstra CAT-M1 Network in Australia (50501) using Modem Firmware1.3.6. When using a global SIM card from Simbase, we frequently get data</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 27 Aug 2024 08:38:38 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/114289/aws-iot-core---mqtt_helper-connection-was-unexpectedly-closed---telstra-simbase" /><item><title>RE: AWS IoT Core - mqtt_helper connection was unexpectedly closed - Telstra/Simbase</title><link>https://devzone.nordicsemi.com/thread/500218?ContentTypeID=1</link><pubDate>Tue, 27 Aug 2024 08:38:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f0e413da-4ea5-46e5-ab5a-bbb7ea43954f</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Hi Craig, thanks for your patience with this case. I&amp;#39;ve had our modem trace experts have a look at this and it seems it seems that Telstra&amp;nbsp;does not have PSM support for Simbase subscription and all connections are closed when device goes to PSM. I would suggest reaching out to Telstra and ask them.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;In the other two logs with different SIMs the data connections are restored when device wakes up from PSM.&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Øyvind&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: AWS IoT Core - mqtt_helper connection was unexpectedly closed - Telstra/Simbase</title><link>https://devzone.nordicsemi.com/thread/500217?ContentTypeID=1</link><pubDate>Tue, 20 Aug 2024 05:01:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ea6d933f-f63f-43dd-a486-e8e7209bdbe9</guid><dc:creator>Craig12</dc:creator><description>&lt;p&gt;&lt;br /&gt;Øyvind,&lt;br /&gt;&lt;br /&gt;Thanks for you input. I have attached traces for a successful Hologram session, and also a successful Simbase session. With Simbase we generally get a couple of sessions that terminate prematurely with no data flow, and then it comes good. &lt;br /&gt;&lt;br /&gt;I&amp;#39;ve had a look over the wireshark traces myself, and it appears after a reconnection, there is no dataflow from Simbase. I can see the device send a TCP packet to AWS, but there is nothing in return. It retries four times before giving up.&lt;/p&gt;
&lt;p&gt;On successful sessions, there are normally four packets back and forths - with two replies back from AWS (via the Simbase network.)&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t know if that is a unstream issue between the Telstra RAN and Simbase, or something I&amp;#39;m doing wrong. &lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;&lt;br /&gt;Craig&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/Hologram-Success.zip"&gt;devzone.nordicsemi.com/.../Hologram-Success.zip&lt;/a&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/Simbase-Success.zip"&gt;devzone.nordicsemi.com/.../Simbase-Success.zip&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: AWS IoT Core - mqtt_helper connection was unexpectedly closed - Telstra/Simbase</title><link>https://devzone.nordicsemi.com/thread/500216?ContentTypeID=1</link><pubDate>Fri, 16 Aug 2024 12:58:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9a41cc0b-18e0-4903-b8e1-7e5bd72fddc3</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Hello,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;From the initial look at the modem trace it appears that the device is disconnected i.e. connection reset, afterwards the device will timout.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Are there any special&amp;nbsp;Packet Data Networks (PDN) settings that are needed to connect to the network?&amp;nbsp;&lt;/p&gt;
[quote user=""]I note another ticket on DevZone with something similar. When looking at the AT commands, they just happen to be using Simbase on the Telstra Network (50501)[/quote]
&lt;p&gt;It does look similar but I&amp;#39;m not able to tell from my initial look. The DevZone case you referred to does receive ESM 50 -&amp;nbsp;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Cause #50 – PDN type IPv4 only allowed This ESM cause is used by the network to indicate that only PDN type IPv4 is allowed for the requested PDN connectivity.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;There could be an issue with IPv6 vs IPv4. Could you please try setting the following settings in your prj.conf&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;CONFIG_NET_IPV4=y

CONFIG_NET_IPV6=n&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Also, could you please collect a modem trace from the Hologram SIM and/or Telstra home SiM?&lt;/p&gt;
&lt;p&gt;Thanks!&lt;br /&gt;&lt;br /&gt;Kind regards,&lt;br /&gt;Øyvind&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>