<?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>Thingy 91 doesn&amp;#39;t resolve server name (where raw IP works)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/104971/thingy-91-doesn-t-resolve-server-name-where-raw-ip-works</link><description>Hello, I have a really big trouble with resolving websites such as &amp;quot;google.com&amp;quot; or &amp;quot;example.com&amp;quot; via getaddrinfo. I carefully followed all the steps in https://academy.nordicsemi.com/courses/cellular-iot-fundamentals/ tutorial and it still doesn&amp;#39;t work</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 25 Oct 2023 12:22:04 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/104971/thingy-91-doesn-t-resolve-server-name-where-raw-ip-works" /><item><title>RE: Thingy 91 doesn't resolve server name (where raw IP works)</title><link>https://devzone.nordicsemi.com/thread/452262?ContentTypeID=1</link><pubDate>Wed, 25 Oct 2023 12:22:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b6c59d87-65ed-4d53-a35b-a33a8c66b136</guid><dc:creator>kuba</dc:creator><description>&lt;p&gt;Well, the solution was pretty stupid. I found out on nRF Cloud that I don&amp;#39;t have remaining data left. It started working, when I bought a data.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Thingy 91 doesn't resolve server name (where raw IP works)</title><link>https://devzone.nordicsemi.com/thread/452108?ContentTypeID=1</link><pubDate>Wed, 25 Oct 2023 01:19:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:97f1fcf4-adf9-49b9-b5f0-2a9f81c06264</guid><dc:creator>kuba</dc:creator><description>&lt;p&gt;The same error ocurrs also on Azure IoT Hub sample and when I try to fetch datetime from NTP server.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Thingy 91 doesn't resolve server name (where raw IP works)</title><link>https://devzone.nordicsemi.com/thread/452091?ContentTypeID=1</link><pubDate>Tue, 24 Oct 2023 21:19:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e5676cae-a25a-419f-b244-0b88c9f24a9d</guid><dc:creator>kuba</dc:creator><description>&lt;p&gt;I managed to get your Zephyr OS build. It still doesn&amp;#39;t work. I flash Thingy 91 by Segger J-Link EDU. &lt;pre class="ui-code" data-mode="text"&gt;*** Booting Zephyr OS build v3.3.99-ncs1-1 ***
[00:00:00.257,965] &amp;lt;inf&amp;gt; Lesson3_Exercise1: Initializing modem library
[00:00:00.500,274] &amp;lt;inf&amp;gt; Lesson3_Exercise1: Connecting to LTE network
[00:00:02.134,033] &amp;lt;inf&amp;gt; Lesson3_Exercise1: RRC mode: Connected
[00:00:04.507,446] &amp;lt;inf&amp;gt; Lesson3_Exercise1: Network registration status: Connected - roaming
[00:00:04.516,815] &amp;lt;inf&amp;gt; Lesson3_Exercise1: Connected to LTE network
[00:00:34.527,221] &amp;lt;inf&amp;gt; Lesson3_Exercise1: ERROR: getaddrinfo failed -11
[00:00:34.534,790] &amp;lt;inf&amp;gt; Lesson3_Exercise1: Failed to resolve server name
[00:00:37.115,692] &amp;lt;inf&amp;gt; Lesson3_Exercise1: RRC mode: Idle&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Thingy 91 doesn't resolve server name (where raw IP works)</title><link>https://devzone.nordicsemi.com/thread/452082?ContentTypeID=1</link><pubDate>Tue, 24 Oct 2023 20:04:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cd9a1aa9-b6fa-44f1-8bd1-59732ae4306f</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;How do you program the Thingy91?&amp;nbsp;Please check&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/device_guides/working_with_nrf/nrf91/thingy91.html#id43"&gt;Program the nRF9160 SiP application&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;If you program the image correctly, it would look like this&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1698177792470v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;-Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Thingy 91 doesn't resolve server name (where raw IP works)</title><link>https://devzone.nordicsemi.com/thread/452075?ContentTypeID=1</link><pubDate>Tue, 24 Oct 2023 19:29:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4573c4f0-2c6a-4c48-a8e9-2ff535ce496f</guid><dc:creator>kuba</dc:creator><description>&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/Code_5F00_B8T4H4gwhv.png" /&gt;&lt;br /&gt;Here is a screenshot from nRF extension for VS code.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Thingy 91 doesn't resolve server name (where raw IP works)</title><link>https://devzone.nordicsemi.com/thread/452074?ContentTypeID=1</link><pubDate>Tue, 24 Oct 2023 19:28:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1c3f6c9d-2884-4961-a39f-b844054a97ce</guid><dc:creator>kuba</dc:creator><description>&lt;p&gt;I deleted a previous build and made another one.&lt;pre class="ui-code" data-mode="text"&gt;*** Booting Zephyr OS build 28a3fca7da5c ***&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;The first line of the log is still the same.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Thingy 91 doesn't resolve server name (where raw IP works)</title><link>https://devzone.nordicsemi.com/thread/452072?ContentTypeID=1</link><pubDate>Tue, 24 Oct 2023 19:21:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:015c9f8b-5ef9-4a70-bb29-27a845e3cbeb</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Your first line of the log is different from mine. Please make sure to flash with the new image.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Thingy 91 doesn't resolve server name (where raw IP works)</title><link>https://devzone.nordicsemi.com/thread/452070?ContentTypeID=1</link><pubDate>Tue, 24 Oct 2023 19:02:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:947b0add-da0f-4c46-b458-d05faa2c6b14</guid><dc:creator>kuba</dc:creator><description>&lt;p&gt;I&amp;#39;ve just tested your project and it results the same. :(&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;*** Booting Zephyr OS build 28a3fca7da5c ***
[00:00:00.253,631] &amp;lt;inf&amp;gt; Lesson3_Exercise1: Initializing modem library
[00:00:00.488,708] &amp;lt;inf&amp;gt; Lesson3_Exercise1: Connecting to LTE network
[00:00:02.714,965] &amp;lt;inf&amp;gt; Lesson3_Exercise1: RRC mode: Connected
[00:00:04.448,486] &amp;lt;inf&amp;gt; Lesson3_Exercise1: Network registration status: Connected - roaming
[00:00:04.448,638] &amp;lt;inf&amp;gt; Lesson3_Exercise1: Connected to LTE network
[00:00:34.450,439] &amp;lt;inf&amp;gt; Lesson3_Exercise1: ERROR: getaddrinfo failed -11
[00:00:34.450,469] &amp;lt;inf&amp;gt; Lesson3_Exercise1: Failed to resolve server name
[00:00:37.056,762] &amp;lt;inf&amp;gt; Lesson3_Exercise1: RRC mode: Idle&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Thingy 91 doesn't resolve server name (where raw IP works)</title><link>https://devzone.nordicsemi.com/thread/452068?ContentTypeID=1</link><pubDate>Tue, 24 Oct 2023 18:53:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dd24fcc9-a530-4a5b-a61b-9ac1c70fa825</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Do you delete the build folder and build again?&lt;/p&gt;
&lt;p&gt;Here is my test project&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/cellfund_5F00_less3_5F00_exer1_5F00_solution_5F00_google.7z"&gt;devzone.nordicsemi.com/.../cellfund_5F00_less3_5F00_exer1_5F00_solution_5F00_google.7z&lt;/a&gt; for NCS v2.4.2.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Beware that this code/configuration is not fully tested or qualified and should be considered provided “as-is”. Please test it with your application and let me know if you find any issues.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;-Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Thingy 91 doesn't resolve server name (where raw IP works)</title><link>https://devzone.nordicsemi.com/thread/452063?ContentTypeID=1</link><pubDate>Tue, 24 Oct 2023 17:49:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0002281f-ff97-452f-b2b8-c1511e00a5e4</guid><dc:creator>kuba</dc:creator><description>&lt;p&gt;Hello, thank you for your response. Unfortunately, an error is still the same. :(&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Thingy 91 doesn't resolve server name (where raw IP works)</title><link>https://devzone.nordicsemi.com/thread/452038?ContentTypeID=1</link><pubDate>Tue, 24 Oct 2023 14:55:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3df260e3-8f5f-4777-9eca-fefe95b4ce7c</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I set the server name and port as&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;#define SERVER_HOSTNAME &amp;quot;www.google.com&amp;quot;
#define SERVER_PORT &amp;quot;465&amp;quot;&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;and it can connect as this log:&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;*** Booting Zephyr OS build v3.3.99-ncs1-1 ***
[00:00:00.289,794] &amp;lt;inf&amp;gt; Lesson3_Exercise1: Initializing modem library
[00:00:00.529,144] &amp;lt;inf&amp;gt; Lesson3_Exercise1: Connecting to LTE network
[00:00:01.583,618] &amp;lt;inf&amp;gt; Lesson3_Exercise1: RRC mode: Connected
[00:00:02.988,800] &amp;lt;inf&amp;gt; Lesson3_Exercise1: Network registration status: Connected - roaming
[00:00:02.988,922] &amp;lt;inf&amp;gt; Lesson3_Exercise1: Connected to LTE network
[00:00:03.110,870] &amp;lt;inf&amp;gt; Lesson3_Exercise1: IPv4 Address found 142.251.40.132
[00:00:03.111,297] &amp;lt;inf&amp;gt; Lesson3_Exercise1: Successfully connected to server
[00:00:03.111,328] &amp;lt;inf&amp;gt; Lesson3_Exercise1: Press button 1 on your DK or Thingy:91 to send your message
[00:00:06.477,966] &amp;lt;inf&amp;gt; Lesson3_Exercise1: RRC mode: Idle&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>