<?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 Connect() timeout, 116</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/105393/https-connect-timeout-116</link><description>Hello, 
 Hoping that someone can help with some possible leads to further debug this issue. I&amp;#39;m new to the cellular world in general so any help in the right direction would be great. A little background: 
 Modem FW: v1.3.4 
 SDK Version: v2.4.2 
 Modem</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sat, 27 Jan 2024 13:45:14 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/105393/https-connect-timeout-116" /><item><title>RE: https Connect() timeout, 116</title><link>https://devzone.nordicsemi.com/thread/466329?ContentTypeID=1</link><pubDate>Sat, 27 Jan 2024 13:45:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:25628abc-cec8-46d2-b535-40a147d2e044</guid><dc:creator>egood</dc:creator><description>&lt;p&gt;We never really solve this issue, but have sense moved onto using an MQTT based system. Due to the different protocol we no longer are having the issue.&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: https Connect() timeout, 116</title><link>https://devzone.nordicsemi.com/thread/458928?ContentTypeID=1</link><pubDate>Tue, 05 Dec 2023 10:21:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:681359be-403c-47a6-8f24-8afa44af21e0</guid><dc:creator>Michal</dc:creator><description>&lt;p&gt;I have some input from the experts.&lt;/p&gt;
&lt;p&gt;It looks like there aren&amp;#39;t any issues on the modem FW side, but it may be more about the modem library used in application.&lt;/p&gt;
&lt;p&gt;Could you please turn on the logging in the modem library as shown in the &lt;a href="https://docs.nordicsemi.com/bundle/ncs-2.5.0/page/nrfxlib/nrf_modem/doc/logging.html"&gt;documentation&lt;/a&gt; and upload the log (as in the serial log, not modem trace, although you can upload both if you&amp;#39;d like).&lt;/p&gt;
&lt;p&gt;And just to clarify: you are using offloaded sockets, is that correct? In that case NET_SOCKETS_CONNECT_TIMEOUT will not do anything, as it is a config for the Zephyr sockets and not the ones used by the Modem FW.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Michal&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: https Connect() timeout, 116</title><link>https://devzone.nordicsemi.com/thread/458817?ContentTypeID=1</link><pubDate>Mon, 04 Dec 2023 18:09:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d58320c6-0e06-4152-aeab-85942e245780</guid><dc:creator>Michal</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I am very sorry that it is taking time.&lt;/p&gt;
&lt;p&gt;Me and my colleague have looked into the modem traces, but we couldn&amp;#39;t find anything specific related to those issues.&lt;/p&gt;
&lt;p&gt;I have now asked the modem team experts for their input as well.&lt;/p&gt;
&lt;p&gt;As before, please let me know if you have any more information in the meantime.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Michal&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: https Connect() timeout, 116</title><link>https://devzone.nordicsemi.com/thread/457385?ContentTypeID=1</link><pubDate>Fri, 24 Nov 2023 15:56:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:08a5584a-fc84-42fb-8c31-b5dcc3778da5</guid><dc:creator>Michal</dc:creator><description>&lt;p&gt;Did not progress much yet, but I am currently discussing it with my colleagues. If there is any more information from your side as well please let me know.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Michal&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: https Connect() timeout, 116</title><link>https://devzone.nordicsemi.com/thread/455836?ContentTypeID=1</link><pubDate>Wed, 15 Nov 2023 18:38:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:20ade0fa-6d86-49d0-9be2-5931026916e6</guid><dc:creator>egood</dc:creator><description>&lt;p&gt;Thanks for the update.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: https Connect() timeout, 116</title><link>https://devzone.nordicsemi.com/thread/455821?ContentTypeID=1</link><pubDate>Wed, 15 Nov 2023 16:29:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:968394b3-275f-4cd7-8976-816147e2a930</guid><dc:creator>Michal</dc:creator><description>&lt;p&gt;Hello again,&lt;/p&gt;
&lt;p&gt;Sorry for the delays, I have been looking into it, but did not progress much with my findings. I will ask our experts if they could provide some insight as well.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Michal&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: https Connect() timeout, 116</title><link>https://devzone.nordicsemi.com/thread/455153?ContentTypeID=1</link><pubDate>Fri, 10 Nov 2023 15:19:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dc4c6e08-ab93-4590-8cba-4219bf1f58e0</guid><dc:creator>Michal</dc:creator><description>&lt;p&gt;Ah, I am sorry, I thought they were some earlier test traces.&lt;/p&gt;
&lt;p&gt;I will look more into them after the weekend.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Michal&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: https Connect() timeout, 116</title><link>https://devzone.nordicsemi.com/thread/455022?ContentTypeID=1</link><pubDate>Thu, 09 Nov 2023 21:22:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7fa76fcb-3811-4adc-aa10-fd0a650ec8fb</guid><dc:creator>egood</dc:creator><description>&lt;p&gt;Michal,&lt;/p&gt;
&lt;p&gt;I have already sent over traces with the problem captured please read my above posts and see trace_2_cont.bin and trace_4.bin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: https Connect() timeout, 116</title><link>https://devzone.nordicsemi.com/thread/454971?ContentTypeID=1</link><pubDate>Thu, 09 Nov 2023 15:38:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eada6484-d5a9-4a9a-a977-423b8bc32e0e</guid><dc:creator>Michal</dc:creator><description>&lt;p&gt;Hello Eric,&lt;/p&gt;
&lt;p&gt;I took over the case from Susheel.&lt;/p&gt;
&lt;p&gt;I can also confirm that I can display the traces as well.&lt;/p&gt;
&lt;p&gt;Please let us know when you will have a capture of the issue.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Michal&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: https Connect() timeout, 116</title><link>https://devzone.nordicsemi.com/thread/454272?ContentTypeID=1</link><pubDate>Mon, 06 Nov 2023 15:38:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2ba6f09b-d144-4e7e-8c3f-b3f12274ae8a</guid><dc:creator>egood</dc:creator><description>&lt;p&gt;I managed to capture one additional example. This time it happened ~82Sec after reset and logging start I stopped the trace shortly after. This one has much less data to parse through.&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/Screenshot-2023_2D00_11_2D00_06-093654.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/trace_5F00_4.bin"&gt;devzone.nordicsemi.com/.../trace_5F00_4.bin&lt;/a&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: https Connect() timeout, 116</title><link>https://devzone.nordicsemi.com/thread/454269?ContentTypeID=1</link><pubDate>Mon, 06 Nov 2023 15:22:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:40f97ae0-b66a-4d8e-afe6-1aaaea8c5ca0</guid><dc:creator>egood</dc:creator><description>&lt;p&gt;Ok I managed to capture a trace with the connect() timeout occurring twice.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The first time at: 00:16:10.411&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1699283424980v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;The second time at 00:34:04.603&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1699283393457v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;The second one was strange in that it timed out after only 190mS? Where the first event timeout was right at the 10Sec mark which matches the socket connect timeout kconfig. This trace picks up at 841Secs just prior to these events. I had to restart the trace capture in segger RTT viewer as the command line capture tool, just stopped logging data at around that time.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I will work on getting another cleaner capture that logs from the start, but wanted to send this over to get things started.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/trace_5F00_2_5F00_cont.bin"&gt;devzone.nordicsemi.com/.../trace_5F00_2_5F00_cont.bin&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: https Connect() timeout, 116</title><link>https://devzone.nordicsemi.com/thread/454198?ContentTypeID=1</link><pubDate>Mon, 06 Nov 2023 13:00:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:355a0bfb-3c03-40cc-955c-e1aae824f2e7</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;That sounds like a plan, Eric.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: https Connect() timeout, 116</title><link>https://devzone.nordicsemi.com/thread/454193?ContentTypeID=1</link><pubDate>Mon, 06 Nov 2023 12:43:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:af216631-341b-40c8-ae61-0593949b4f7f</guid><dc:creator>egood</dc:creator><description>&lt;p&gt;After playing around a bit more it seem that I can open these trace files via &amp;quot;Load Trace file..&amp;quot; button in Cellular Monitor v2.0.1 and they seem to be displaying trace data.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I will attempt to capture a trace while the error is happening and report back once I have capture an instance of the issue.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/Screenshot-2023_2D00_11_2D00_06-064045.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: https Connect() timeout, 116</title><link>https://devzone.nordicsemi.com/thread/454191?ContentTypeID=1</link><pubDate>Mon, 06 Nov 2023 12:31:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:452df895-4911-4c09-8702-8fbebb14baec</guid><dc:creator>egood</dc:creator><description>&lt;p&gt;I took another stab at getting the trace collection working. I used the following&amp;nbsp;&lt;a id="i1" href="https://devzone.nordicsemi.com/f/nordic-q-a/104983/how-to-capture-nrf9160-modem-traces-using-rtt"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/104983/how-to-capture-nrf9160-modem-traces-using-rtt&lt;/a&gt;&amp;nbsp;As mentioned we only have one UART on our custom board and it&amp;#39;s dedicated to the LOG console so I used RTT instead.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Everything seems to work correctly, however I can&amp;#39;t open the .bin tracefile via the Cellular Monitor v2.0.1&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/Screenshot-2023_2D00_11_2D00_06-062851.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;I have attached two trace files that I collected. Can you verify they are correct and/or advise if these traces have been collected correctly? I want to make sure they I&amp;#39;m collecting them correctly before I invest the time to capture the using trace which as mentioned can be elusive.&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/modemtraces_5F00_test1.bin"&gt;devzone.nordicsemi.com/.../modemtraces_5F00_test1.bin&lt;/a&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/modemtrace_5F00_test2.bin"&gt;devzone.nordicsemi.com/.../modemtrace_5F00_test2.bin&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Thanks!&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: https Connect() timeout, 116</title><link>https://devzone.nordicsemi.com/thread/454165?ContentTypeID=1</link><pubDate>Mon, 06 Nov 2023 11:02:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e97c6dc1-4af6-4da8-94c4-5ebd8db896a1</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;Thanks for the detail description of the issue. We need a &lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fref_at_commands%2FREF%2Fat_commands%2Fmob_termination_ctrl_status%2Fxmodemtrace.html"&gt;modem trace&lt;/a&gt; to analyze what the problem is. Can you please enable and attach that here?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>