<?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>[nRF7002 + nRF5340]  aws connection failure, error -11</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/120087/nrf7002-nrf5340-aws-connection-failure-error--11</link><description>SDK version: nRF Connect SDK v2.8.0 Toolchain version: nRF Connect SDK Toolchain v2.8.0 Development environment: Ubuntu 24.04 Development tool: Visual Studio Code Development board: we are using our custom overlay board files. Example refference path</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 03 Apr 2025 12:37:39 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/120087/nrf7002-nrf5340-aws-connection-failure-error--11" /><item><title>RE: [nRF7002 + nRF5340]  aws connection failure, error -11</title><link>https://devzone.nordicsemi.com/thread/530452?ContentTypeID=1</link><pubDate>Thu, 03 Apr 2025 12:37:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e189514d-98b8-4ae2-ae90-2f1017c1f247</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Please contact your provider to check why their LTE module cannot&amp;nbsp;&lt;span&gt;connect to AWS. I am not familiar with their module. &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Maybe you can refer to our LTE module nRF91x config setting in the&amp;nbsp;aws_iot sample&amp;nbsp;&lt;a href="https://github.com/nrfconnect/sdk-nrf/tree/v2.8.0/samples/net/aws_iot/boards"&gt;https://github.com/nrfconnect/sdk-nrf/tree/v2.8.0/samples/net/aws_iot/boards&lt;/a&gt;.&amp;nbsp;Hope they can help.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [nRF7002 + nRF5340]  aws connection failure, error -11</title><link>https://devzone.nordicsemi.com/thread/530373?ContentTypeID=1</link><pubDate>Thu, 03 Apr 2025 07:34:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d67964d8-e395-4ba4-b86f-9b4f71386faa</guid><dc:creator>ViditP</dc:creator><description>&lt;p&gt;&lt;span style="font-family:inherit;"&gt;@&lt;a class="internal-link view-user-profile" href="https://devzone.nordicsemi.com/members/amanda"&gt;Amanda Hsieh&lt;/a&gt;,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:inherit;"&gt;We are using Quectel bg96 module for LTE connection, and we confirmed that LTE connection is being established.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [nRF7002 + nRF5340]  aws connection failure, error -11</title><link>https://devzone.nordicsemi.com/thread/529351?ContentTypeID=1</link><pubDate>Thu, 27 Mar 2025 15:42:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6af4272b-3f50-4b47-bf68-2bb7094eb6ad</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;What is the &lt;span&gt;Cellular module&lt;/span&gt;&amp;nbsp;you are using? Is it nRF9160? Maybe check the LTE connection status.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [nRF7002 + nRF5340]  aws connection failure, error -11</title><link>https://devzone.nordicsemi.com/thread/529052?ContentTypeID=1</link><pubDate>Wed, 26 Mar 2025 12:35:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6a800b2e-8ac8-4190-aea2-c8d345dcb93d</guid><dc:creator>ViditP</dc:creator><description>&lt;p&gt;@&lt;a class="internal-link view-user-profile" href="https://devzone.nordicsemi.com/members/amanda"&gt;Amanda Hsieh&lt;/a&gt;,&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Update :&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;After The suggested change we are able to make a connection to AWS, but still, occasionally getting the same error.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;&amp;lt;err&amp;gt; mqtt_helper: mqtt_connect, error: -11&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Even if the device gets connected to AWS, After the first publish the device hangs.&lt;/p&gt;
&lt;p&gt;Please ask if you need more information.&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [nRF7002 + nRF5340]  aws connection failure, error -11</title><link>https://devzone.nordicsemi.com/thread/528875?ContentTypeID=1</link><pubDate>Tue, 25 Mar 2025 13:56:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a1d88184-6da4-46c3-97ac-279622e6bdac</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;&lt;span&gt;Could you try setting it to 30000?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [nRF7002 + nRF5340]  aws connection failure, error -11</title><link>https://devzone.nordicsemi.com/thread/528810?ContentTypeID=1</link><pubDate>Tue, 25 Mar 2025 11:08:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8116c473-6916-484d-9619-e66998958008</guid><dc:creator>ViditP</dc:creator><description>&lt;p&gt;@&lt;a class="internal-link view-user-profile" href="https://devzone.nordicsemi.com/members/amanda"&gt;Amanda Hsieh&lt;/a&gt;,&lt;/p&gt;
&lt;p&gt;Tested the firmware with updated value of&amp;nbsp;&lt;span&gt;&lt;strong&gt;CONFIG_NET_SOCKETS_CONNECT_TIMEOUT&lt;/strong&gt; to &lt;strong&gt;5000&lt;/strong&gt;, still facing the same error.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;pre class="ui-code" data-mode="text"&gt;&amp;lt;err&amp;gt; mqtt_helper: mqtt_connect, error: -11&lt;/pre&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thanks.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [nRF7002 + nRF5340]  aws connection failure, error -11</title><link>https://devzone.nordicsemi.com/thread/528686?ContentTypeID=1</link><pubDate>Mon, 24 Mar 2025 16:24:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e0250af9-fdec-466a-8961-18ee57900615</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;a href="https://github.com/nrfconnect/sdk-zephyr/blob/v3.6.99-ncs2/lib/libc/armstdc/include/errno.h#L60"&gt;-11 is EAGAIN&lt;/a&gt;. That means the connection timed out.&amp;nbsp;You could&amp;nbsp;&lt;/span&gt;&lt;span&gt;try to increase &lt;code&gt;CONFIG_NET_SOCKETS_CONNECT_TIMEOUT&lt;/code&gt;&lt;/span&gt;, which defaults to 3000 milliseconds in our samples.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Regards,&lt;span&gt;&lt;br /&gt;Amanda H.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>