<?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 Cloud Disconnection</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/81578/aws-cloud-disconnection</link><description>We have been testing our application which is adapted from asset tracker v2 and we noticed that the LTE connection sometimes drops momentarily which causes a cloud disconnect. LTE reconnects fine, but the cloud connection often gets stuck attempting to</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 11 Nov 2021 09:11:06 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/81578/aws-cloud-disconnection" /><item><title>RE: AWS Cloud Disconnection</title><link>https://devzone.nordicsemi.com/thread/338497?ContentTypeID=1</link><pubDate>Thu, 11 Nov 2021 09:11:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:41dc28fd-8ab6-4983-860f-bdc75550fc3e</guid><dc:creator>Albrecht Markus Schellenberger</dc:creator><description>&lt;p&gt;Hello Daniel,&lt;/p&gt;
[quote user=""]Is this a known issue?&amp;nbsp;[/quote]
&lt;p lang="en-GB"&gt;I discussed this with our software development team and got the following feedback:&lt;/p&gt;
&lt;p lang="en-GB"&gt;&lt;/p&gt;
&lt;p lang="en-GB"&gt;&lt;em&gt;Its likely that the internal connection thread in the AWS library hangs on the internal MQTT socket (on poll). This can occur if the underlying MQTT library closes the socket while the connection thread in AWS still polls on the socket. The problem usually goes away when the timeout on poll (defaults to the MQTT keepalive time) expires (breaking out of poll). After this, subsequent connection attempts should succeed. For AWS, this timeout defaults to 1200 seconds.&lt;/em&gt;&lt;/p&gt;
&lt;p lang="en-GB"&gt;&lt;/p&gt;
&lt;p lang="en-GB"&gt;Do you have to perform a reset even after MQTT keepalive timeout?&lt;/p&gt;
&lt;p lang="en-GB"&gt;&lt;/p&gt;
&lt;p lang="en-GB"&gt;Regards,&lt;/p&gt;
&lt;p lang="en-GB"&gt;Markus&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>