<?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>Problems with setting up https client</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/110825/problems-with-setting-up-https-client</link><description>Hello, 
 We have started to develop a new sw using nRF9160. We have pretty bad problems with setting up http(s) connection. In the end I needed up trying with https client sample application. On dev board it somewhat works (name resolution fails, but</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 08 May 2024 13:51:24 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/110825/problems-with-setting-up-https-client" /><item><title>RE: Problems with setting up https client</title><link>https://devzone.nordicsemi.com/thread/482552?ContentTypeID=1</link><pubDate>Wed, 08 May 2024 13:51:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8689ec67-b65f-4e7f-a33f-9f7a855ad68b</guid><dc:creator>Naeem Maroof</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The error 111 means the connection is refused.&lt;/p&gt;
&lt;p&gt;Searching for connection refused, the common issue can be when the SSL certificates are invalid or incorrectly configured.&lt;/p&gt;
&lt;p&gt;So the suggestion would be to check the certificates; otherwise get a modem trace.&lt;/p&gt;
&lt;p&gt;You may also look at these tickets as they talk about same/similar issues:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/support-private/support/289883"&gt;CONNECT Client 111 Error&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/support-private/support/261032"&gt;Connect Error 45 Certificates&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problems with setting up https client</title><link>https://devzone.nordicsemi.com/thread/482069?ContentTypeID=1</link><pubDate>Mon, 06 May 2024 13:50:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bc4bcaf2-4e66-4f7b-9db4-e1f5ff6ac2a9</guid><dc:creator>veli-pekka</dc:creator><description>&lt;p&gt;Yes, we are now using version 1.3.6. Next problem seems to be that the connection to example.com fails:&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;[00:00:00.624,176] &amp;lt;inf&amp;gt; modem: Provisioning certificate&lt;/p&gt;
&lt;p&gt;[00:00:00.624,206] &amp;lt;inf&amp;gt; modem: Connecting to the network&lt;/p&gt;
&lt;p&gt;[00:00:04.496,520] &amp;lt;inf&amp;gt; modem: Network connectivity established and IP address assigned&lt;/p&gt;
&lt;p&gt;[00:00:04.496,582] &amp;lt;inf&amp;gt; modem: Looking up example.com&lt;/p&gt;
&lt;p&gt;[00:00:04.615,234] &amp;lt;inf&amp;gt; modem: Resolved 93.184.215.14 (AF_INET)&lt;/p&gt;
&lt;p&gt;[00:00:04.615,600] &amp;lt;inf&amp;gt; modem: Connecting to example.com:443&lt;/p&gt;
&lt;p&gt;[00:00:04.871,520] &amp;lt;inf&amp;gt; modem: connect() failed, err: 111&lt;br /&gt;&lt;br /&gt;What should I check next? Example.com sertificate seems to have changed in the end of January and I updated it, but it didn&amp;#39;t help.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problems with setting up https client</title><link>https://devzone.nordicsemi.com/thread/481987?ContentTypeID=1</link><pubDate>Mon, 06 May 2024 11:14:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2a661cd9-8d6d-4ae0-bcce-6874dd06666c</guid><dc:creator>Naeem Maroof</dc:creator><description>&lt;p&gt;Hi &lt;a href="https://devzone.nordicsemi.com/members/veli_2d00_pekka"&gt;veli-pekka&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Did you update to the latest MFW? Do you still have issues as previously? what is current status of your project?&lt;/p&gt;
&lt;p&gt;Also, are there any issues on the dev-kit running the project?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problems with setting up https client</title><link>https://devzone.nordicsemi.com/thread/481701?ContentTypeID=1</link><pubDate>Fri, 03 May 2024 07:57:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:46714070-aa3a-4c65-998f-adf148ee9cf1</guid><dc:creator>veli-pekka</dc:creator><description>&lt;p&gt;This in fact was the reason. For some reason we got modules with very old modem fw version.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problems with setting up https client</title><link>https://devzone.nordicsemi.com/thread/481674?ContentTypeID=1</link><pubDate>Fri, 03 May 2024 07:02:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1404e636-76fb-43d1-9c8b-6a0a973155af</guid><dc:creator>veli-pekka</dc:creator><description>&lt;p&gt;btw. the dev board seems to have revision &amp;quot;mfw_nrf9160_1.3.5&amp;quot;. Could this be the reason?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problems with setting up https client</title><link>https://devzone.nordicsemi.com/thread/481671?ContentTypeID=1</link><pubDate>Fri, 03 May 2024 06:52:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:243affd5-2ec9-4e4e-bc8c-6a323cd50320</guid><dc:creator>veli-pekka</dc:creator><description>&lt;p&gt;The problem seems to be AT command&amp;nbsp;AT+CPSMS= &amp;nbsp;which returns an error. Otherwise AT commands seem to be working, for example AT+CGMR returns &amp;quot;mfw-pti_nrf9160_1.1.6&amp;quot;&lt;/p&gt;
&lt;div&gt;&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>