<?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 Asset Tracker v2: nrfcloud not connecting</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/84432/thingy-91-asset-tracker-v2-nrfcloud-not-connecting</link><description>Hello, 
 I have been trying to get the thingy:91 up for 3 weeks or more now from Sri Lanka. I have made a lot of progress in getting data connectivity via MQTT to thethings.io successfully. But I still cant get the data connectivity to the nrfcloud. I</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 16 Feb 2022 08:29:28 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/84432/thingy-91-asset-tracker-v2-nrfcloud-not-connecting" /><item><title>RE: Thingy:91 Asset Tracker v2: nrfcloud not connecting</title><link>https://devzone.nordicsemi.com/thread/353270?ContentTypeID=1</link><pubDate>Wed, 16 Feb 2022 08:29:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6fef6160-8f5c-4bf1-8fce-d08296ca7220</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Could you send me a private message with your address + phone number, so I can ship a replacement device to you?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Thingy:91 Asset Tracker v2: nrfcloud not connecting</title><link>https://devzone.nordicsemi.com/thread/353022?ContentTypeID=1</link><pubDate>Tue, 15 Feb 2022 08:28:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4c89cc6c-1dc4-45d3-9463-15cc8f242e70</guid><dc:creator>beshan</dc:creator><description>&lt;p&gt;Yes, I tried multiple USB cables and multiply PCs. Same result, doesnt turn on.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Thingy:91 Asset Tracker v2: nrfcloud not connecting</title><link>https://devzone.nordicsemi.com/thread/353019?ContentTypeID=1</link><pubDate>Tue, 15 Feb 2022 07:47:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:42f91301-ab5d-4e32-aba7-d5b5f8a24f01</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Does the same behavior occur if you change the usb cable, and/or test with another PC?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Thingy:91 Asset Tracker v2: nrfcloud not connecting</title><link>https://devzone.nordicsemi.com/thread/352781?ContentTypeID=1</link><pubDate>Sun, 13 Feb 2022 13:27:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:22d1c440-3ba8-4b95-acf1-d7de0d74ec32</guid><dc:creator>beshan</dc:creator><description>&lt;p&gt;Thank you for the lengthy reply. Sadly my Thingy91 doesn&amp;#39;t get recognized anymore. When I plug in with the USB and turn it on, the serial port doesn&amp;#39;t open, Nordic Desktop doesn&amp;#39;t see it. I have verified that the switch and the voltages from USB and Battery work, but the 1v8 and 3v3 rails are showing zero. It was working fine and I was running an experiment debugging MQTT when it just suddenly stopped working. Any way I can get it to boot again or debug any hardware failures ?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Thingy:91 Asset Tracker v2: nrfcloud not connecting</title><link>https://devzone.nordicsemi.com/thread/352065?ContentTypeID=1</link><pubDate>Wed, 09 Feb 2022 12:37:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6259884d-5d65-492a-ac88-eb6b6729a2e0</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I think you&amp;#39;re mixing different ways of fetching the certificates for your device.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The below is essentially these two guides:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/ug_nrf91_dk_gsg/UG/nrf91_DK_gsg/downloading_certificate.html?cp=2_0_4_2_3_0"&gt;https://infocenter.nordicsemi.com/topic/ug_nrf91_dk_gsg/UG/nrf91_DK_gsg/downloading_certificate.html?cp=2_0_4_2_3_0&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/ug_nrf91_dk_gsg/UG/nrf91_DK_gsg/provisioning_certificate.html?cp=2_0_4_2_3_1"&gt;https://infocenter.nordicsemi.com/topic/ug_nrf91_dk_gsg/UG/nrf91_DK_gsg/provisioning_certificate.html?cp=2_0_4_2_3_1&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If you log in to your nrfcloud account, then navigate to:&lt;/p&gt;
&lt;p&gt;* Device Management -&amp;gt; provision devices&lt;/p&gt;
&lt;p&gt;Then you click on the cog-wheel and press &amp;quot;generate JITP certificates&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1644409711315v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Then input your details on the back of the thingy91&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Now it should provide you with a nrf-&amp;lt;&amp;gt;.cert.json file which you&amp;nbsp;can load in the LTE Link Monitor -&amp;gt; Certificate Manager part:&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1644409881098v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Be sure to first place the device in flight mode (AT+CFUN=4) before clicking &amp;quot;update certificates&amp;quot;.&lt;/p&gt;
&lt;p&gt;Go back to the &amp;quot;terminal&amp;quot; tab to see that the certificates were loaded correctly, ie. modem returned &amp;quot;OK&amp;quot; for each.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Note: if you already have certs loaded on this sec_tag, you have to first check &amp;quot;delete&amp;quot;.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Now, reset your device, it should try to connect and this should be present in the serial output:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;...
[00:00:06.266,784] [1;31m&amp;lt;err&amp;gt; nrf_cloud_transport: MQTT input error: -128
[00:00:06.273,803] [1;31m&amp;lt;err&amp;gt; nrf_cloud_transport: Error disconnecting from cloud: -128
...&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Now you click the large + sign in nrfcloud frontend, upper left corner, and input the imei + pin:&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1644410097698v3.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;When the device tries to reconnect now, it should successfully connect to nrfcloud and show data similar to this:&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1644410158637v4.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Could you try this and see if it connects properly now?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Thingy:91 Asset Tracker v2: nrfcloud not connecting</title><link>https://devzone.nordicsemi.com/thread/351601?ContentTypeID=1</link><pubDate>Mon, 07 Feb 2022 15:17:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:74013f55-a044-447c-9d9f-aa5c4818a0ff</guid><dc:creator>beshan</dc:creator><description>&lt;p&gt;Same result with the following two set via the Config NRF Menu in Segger. Does not connect. Any extra logs that I can enable to see why the connection is refused ?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;CONFIG_PDN=y&lt;br /&gt;CONFIG_PDN_LEGACY_PCO=y&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Thingy:91 Asset Tracker v2: nrfcloud not connecting</title><link>https://devzone.nordicsemi.com/thread/351573?ContentTypeID=1</link><pubDate>Mon, 07 Feb 2022 14:23:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:97734b09-0e94-4726-b43b-ab296b032bf6</guid><dc:creator>beshan</dc:creator><description>&lt;p&gt;Thank you for your reply, really appreciate it. Please see attached log file from reset onwards. I will try the PCO now and report back as soon as I am done.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/2022_2D00_02_2D00_07T13_5F00_56_5F00_01.373Z_2D00_log_2D00_send2.txt"&gt;devzone.nordicsemi.com/.../2022_2D00_02_2D00_07T13_5F00_56_5F00_01.373Z_2D00_log_2D00_send2.txt&lt;/a&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Thingy:91 Asset Tracker v2: nrfcloud not connecting</title><link>https://devzone.nordicsemi.com/thread/351552?ContentTypeID=1</link><pubDate>Mon, 07 Feb 2022 13:31:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:39a42977-31ff-4766-b04b-3abe0993582d</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Based on the timestamps, your firmware has been running for quite some time. How does the initial log look like from reset?&lt;/p&gt;
&lt;p&gt;Based on the CESQ behavior, it seems that the initial connection to the cloud server is refused/disconnected, but it is hard to say without looking at the full log.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user=""]I recompiled the Asset Tracker V2&amp;nbsp; with nbiot, and changed the URL to an IP address as the DNS translation is not working with my operator. Not sure why that is, but that needs further debug assistance. But for now I put this &lt;span style="background-color:rgba(51, 102, 255, 1);"&gt;IP :&amp;nbsp;34.193.110.244&lt;/span&gt;. Is that the correct IP address ? Is that acceptable to change the URL to an IP ?&amp;nbsp;[/quote]
&lt;p&gt;Yes, this is one of the IPs to the nrf cloud aws.&lt;/p&gt;
&lt;p&gt;Have you tried to use legacy PCO and see if DNS is then provided?&lt;/p&gt;
&lt;p&gt;This is done by setting these configurations:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;CONFIG_PDN=y
CONFIG_PDN_LEGACY_PCO=y&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>