<?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>CLOUD_EVT_ERROR in nrf_cloud_agps</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/62990/cloud_evt_error-in-nrf_cloud_agps</link><description>&amp;lt;environment&amp;gt; - Windows10 - nrf v1.3.0 - modem v1.2.0 - DK 0.9.0 
 I get &amp;quot;CLOUD_EVT_ERROR&amp;quot; when using nrf_cloud_agps. There is an error saying &amp;quot;Connection was closed, possibly by cloud&amp;quot;. 
 I read this page https://developer.nordicsemi.com/nRF_Connect_SDK</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 30 Jun 2020 12:26:20 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/62990/cloud_evt_error-in-nrf_cloud_agps" /><item><title>RE: CLOUD_EVT_ERROR in nrf_cloud_agps</title><link>https://devzone.nordicsemi.com/thread/257579?ContentTypeID=1</link><pubDate>Tue, 30 Jun 2020 12:26:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:342d8318-3495-4e3f-8d3a-42bae36af232</guid><dc:creator>Yusuke</dc:creator><description>&lt;p&gt;Yes, I overwritten the certificates because I let DK connect to AWS. The original one is removed.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;now I&amp;#39;m ok. I figured out the reason&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: CLOUD_EVT_ERROR in nrf_cloud_agps</title><link>https://devzone.nordicsemi.com/thread/257578?ContentTypeID=1</link><pubDate>Tue, 30 Jun 2020 12:23:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f060596e-e8dd-43f3-b66e-39a2965866de</guid><dc:creator>Hakon</dc:creator><description>&lt;p&gt;You shouldn&amp;#39;t need to set certificates to access the cloud if you&amp;#39;re using a DK. The DK comes with certificates already flashed, so it shouldn&amp;#39;t be necessary. Have you overwritten the certificates at some point?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: CLOUD_EVT_ERROR in nrf_cloud_agps</title><link>https://devzone.nordicsemi.com/thread/257230?ContentTypeID=1</link><pubDate>Sat, 27 Jun 2020 12:45:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eefd89b5-c9ce-4b67-a095-66c87851a73a</guid><dc:creator>Yusuke</dc:creator><description>&lt;p&gt;nrf_cloud_agps first connects to nRF cloud and then download AGPS data. So The device must have certificates for nRF cloud. I think.&lt;/p&gt;
&lt;p&gt;If I understand in a wrong way, please point it out.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: CLOUD_EVT_ERROR in nrf_cloud_agps</title><link>https://devzone.nordicsemi.com/thread/257039?ContentTypeID=1</link><pubDate>Fri, 26 Jun 2020 05:22:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:193b1958-6cca-4bcd-a7fe-53d9d4fc537b</guid><dc:creator>Yusuke</dc:creator><description>&lt;p&gt;Do&amp;nbsp;you need to set certificates to download AGPS data from nRF cloud?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: CLOUD_EVT_ERROR in nrf_cloud_agps</title><link>https://devzone.nordicsemi.com/thread/257035?ContentTypeID=1</link><pubDate>Fri, 26 Jun 2020 04:38:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2e060382-4b62-429e-9d2b-323a60131fc0</guid><dc:creator>Yusuke</dc:creator><description>&lt;p&gt;I tried the same program with different PC,&amp;nbsp;DK board, and SIM. I disabled PSM and don&amp;#39;t modify other parts in nrf_cloud_agps from the original&lt;/p&gt;
&lt;p&gt;I got another error.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;*** Booting Zephyr OS build v2.3.0-rc1-ncs1  ***
D: MAGPIO set: AT%XMAGPIO=1,0,0,1,1,1574,1577
D: COEX0 set: AT%XCOEX0=1,1,1570,1580
I: nRF Cloud and A-GPS sample has started
I: Connecting to LTE network. This may take minutes.
+CEREG: 2,&amp;quot;1859&amp;quot;,&amp;quot;0179EF09&amp;quot;,7,0,0,&amp;quot;11100000&amp;quot;,&amp;quot;11100000&amp;quot;
+CSCON: 1
+CSCON: 0
+CSCON: 1
+CEREG: 5,&amp;quot;1859&amp;quot;,&amp;quot;0179EF09&amp;quot;,7,,,&amp;quot;11100000&amp;quot;,&amp;quot;11100000&amp;quot;
I: Connected to LTE network
D: GPS socket created, fd: 1232491587
+CEDRXP: 4,&amp;quot;1001&amp;quot;,&amp;quot;1001&amp;quot;,&amp;quot;0001&amp;quot;
E: Cloud connection failed, error: -8&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;backend-&amp;gt;api-&amp;gt;connect(backend) causes an error&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;&amp;lt;cloud.h&amp;gt;

static inline int cloud_connect(const struct cloud_backend *const backend)
{
	if (backend == NULL || backend-&amp;gt;api == NULL ||
	    backend-&amp;gt;api-&amp;gt;connect == NULL) {
		return CLOUD_CONNECT_RES_ERR_INVALID_PARAM;
	}

	return backend-&amp;gt;api-&amp;gt;connect(backend); // CAUSE ERROR
}
&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>