<?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>https_client: at_host: Error while processing AT command: -1</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/113909/https_client-at_host-error-while-processing-at-command--1</link><description>Hello, 
 I had to build the https_client sample again to compare some behaviors on my application and as I flash it to nRF9160 I am having a cyclical error as below: 
 
 &amp;lt;err&amp;gt; at_host: Error while processing AT command: -1 
 
 I have chosen as configuration</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 29 Aug 2024 07:40:07 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/113909/https_client-at_host-error-while-processing-at-command--1" /><item><title>RE: https_client: at_host: Error while processing AT command: -1</title><link>https://devzone.nordicsemi.com/thread/500353?ContentTypeID=1</link><pubDate>Thu, 29 Aug 2024 07:40:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:41b946ed-cf24-4a3c-975d-9bfdd6c60798</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user="Rodrigo Aznar"]It seems it is not able to connect to LTE.&amp;nbsp; &amp;nbsp;[/quote]
&lt;p&gt;Can you please program the &lt;a href="https://docs.nordicsemi.com/bundle/ncs-2.7.0/page/nrf/samples/cellular/at_client/README.html"&gt;AT client sample&amp;nbsp;&lt;/a&gt;&amp;nbsp;and use the cellular monitor to collect a modem trace? This way we can confirm an issue with e.g. SIM card or LTE network. The Cellular Monitor has a button to &amp;quot;refresh dashboard&amp;quot; which sends several AT commands. Please provide the output from the Serial Terminal (also available in Cellular Monitor) or another serial terminal that works for you.&lt;/p&gt;
&lt;p&gt;Thank you!&lt;br /&gt;&lt;br /&gt;Kind regards,&lt;br /&gt;Øyvind&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: https_client: at_host: Error while processing AT command: -1</title><link>https://devzone.nordicsemi.com/thread/500307?ContentTypeID=1</link><pubDate>Wed, 28 Aug 2024 21:49:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4f0c0d0f-4d50-4c7e-b99f-f7fae44452b0</guid><dc:creator>Rodrigo Aznar</dc:creator><description>&lt;p&gt;Hi all,&lt;/p&gt;
&lt;p&gt;I still face the same error messages on https_client sample on my nrf9160 board.&lt;/p&gt;
&lt;p&gt;It seems it is not able to connect to LTE.&amp;nbsp; &amp;nbsp;&lt;/p&gt;
&lt;p&gt;Would exist any other code/configuration that could be updated on the chip?&amp;nbsp; (something like a &amp;quot;micro code&amp;quot;)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: https_client: at_host: Error while processing AT command: -1</title><link>https://devzone.nordicsemi.com/thread/498732?ContentTypeID=1</link><pubDate>Sun, 18 Aug 2024 16:17:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e3887e50-8c35-4306-857b-c58b4a92d2eb</guid><dc:creator>Rodrigo Aznar</dc:creator><description>&lt;p&gt;Hello &amp;Oslash;yvind,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks for the suggestion.&amp;nbsp; But I realized that my application is not getting internet connection through LTE. I suspect that my nrf9160 has been partially damaged maybe due to static. Maybe this would explain the AT command errors that the underneath calls of some of the libs produce, right?.&lt;/p&gt;
&lt;p&gt;As I get another hardware to confirm this hypothesis I update here.&lt;/p&gt;
&lt;p&gt;Thanks for now&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: https_client: at_host: Error while processing AT command: -1</title><link>https://devzone.nordicsemi.com/thread/498407?ContentTypeID=1</link><pubDate>Thu, 15 Aug 2024 08:53:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a3a5e747-984e-4a5a-ac81-2e14f4391196</guid><dc:creator>&amp;#216;yvind</dc:creator><description>[quote user="Rodrigo Aznar"]Since I am using VSCode nRF Connect extension I wonder whether using this tool (VSCode) has any tricks or cares I should take.&amp;nbsp; For instance: is it Ok to delete the build configuration (and configure it again) if I want to ensure a pristine build to be done?[/quote]
&lt;p&gt;We recommend deleting the build folder completely to ensure that your application is built fully pristine. Could you please try that first?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: https_client: at_host: Error while processing AT command: -1</title><link>https://devzone.nordicsemi.com/thread/498304?ContentTypeID=1</link><pubDate>Wed, 14 Aug 2024 13:44:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3a38f87a-623d-4426-b75a-f66aed52f6e1</guid><dc:creator>Rodrigo Aznar</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I had already added this CONFIG_AT_HOST_LIBRARY=y before.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I have added this again and flashed but now it is presenting the following error logs:&lt;/p&gt;
&lt;p&gt;&amp;lt;err&amp;gt; at_host: Error while processing AT 31ERROR&lt;br /&gt;00&amp;gt; &lt;br /&gt;00&amp;gt; ERROR&lt;br /&gt;00&amp;gt; &lt;br /&gt;00&amp;gt; ERROR&lt;br /&gt;00&amp;gt; &lt;br /&gt;00&amp;gt; ERROR&lt;br /&gt;00&amp;gt; &lt;br /&gt;00&amp;gt; ERROR&lt;/p&gt;
&lt;p&gt;My environment seems to give unpredictable results.&lt;/p&gt;
&lt;p&gt;Since I am using VSCode nRF Connect extension I wonder whether using this tool (VSCode) has any tricks or cares I should take.&amp;nbsp; For instance: is it Ok to delete the build configuration (and configure it again) if I want to ensure a pristine build to be done?&lt;/p&gt;
&lt;p&gt;Would using command line / west be more recommended?&lt;/p&gt;
&lt;p&gt;Other info: I am using Ubuntu 22.04 and VSCode 1.92.1&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: https_client: at_host: Error while processing AT command: -1</title><link>https://devzone.nordicsemi.com/thread/498243?ContentTypeID=1</link><pubDate>Wed, 14 Aug 2024 10:52:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:875b1e2a-968c-44b4-90eb-e5cb41426199</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Hello,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The AT Host library is not enabled by default in the https_client sample, which will give you the error you get.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;Adding the following configuration setting to your prj.conf&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;CONFIG_AT_HOST_LIBRARY=y&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Here is my output before and after adding this config.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="powershell"&gt;&amp;gt; at
[00:01:51.041,442] &amp;lt;err&amp;gt; at_host: Error while processing AT command: -1
at*** Booting nRF Connect SDK v3.5.99-ncs1 ***
HTTPS client sample started
Bringing network interface up
Provisioning certificate
Certificate mismatch
Provisioning certificate
Connecting to the network
+CEREG: 2,&amp;quot;8173&amp;quot;,&amp;quot;01165700&amp;quot;,7
+CSCON: 1
+CGEV: ME PDN ACT 0,0
+CNEC_ESM: 50,0
+CEREG: 5,&amp;quot;8173&amp;quot;,&amp;quot;01165700&amp;quot;,7,,,&amp;quot;11100000&amp;quot;,&amp;quot;11100000&amp;quot;
Network connectivity established and IP address assigned
Looking up example.com
&amp;gt; at
OK
&amp;gt; at+cfun?
+CFUN: 21
OK&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Øyvind&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>