<?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 connection using AT#XHTTPCCON fails to connect to server</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/74330/https-connection-using-at-xhttpccon-fails-to-connect-to-server</link><description>I&amp;#39;m using the serial_lte_modem application from Tag v1.5.0-rc1, on the nrf9160dk evaluation board to make a secure connection to google.com but it returns #XHTTPCCON:0. 
 The local service provider uses NB-Iot and I&amp;#39;m able to connect to a server using</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 22 Jun 2021 10:51:33 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/74330/https-connection-using-at-xhttpccon-fails-to-connect-to-server" /><item><title>RE: HTTPS connection using AT#XHTTPCCON fails to connect to server</title><link>https://devzone.nordicsemi.com/thread/316437?ContentTypeID=1</link><pubDate>Tue, 22 Jun 2021 10:51:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a08755f0-ed7a-46ad-8f25-679b0713446f</guid><dc:creator>Heidi</dc:creator><description>&lt;p&gt;It seems like Google might not be allowed by the network provider.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Can you confirm with the network provider whether you should be able to connect to Google&amp;#39;s server?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: HTTPS connection using AT#XHTTPCCON fails to connect to server</title><link>https://devzone.nordicsemi.com/thread/316161?ContentTypeID=1</link><pubDate>Mon, 21 Jun 2021 06:22:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8678bd24-95b1-43e8-b2a5-868968610a98</guid><dc:creator>EmbeddedDan</dc:creator><description>&lt;p&gt;I can&amp;#39;t connect to google.com through http, but I can connect to my development server:&lt;/p&gt;
&lt;p&gt;The modem connects and send a POST request with HTTP&lt;/p&gt;
&lt;p&gt;AT#XHTTPCCON=1,&amp;quot;******.westeurope.cloudapp.azure.com&amp;quot;,8083&lt;br /&gt;#XHTTPCCON: 1&lt;br /&gt;AT#XHTTPCREQ=&amp;quot;POST&amp;quot;,&amp;quot;/nbiot/device&amp;quot;,&amp;quot;Content-Type: application/json&lt;br /&gt;Content-Length: 104&lt;br /&gt;&amp;quot;,104&lt;/p&gt;
&lt;p&gt;Please let me know if you need anything else.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: HTTPS connection using AT#XHTTPCCON fails to connect to server</title><link>https://devzone.nordicsemi.com/thread/316155?ContentTypeID=1</link><pubDate>Mon, 21 Jun 2021 05:50:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2a3f07cb-88b0-4395-9e81-c9d2da6bfda9</guid><dc:creator>EmbeddedDan</dc:creator><description>&lt;p&gt;AT%CMNG=1&lt;/p&gt;
&lt;p&gt;AT%CMNG=1&lt;br /&gt;%CMNG: 0,6,&amp;quot;0606060606060606060606060606060606060606060606060606060606060606&amp;quot;&lt;br /&gt;%CMNG: 42,0,&amp;quot;0000000000000000000000000000000000000000000000000000000000000000&amp;quot;&lt;br /&gt;%CMNG: 16842753,0,&amp;quot;0000000000000000000000000000000000000000000000000000000000000000&amp;quot;&lt;br /&gt;%CMNG: 16842753,1,&amp;quot;0101010101010101010101010101010101010101010101010101010101010101&amp;quot;&lt;br /&gt;%CMNG: 16842753,2,&amp;quot;0202020202020202020202020202020202020202020202020202020202020202&amp;quot;&lt;br /&gt;%CMNG: 4294967293,10,&amp;quot;0A0A0A0A0A0A0A0A0A0A0A0A0A0A0A0A0A0A0A0A0A0A0A0A0A0A0A0A0A0A0A0A&amp;quot;&lt;br /&gt;%CMNG: 4294967292,11,&amp;quot;0B0B0B0B0B0B0B0B0B0B0B0B0B0B0B0B0B0B0B0B0B0B0B0B0B0B0B0B0B0B0B0B&amp;quot;&lt;br /&gt;OK&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: HTTPS connection using AT#XHTTPCCON fails to connect to server</title><link>https://devzone.nordicsemi.com/thread/315875?ContentTypeID=1</link><pubDate>Thu, 17 Jun 2021 12:41:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5725d403-d857-44fe-a240-f36a362a0d9a</guid><dc:creator>Heidi</dc:creator><description>&lt;p&gt;Thanks.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;What happens if you try to connect to Google without TLS?&lt;/p&gt;
&lt;p&gt;AT#XHTTPCCON=1,&amp;quot;google.com&amp;quot;,80&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;This could tell us if it&amp;#39;s a TCP issue, HTTP issue or a TLS issue.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;Could you also show me the return of AT%CMNG=1?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: HTTPS connection using AT#XHTTPCCON fails to connect to server</title><link>https://devzone.nordicsemi.com/thread/315781?ContentTypeID=1</link><pubDate>Thu, 17 Jun 2021 08:16:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:33ec44ef-cd89-46bf-ab50-240c0d4f5bdd</guid><dc:creator>EmbeddedDan</dc:creator><description>&lt;p&gt;Thanks yes I caught that typo&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: HTTPS connection using AT#XHTTPCCON fails to connect to server</title><link>https://devzone.nordicsemi.com/thread/315780?ContentTypeID=1</link><pubDate>Thu, 17 Jun 2021 08:16:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:435b142f-8ec1-4cce-96dc-91760ef2820e</guid><dc:creator>EmbeddedDan</dc:creator><description>&lt;p&gt;I&amp;#39;m sending the &lt;b&gt;AT#XHTTPCCON=1,&amp;quot;google.com&amp;quot;,443,42&lt;/b&gt; and then wait 30 seconds for a response.&amp;nbsp; After around 10 seconds the application returns with&lt;/p&gt;
&lt;p&gt;#XHTTPCCON: 0&lt;br /&gt;ERROR&lt;br /&gt;AT#XHTTPCCON=0&lt;br /&gt;ERROR&lt;/p&gt;
&lt;p&gt;I do not deactivate the modem from the AT command side.&amp;nbsp; Is it doing it internally?&lt;/p&gt;
&lt;p&gt;I&amp;#39;m trying to test an HTTPS connection to google.com, I do not have access to the server.&lt;/p&gt;
&lt;p&gt;Included is a trace file from the modem where I don&amp;#39;t send any other AT commands after the &lt;b&gt;AT#XHTTPCCON=1,&amp;quot;google.com&amp;quot;,443,42&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/trace_2D00_2021_2D00_06_2D00_17T08_2D00_13_2D00_00.348Z.bin"&gt;devzone.nordicsemi.com/.../trace_2D00_2021_2D00_06_2D00_17T08_2D00_13_2D00_00.348Z.bin&lt;/a&gt;&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: HTTPS connection using AT#XHTTPCCON fails to connect to server</title><link>https://devzone.nordicsemi.com/thread/315756?ContentTypeID=1</link><pubDate>Thu, 17 Jun 2021 07:10:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:83fddeed-bb90-4a2c-9b6b-22dd85f05bb6</guid><dc:creator>Heidi</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;It looks like you are using the wrong syntax when connecting to the server:&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;AT#XHTTPCCON=1,&amp;quot;google.com&amp;quot;,443,42&amp;quot;&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The last quote is not required. It should be&lt;/p&gt;
&lt;p&gt;&lt;b&gt;AT#XHTTPCCON=1,&amp;quot;google.com&amp;quot;,443,42&lt;/b&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: HTTPS connection using AT#XHTTPCCON fails to connect to server</title><link>https://devzone.nordicsemi.com/thread/315530?ContentTypeID=1</link><pubDate>Wed, 16 Jun 2021 08:28:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a70d018a-22ed-402f-b343-be6667451e4d</guid><dc:creator>Heidi</dc:creator><description>&lt;p&gt;Unfortunately, there&amp;#39;s not much information in the log. There are lots of traces missing like before.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;1) A TCP connection is attempted and then 300 ms after that modem is deactivated&amp;nbsp;when the response from the server might be still on its way.&lt;/p&gt;
&lt;p&gt;Are you&amp;nbsp;deactivating the modem on purpose that quickly?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;2) Are you able to log the server-side? Is the TCP SYN from the modem visible in the server log?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: HTTPS connection using AT#XHTTPCCON fails to connect to server</title><link>https://devzone.nordicsemi.com/thread/315340?ContentTypeID=1</link><pubDate>Tue, 15 Jun 2021 10:05:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bc03d26a-fb9f-48b4-a6af-80f14287d936</guid><dc:creator>EmbeddedDan</dc:creator><description>&lt;p&gt;Thanks Heidi&lt;/p&gt;
&lt;p&gt;I have update the sdk &amp;amp; serial_lte_modem application to Tag v1.6.0-rc2 which includes PR4676&lt;/p&gt;
&lt;p&gt;I have obtain a new nRF9160 Development Kit with a &amp;quot;B1&amp;quot; = Revision 2 modem and loaded Modem firmware mfw_nrf9160_1.3.0.&lt;br /&gt;I&amp;#39;m running the same AT commands as before but fails when it calls the connect function in the resolve_and_connect function&lt;/p&gt;
&lt;p&gt;[00:00:32.326,385] &amp;lt;inf&amp;gt; httpc: Attempting to connect over IPv6&lt;br /&gt;[00:00:32.327,209] &amp;lt;inf&amp;gt; httpc: Setting up TLS credentials&lt;br /&gt;[00:00:32.328,765] &amp;lt;err&amp;gt; httpc: Unable to connect, errno 114&lt;br /&gt;[00:00:32.708,679] &amp;lt;inf&amp;gt; httpc: Attempting to connect over IPv4&lt;br /&gt;[00:00:32.709,991] &amp;lt;inf&amp;gt; httpc: Setting up TLS credentials&lt;br /&gt;[00:00:32.956,939] &amp;lt;err&amp;gt; httpc: Unable to connect, errno 116&lt;br /&gt;[00:00:32.965,850] &amp;lt;err&amp;gt; httpc: Fail to resolve and connect&lt;br /&gt;[00:00:32.965,850] &amp;lt;err&amp;gt; httpc: server_connect fail.&lt;/p&gt;
&lt;p&gt;Here is the trace log:&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/trace_2D00_2021_2D00_06_2D00_15T10_2D00_03_2D00_27.815Z.bin"&gt;devzone.nordicsemi.com/.../trace_2D00_2021_2D00_06_2D00_15T10_2D00_03_2D00_27.815Z.bin&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: HTTPS connection using AT#XHTTPCCON fails to connect to server</title><link>https://devzone.nordicsemi.com/thread/312766?ContentTypeID=1</link><pubDate>Tue, 01 Jun 2021 07:44:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7b72d2a7-8d68-48c7-ac25-ec3104ef6366</guid><dc:creator>Heidi</dc:creator><description>&lt;p&gt;Hi!&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/nrfconnect/sdk-nrf/pull/4676"&gt;PR 4676&lt;/a&gt;&amp;nbsp;will fix the issue you&amp;#39;re seeing.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Heidi&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: HTTPS connection using AT#XHTTPCCON fails to connect to server</title><link>https://devzone.nordicsemi.com/thread/310481?ContentTypeID=1</link><pubDate>Wed, 19 May 2021 13:33:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e20e5ea2-c75d-42ef-8090-ed73d88f0e32</guid><dc:creator>Heidi</dc:creator><description>&lt;p&gt;Thank you! I have forwarded it to the modem team for analysis.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: HTTPS connection using AT#XHTTPCCON fails to connect to server</title><link>https://devzone.nordicsemi.com/thread/309650?ContentTypeID=1</link><pubDate>Thu, 13 May 2021 09:20:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1cf87cec-8b4d-4c8e-9624-3ee49a4e26fe</guid><dc:creator>EmbeddedDan</dc:creator><description>&lt;p&gt;I have added the AT%XMODEMTRACE=1,2 command to try and get the complete log.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/trace_2D00_2021_2D00_05_2D00_13T09_2D00_14_2D00_16.834Z.bin"&gt;devzone.nordicsemi.com/.../trace_2D00_2021_2D00_05_2D00_13T09_2D00_14_2D00_16.834Z.bin&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Here is the trace of the AT commands.&lt;/p&gt;
&lt;pre&gt;****************&lt;br /&gt;Nordic AT Client&lt;br /&gt;****************&lt;br /&gt;COM /dev/ttyACM0 Open&lt;br /&gt;AT&lt;br /&gt;Ready&lt;br /&gt;OK&lt;br /&gt;AT#XSLMUART?&lt;br /&gt;#XSLMUART: 115200&lt;br /&gt;OK&lt;br /&gt;AT+CFUN=0&lt;br /&gt;OK&lt;br /&gt;AT%XMODEMTRACE=1,2&lt;br /&gt;OK&lt;br /&gt;AT%CMNG=2,42,0&lt;br /&gt;%CMNG: 42,0,&amp;quot;0000000000000000000000000000000000000000000000000000000000000000&amp;quot;,&amp;quot;-----BEGIN CERTIFICATE-----&lt;br /&gt;MIIDdzCCAl+gAwIBAgIEAgAAuTANBgkqhkiG9w0BAQUFADBaMQswCQYDVQQGEwJJ&lt;br /&gt;RTESMBAGA1UEChMJQmFsdGltb3JlMRMwEQYDVQQLEwpDeWJlclRydXN0MSIwIAYD&lt;br /&gt;VQQDExlCYWx0aW1vcmUgQ3liZXJUcnVzdCBSb290MB4XDTAwMDUxMjE4NDYwMFoX&lt;br /&gt;DTI1MDUxMjIzNTkwMFowWjELMAkGA1UEBhMCSUUxEjAQBgNVBAoTCUJhbHRpbW9y&lt;br /&gt;ZTETMBEGA1UECxMKQ3liZXJUcnVzdDEiMCAGA1UEAxMZQmFsdGltb3JlIEN5YmVy&lt;br /&gt;VHJ1c3QgUm9vdDCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKMEuyKr&lt;br /&gt;mD1X6CZymrV51Cni4eiVgLGw41uOKymaZN+hXe2wCQVt2yguzmKiYv60iNoS6zjr&lt;br /&gt;IZ3AQSsBUnuId9Mcj8e6uYi1agnnc+gRQKfRzMpijS3ljwumUNKoUMMo6vWrJYeK&lt;br /&gt;mpYcqWe4PwzV9/lSEy/CG9VwcPCPwBLKBsua4dnKM3p31vjsufFoREJIE9LAwqSu&lt;br /&gt;XmD+tqYF/LTdB1kC1FkYmGP1pWPgkAx9XbIGevOF6uvUA65ehD5f/xXtabz5OTZy&lt;br /&gt;dc93Uk3zyZAsuT3lySNTPx8kmCFcB5kpvcY67Oduhjprl3RjM71oGDHweI12v/ye&lt;br /&gt;jl0qhqdNkNwnGjkCAwEAAaNFMEMwHQYDVR0OBBYEFOWdWTCCR1jMrPoIVDaGezq1&lt;br /&gt;BE3wMBIGA1UdEwEB/wQIMAYBAf8CAQMwDgYDVR0PAQH/BAQDAgEGMA0GCSqGSIb3&lt;br /&gt;DQEBBQUAA4IBAQCFDF2O5G9RaEIFoN27TyclhAO992T9Ldcw46QQF+vaKSm2eT92&lt;br /&gt;9hkTI7gQCvlYpNRhcL0EYWoSihfVCr3FvDB81ukMJY2GQE/szKN+OMY3EU/t3Wgx&lt;br /&gt;jkzSswF07r51XgdIGn9w/xZchMB5hbgF/X++ZRGjD8ACtPhSNzkE1akxehi/oCr0&lt;br /&gt;Epn3o0WC4zxe9Z2etciefC7IpJ5OCBRLbf1wbWsaY71k5h+3zvDyny67G7fyUIhz&lt;br /&gt;ksLi4xaNmjICq44Y3ekQEe5+NauQrz4wlHrQMz2nZQ/1/I6eYs9HRCwBXbsdtTLS&lt;br /&gt;R9I4LtD+gdwyah617jzV/OeBHRnDJELqYzmp&lt;br /&gt;-----END CERTIFICATE-----&amp;quot;&lt;br /&gt;AT%XSYSTEMMODE=0,1,0,2&lt;br /&gt;OK&lt;br /&gt;AT%XBANDLOCK=1,&amp;quot;111000000&amp;quot;&lt;br /&gt;OK&lt;br /&gt;AT%XDEEPSEARCH=1&lt;br /&gt;OK&lt;br /&gt;AT+CGDCONT=0,&amp;quot;IP&amp;quot;,&amp;quot;nbiot.vodacom.za&amp;quot;&lt;br /&gt;OK&lt;br /&gt;AT+COPS=0&lt;br /&gt;OK&lt;br /&gt;AT+CEREG=5&lt;br /&gt;OK&lt;br /&gt;AT+CFUN=21&lt;br /&gt;OK&lt;br /&gt;AT%XICCID&lt;br /&gt;ERROR&lt;br /&gt;Check SIM&lt;br /&gt;AT+CPIN=&amp;quot;3349&amp;quot;&lt;br /&gt;OK&lt;br /&gt;+CEREG: 2,&amp;quot;5209&amp;quot;,&amp;quot;0A19790D&amp;quot;,9,0,0,&amp;quot;11100000&amp;quot;,&amp;quot;11100000&amp;quot;&lt;br /&gt;+CEREG: 1,&amp;quot;5209&amp;quot;,&amp;quot;0A19790D&amp;quot;,9,,,&amp;quot;11100000&amp;quot;,&amp;quot;00000110&amp;quot;&lt;br /&gt;AT%XICCID&lt;br /&gt;%XICCID: 89330000000020549718&lt;br /&gt;OK&lt;br /&gt;Waiting 1 sec&lt;br /&gt;AT+CGDCONT?&lt;br /&gt;+CGDCONT: 0,&amp;quot;IP&amp;quot;,&amp;quot;nbiot.vodacom.za&amp;quot;,&amp;quot;10.170.41.71&amp;quot;,0,0&lt;br /&gt;OK&lt;br /&gt;AT#XHTTPCCON=1,&amp;quot;google.com&amp;quot;,443,42&amp;quot;&lt;br /&gt;AT#XHTTPCCON=0&lt;br /&gt;Hit any key: &lt;br /&gt;AT+CFUN=0&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: HTTPS connection using AT#XHTTPCCON fails to connect to server</title><link>https://devzone.nordicsemi.com/thread/309450?ContentTypeID=1</link><pubDate>Wed, 12 May 2021 10:35:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b5003421-d8a4-4d40-baa3-186b014758ad</guid><dc:creator>Heidi</dc:creator><description>&lt;p&gt;Unfortunately, the trace is missing too much data to read anything from it, and it&amp;#39;s also very short.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;At least you don&amp;#39;t get an error anymore. Can you use %CMNG to confirm that there are certificates stored in sec_tag 42?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: HTTPS connection using AT#XHTTPCCON fails to connect to server</title><link>https://devzone.nordicsemi.com/thread/308437?ContentTypeID=1</link><pubDate>Thu, 06 May 2021 06:27:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:643d9873-0d32-4fae-87fe-855614f72411</guid><dc:creator>EmbeddedDan</dc:creator><description>&lt;p&gt;I&amp;#39;ve confirmed that the band our local NB-IoT service provider uses is actually Band 8:&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1620282253489v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve updated the bandlock command to include Band 7 &amp;amp; 8, but I still receive AT#XHTTPCCON=0 when a try to connect to Google with AT#XHTTPCCON=1,&amp;quot;google.com&amp;quot;,443,42&amp;quot;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/trace_2D00_2021_2D00_05_2D00_06T06_2D00_20_2D00_49.551Z.bin"&gt;devzone.nordicsemi.com/.../trace_2D00_2021_2D00_05_2D00_06T06_2D00_20_2D00_49.551Z.bin&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: HTTPS connection using AT#XHTTPCCON fails to connect to server</title><link>https://devzone.nordicsemi.com/thread/308177?ContentTypeID=1</link><pubDate>Tue, 04 May 2021 12:39:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dd69cdc6-b5b7-4825-848a-afb916db9356</guid><dc:creator>Heidi</dc:creator><description>&lt;p&gt;It could be that you haven&amp;#39;t disabled UART1 completely, which is the peripheral used for the traces from the modem.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;In any case, if changing the bandlock solves the issue we won&amp;#39;t need another trace.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: HTTPS connection using AT#XHTTPCCON fails to connect to server</title><link>https://devzone.nordicsemi.com/thread/308148?ContentTypeID=1</link><pubDate>Tue, 04 May 2021 11:26:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d18aa962-4433-4919-af78-aaba095c6f83</guid><dc:creator>EmbeddedDan</dc:creator><description>&lt;p&gt;No that is a mistake. The only band we have here is Band 7, The bandlock setting was recommended by the local Nordic supplier. I will change that.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Any recommendation to fix the problem with the incomplete log?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: HTTPS connection using AT#XHTTPCCON fails to connect to server</title><link>https://devzone.nordicsemi.com/thread/308146?ContentTypeID=1</link><pubDate>Tue, 04 May 2021 11:21:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0f6d0eef-f6a5-4fc0-a453-a1d66d970e56</guid><dc:creator>Heidi</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;The log is not complete. A lot of traces seem to be missing which makes it difficult to analyze.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;However, the bandlock setting might be something to check. The permanent bandlock is set to&lt;span style="color:rgba(0, 0, 0, 1);"&gt;&amp;nbsp;&lt;span&gt;band 8&lt;/span&gt;&amp;nbsp;and&amp;nbsp;&lt;span&gt;band 7&lt;span&gt;&lt;/span&gt;&amp;nbsp;is the only band visible in the log. Is that intentional?&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color:rgba(0, 0, 0, 1);"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: HTTPS connection using AT#XHTTPCCON fails to connect to server</title><link>https://devzone.nordicsemi.com/thread/307966?ContentTypeID=1</link><pubDate>Mon, 03 May 2021 13:47:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1532de22-def8-4214-9485-ebdfac842acb</guid><dc:creator>Heidi</dc:creator><description>&lt;p&gt;Thank you. I&amp;#39;m going to have someone from the modem team take a look at this tomorrow and then I&amp;#39;ll get back to you.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: HTTPS connection using AT#XHTTPCCON fails to connect to server</title><link>https://devzone.nordicsemi.com/thread/307596?ContentTypeID=1</link><pubDate>Fri, 30 Apr 2021 06:35:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3802ead1-1436-46e7-93f6-d86c4a33d861</guid><dc:creator>EmbeddedDan</dc:creator><description>&lt;p&gt;I&amp;#39;m waiting for either +CEREG:1 or +CEREG: 5.&amp;nbsp; In this case I receive +CEREG: 1 which means &amp;#39;Registered, home network&amp;#39;.&lt;/p&gt;
&lt;p&gt;I have attached the logs with the new log levels enabled.&lt;/p&gt;
&lt;p&gt;The first modem trace is with commands entered using the LTE Link Monitor.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/trace_2D00_2021_2D00_04_2D00_30T06_2D00_22_2D00_27.472Z.bin"&gt;devzone.nordicsemi.com/.../trace_2D00_2021_2D00_04_2D00_30T06_2D00_22_2D00_27.472Z.bin&lt;/a&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/2021_2D00_04_2D00_30T06_5F00_08_5F00_10.897Z_2D00_log.txt"&gt;devzone.nordicsemi.com/.../2021_2D00_04_2D00_30T06_5F00_08_5F00_10.897Z_2D00_log.txt&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The second trace is with the automated script.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/trace_2D00_2021_2D00_04_2D00_30T06_2D00_31_2D00_49.640Z.bin"&gt;devzone.nordicsemi.com/.../trace_2D00_2021_2D00_04_2D00_30T06_2D00_31_2D00_49.640Z.bin&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: HTTPS connection using AT#XHTTPCCON fails to connect to server</title><link>https://devzone.nordicsemi.com/thread/307536?ContentTypeID=1</link><pubDate>Thu, 29 Apr 2021 14:43:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:305326bf-39d4-4300-ab51-f9439f5a45ec</guid><dc:creator>Heidi</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;It looks like you&amp;#39;re not waiting for +CEREG to return status 5, Registered, roaming before running the #HTTPCCON command. Could that be right?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Also, could you change this to&amp;nbsp;CONFIG_SLM_LOG_LEVEL_DBG=y to get all log messages and add CONFIG_AT_CMD_LOG_LEVEL_DBG=y as well.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: HTTPS connection using AT#XHTTPCCON fails to connect to server</title><link>https://devzone.nordicsemi.com/thread/307274?ContentTypeID=1</link><pubDate>Wed, 28 Apr 2021 13:18:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:14da1fa7-98af-44a3-9e9d-63564a6e78f0</guid><dc:creator>EmbeddedDan</dc:creator><description>&lt;p&gt;mfw_nrf9160_1.2.3&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: HTTPS connection using AT#XHTTPCCON fails to connect to server</title><link>https://devzone.nordicsemi.com/thread/307272?ContentTypeID=1</link><pubDate>Wed, 28 Apr 2021 13:16:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:10e91d77-4ddb-4a48-a133-273bde95a131</guid><dc:creator>Heidi</dc:creator><description>&lt;p&gt;Thanks. What MFW version are you running?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: HTTPS connection using AT#XHTTPCCON fails to connect to server</title><link>https://devzone.nordicsemi.com/thread/307131?ContentTypeID=1</link><pubDate>Wed, 28 Apr 2021 05:54:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:16e27553-0a2d-4cba-8203-b8254ca22595</guid><dc:creator>EmbeddedDan</dc:creator><description>&lt;p&gt;The serial_lte_modem application does have the necessary configurations set:&lt;/p&gt;
&lt;div&gt;&lt;pre class="ui-code" data-mode="text"&gt;#
# Copyright (c) 2020 Nordic Semiconductor ASA
#
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
#
# General config
CONFIG_LOG=y
CONFIG_LOG_DEFAULT_LEVEL=3
CONFIG_STACK_SENTINEL=y
CONFIG_NEWLIB_LIBC=y
CONFIG_NEWLIB_LIBC_FLOAT_PRINTF=y
CONFIG_RING_BUFFER=y

# Segger RTT
CONFIG_USE_SEGGER_RTT=y
CONFIG_RTT_CONSOLE=y
CONFIG_UART_CONSOLE=n
CONFIG_LOG_BACKEND_RTT=y
CONFIG_LOG_BACKEND_UART=n

# Network
CONFIG_NETWORKING=y
CONFIG_NET_SOCKETS=y
CONFIG_NET_NATIVE=n

# Modem library
CONFIG_NRF_MODEM_LIB=y
# Align the max FD entry to NRF_MODEM_MAX_SOCKET_COUNT(8)
CONFIG_POSIX_MAX_FDS=8
# Enable below for modem trace
CONFIG_NRF_MODEM_LIB_TRACE_ENABLED=y

# Use GPIO
CONFIG_GPIO=y
CONFIG_GPIO_NRFX=y
CONFIG_GPIO_NRF_P0=y

# UART interface
CONFIG_SERIAL=y
CONFIG_UART_ASYNC_API=y
CONFIG_NRFX_TIMER2=y

# LTE link control
CONFIG_LTE_LINK_CONTROL=y
CONFIG_LTE_AUTO_INIT_AND_CONNECT=n

# Stacks and heaps
CONFIG_MAIN_STACK_SIZE=4096
CONFIG_HEAP_MEM_POOL_SIZE=16384
CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=4096

# AT_CMD
# Enable AT_CMD debug for details
#CONFIG_AT_CMD_LOG_LEVEL_DBG=y
CONFIG_AT_CMD_RESPONSE_MAX_LEN=4096

# Device power management
CONFIG_DEVICE_POWER_MANAGEMENT=y

# Enable SUPL client support
#CONFIG_SUPL_CLIENT_LIB=y

# FOTA
CONFIG_HTTP_PARSER_URL=y
CONFIG_FOTA_DOWNLOAD=y
CONFIG_FOTA_DOWNLOAD_PROGRESS_EVT=y
CONFIG_DFU_TARGET=y
CONFIG_DOWNLOAD_CLIENT=y
CONFIG_DOWNLOAD_CLIENT_STACK_SIZE=4096
CONFIG_BOOTLOADER_MCUBOOT=y
CONFIG_IMG_MANAGER=y
CONFIG_FLASH=y
CONFIG_IMG_ERASE_PROGRESSIVELY=y

#
# SLM-specific configurations
#
CONFIG_SLM_LOG_LEVEL_INF=y
# Configure external XTAL for UART
CONFIG_SLM_EXTERNAL_XTAL=n
# Enable GPIO wakeup if sleep is expected
#CONFIG_SLM_GPIO_WAKEUP=y
# Use UART_0 (when working with PC terminal)
CONFIG_UART_0_NRF_HW_ASYNC_TIMER=2
CONFIG_SLM_DATAMODE_HWFC=n
# Use UART_2 (when working with external MCU)
#CONFIG_SLM_CONNECT_UART_2=y
#CONFIG_UART_2_NRF_HW_ASYNC_TIMER=2

# Use optional GPS service
#CONFIG_SLM_GPS=y
# Use optional FTP client service
#CONFIG_SLM_FTPC=y
# Use optional MQTT client service
#CONFIG_SLM_MQTTC=y
# Use optional HTTP client service
CONFIG_SLM_HTTPC=y
# Enable Key Management Library
CONFIG_MODEM_KEY_MGMT=y

#Enable Debug symbols
CONFIG_DEBUG_OPTIMIZATIONS=y&lt;/pre&gt;&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: HTTPS connection using AT#XHTTPCCON fails to connect to server</title><link>https://devzone.nordicsemi.com/thread/306846?ContentTypeID=1</link><pubDate>Mon, 26 Apr 2021 14:11:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:003cd7c5-dfc2-4ee5-ac1c-af000887958f</guid><dc:creator>Heidi</dc:creator><description>&lt;p&gt;Hi!&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;First&amp;nbsp;question,&amp;nbsp;did you add&amp;nbsp;&lt;span&gt;CONFIG_SLM_HTTPC&lt;/span&gt;&lt;span&gt;=y to the prj.conf file, to enable the HTTP module in the SLM application?&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;In the meantime, I will take a look at the trace.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Heidi&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>