<?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>nrf 91650 DK mqtt-simple - getaddrinfo fails randomly.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/49724/nrf-91650-dk-mqtt-simple---getaddrinfo-fails-randomly</link><description>Hello, 
 I have successfully flashed and run the mqtt-simple example from the nrf samples with the default configuration. 
 If I run it 10 times in a row, the getaddr with &amp;quot;iot.eclipse.org&amp;quot; as input fails on average 4 times. When it works, I successfully</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 18 Jul 2019 08:57:03 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/49724/nrf-91650-dk-mqtt-simple---getaddrinfo-fails-randomly" /><item><title>RE: nrf 91650 DK mqtt-simple - getaddrinfo fails randomly.</title><link>https://devzone.nordicsemi.com/thread/199168?ContentTypeID=1</link><pubDate>Thu, 18 Jul 2019 08:57:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bca80d76-af1a-45f6-8104-8237a84841b8</guid><dc:creator>Bj&amp;#248;rn Kvaale</dc:creator><description>&lt;p&gt;Have you tried the at client example? Are you able to get a stable connection there? Have you tried different SIM cards?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf 91650 DK mqtt-simple - getaddrinfo fails randomly.</title><link>https://devzone.nordicsemi.com/thread/199049?ContentTypeID=1</link><pubDate>Wed, 17 Jul 2019 15:25:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0f085e46-f694-4c8d-9504-f4db99c5b894</guid><dc:creator>publius</dc:creator><description>&lt;p&gt;Hey Bjorn, thanks for the reply.&lt;/p&gt;
&lt;p&gt;I have successfully connected to different brokers, but either way, the error is occurring *before* any mqtt logic. The success of getaddrinfo is (or should be) independent of the mqtt broker.&lt;/p&gt;
&lt;p&gt;My best guess is the lte link request returns prematurely sometimes, before the data session is established or&amp;nbsp; before the routes are configured, leading the application to timeout on network calls.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf 91650 DK mqtt-simple - getaddrinfo fails randomly.</title><link>https://devzone.nordicsemi.com/thread/198360?ContentTypeID=1</link><pubDate>Mon, 15 Jul 2019 09:05:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c981f3c5-0284-4652-9018-8e4fd30653b4</guid><dc:creator>Bj&amp;#248;rn Kvaale</dc:creator><description>&lt;p&gt;In the &lt;a href="http://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.0.0/nrf/samples/nrf9160/mqtt_simple/README.html"&gt;documentation&lt;/a&gt;, it says the following about this example: &amp;quot;&lt;span&gt;Public MQTT brokers might be unstable. If you experience problems connecting to the MQTT broker, try switching to another broker by changing the value of the&amp;nbsp;&lt;/span&gt;&lt;code&gt;&lt;span&gt;MQTT_BROKER_HOSTNAME&lt;/span&gt;&lt;/code&gt;&lt;span&gt;configuration option.&amp;quot; Have you tried with a different mqtt broker?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I have noticed very similar behavior previously too.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>