<?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>DevAcademy MQTT example not working</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/123171/devacademy-mqtt-example-not-working</link><description>Hello, 
 I&amp;#39;m currently testing the MQTT example from the DevAcademy. I&amp;#39;m using the solution from GitHub and get the follwing errors in the console: I&amp;#39;m using a SIM card from Telekom with a 1GB data plan. Can someone explain me what these errors are? </description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 23 Jul 2025 14:29:48 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/123171/devacademy-mqtt-example-not-working" /><item><title>RE: DevAcademy MQTT example not working</title><link>https://devzone.nordicsemi.com/thread/543378?ContentTypeID=1</link><pubDate>Wed, 23 Jul 2025 14:29:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:67dbbfae-f4be-4747-a8b3-91cd766e518e</guid><dc:creator>fe_lix</dc:creator><description>&lt;p&gt;I&amp;#39;ve found an old Hologram SIM card with some data left. With this card the example is working without problems.&amp;nbsp;The fact is that Telekom&amp;#39;s prepaid cards do not support LTE-M and NB-IoT.&lt;/p&gt;
&lt;p&gt;Thank you very much for your support!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DevAcademy MQTT example not working</title><link>https://devzone.nordicsemi.com/thread/543313?ContentTypeID=1</link><pubDate>Wed, 23 Jul 2025 09:17:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a6f5b239-1271-4556-931f-aef48ed8fe5e</guid><dc:creator>fe_lix</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I called the provider&amp;#39;s customer support and asked if my SIM card supports LTE-M / NB-IoT, but they don&amp;#39;t even know the protocol. I think this is because private customers are not normally interested in such topics.&lt;/p&gt;
&lt;p&gt;I will receive a sim card from Things Mobile in the next few days, so hopefully it should work.&lt;br /&gt;I haven&amp;#39;t changed anything in the source code except for the broker address and the topic.&lt;br /&gt;As soon as the new card arrives, I will post an update here.&lt;/p&gt;
&lt;p&gt;It&amp;#39;s hard to find a provider as a private individual&amp;nbsp;without having a business or working for a company.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DevAcademy MQTT example not working</title><link>https://devzone.nordicsemi.com/thread/543257?ContentTypeID=1</link><pubDate>Tue, 22 Jul 2025 21:11:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d55fa37d-e0f3-47d2-842a-67454ac0d14a</guid><dc:creator>Felipe Dantas</dc:creator><description>&lt;p&gt;Please, verify if your sim card really have data credits and if your mobile operator contract have support to NB-IOT/LTE-M access. Otherwise, let&amp;acute;me know if you&amp;acute;ve beem made some change on code of Devacademy example or if you&amp;acute;re using a custom board or a dk.&lt;br /&gt;&lt;br /&gt;Sim cards for standard phone plans normally don&amp;acute;t work propertly with LPWA networks like as required for nrf9160.&lt;br /&gt;&lt;br /&gt;The most quickly way to verify if you&amp;acute;re connected to internet is just see getaddrinfo() return. If you can&amp;acute;t solve a address like &amp;quot;www.google.com&amp;quot; to &amp;quot;8.8.8.8&amp;quot; it&amp;acute;s means that you don&amp;acute;t have internet connection.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DevAcademy MQTT example not working</title><link>https://devzone.nordicsemi.com/thread/543251?ContentTypeID=1</link><pubDate>Tue, 22 Jul 2025 19:56:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7a3abb51-9492-465d-9221-964abd7a6ff2</guid><dc:creator>fe_lix</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve tried it with &amp;quot;&lt;em&gt;mqtt.nordicsemi.academy&lt;/em&gt;&amp;quot; and &amp;quot;&lt;em&gt;test.mosquitto.org&lt;/em&gt;&amp;quot; and both I can ping and connect to with my MQTT software on the computer. I have the feeling that I can&amp;#39;t get an Internet connection even though I have an LTE connection. How can I test this quickly?&lt;/p&gt;
&lt;p&gt;When I search the web&amp;nbsp;for &amp;ldquo;&lt;em&gt;getaddrinfo failed&lt;/em&gt;&amp;rdquo;, I get information about a DNS error. Could this also be the reason?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DevAcademy MQTT example not working</title><link>https://devzone.nordicsemi.com/thread/543248?ContentTypeID=1</link><pubDate>Tue, 22 Jul 2025 18:11:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4c39c30c-e4e0-4a36-8a86-5352159d29cd</guid><dc:creator>Felipe Dantas</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Seems that the broker of you&amp;acute;re trying to use is offline. See the return of addrinfo funtion: - 11 =&amp;nbsp;&lt;span&gt;Resource temporarily unavailable (See wiki ERRNO table codes).&lt;br /&gt;&lt;br /&gt;My sugest: Try to made&amp;nbsp;a ping test for broker that you&amp;acute;re using and see that&amp;nbsp;it&amp;nbsp;can&amp;nbsp;solve IP of broker address and try use another broker if possible.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>