<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: MQX RTCS HTTPSRV + Internet Explorer problem in MQX Software Solutions</title>
    <link>https://community.nxp.com/t5/MQX-Software-Solutions/MQX-RTCS-HTTPSRV-Internet-Explorer-problem/m-p/350388#M11309</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have the same problem using MQX 4.1.1, however sometimes the page don't load CSS, PNG and other files. The problem occours after several hours powered on.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 26 Oct 2015 14:16:52 GMT</pubDate>
    <dc:creator>thiagow</dc:creator>
    <dc:date>2015-10-26T14:16:52Z</dc:date>
    <item>
      <title>MQX RTCS HTTPSRV + Internet Explorer problem</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/MQX-RTCS-HTTPSRV-Internet-Explorer-problem/m-p/350384#M11305</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have an application using httpsrv which runs well when accessed by Firefox and Chrome, however it gets 20 seconds to 1 minute lag (always multiples of 20 s - the socket timeout time) on "some" HTTP requests by Internet Explorer 11. As it is hard to convince the end user to adopt the browser of our choice, I'm trying to make it work with IE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The facts:&lt;/P&gt;&lt;P&gt;1. The problem happens if the page includes other files - in my case .js and .css files&lt;/P&gt;&lt;P&gt;2. The lag is due to the 20s session timeout - I have a max_ses of 2 (it doesn't matter how many I have, it crashes anyway) and when I stop the debugger during the problem both session tasks are stopped on "msg send"&lt;/P&gt;&lt;P&gt;3. Debugging it step by step I could find that both sessions are stuck trying to read data, and the recv function keeps returning TCP TIMEOUT error. It looks like the device is never receiving the GET request&lt;/P&gt;&lt;P&gt;4. IE requests lots of socket at once on connection beginning, and it looks like this is in some way interfering on httpsrv behavior. Wireshark shows the problem clearly:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="2015-03-02 17_17_57-ieproblem1.pcapng   [Wireshark 1.12.3  (v1.12.3-0-gbb3e9a0 from master-1.12)].png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/50954i3B05813C67982C3D/image-size/large?v=v2&amp;amp;px=999" role="button" title="2015-03-02 17_17_57-ieproblem1.pcapng   [Wireshark 1.12.3  (v1.12.3-0-gbb3e9a0 from master-1.12)].png" alt="2015-03-02 17_17_57-ieproblem1.pcapng   [Wireshark 1.12.3  (v1.12.3-0-gbb3e9a0 from master-1.12)].png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Observing the red flow, it can be seen that the GET was issued on time 0.001, this packet was ACKed by the device on 0.011 - however the data starts being transferred only on 40.06! This happens after 4 other sockets are aborted (ports 52138, 52139, 52140, 52141). After 40s everything works...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the page which I use to simulate the problem - it doesn't matter that the CSSs and JSs doesn't exist in the directory:&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid #000000; width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;test3.html&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'courier new', courier;"&gt;&amp;lt;!DOCTYPE html&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;&amp;lt;html lang="en"&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;&amp;nbsp; &amp;lt;head&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;&amp;nbsp; &amp;lt;meta charset="utf-8"&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;&amp;nbsp; &amp;lt;meta http-equiv="X-UA-Compatible" content="IE=edge"&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;&amp;nbsp; &amp;lt;meta name="viewport" content="width=device-width, initial-scale=1"&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;&amp;nbsp; &amp;lt;meta name="description" content=""&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;&amp;nbsp; &amp;lt;meta name="author" content=""&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;&amp;nbsp; &amp;lt;title&amp;gt;TEST3&amp;lt;/title&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt; line-height: 1.5em;"&gt;&amp;nbsp; &amp;lt;link href="xx.css" rel="stylesheet"&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;&amp;nbsp; &amp;lt;/head&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;&amp;nbsp; &amp;lt;body&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;&amp;nbsp; &amp;lt;h1&amp;gt; TEST PAGE &amp;lt;/h1&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt; line-height: 1.5em;"&gt;&amp;nbsp; &amp;lt;script src="yy.js"&amp;gt;&amp;lt;/script&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt; line-height: 1.5em;"&gt;&amp;nbsp; &amp;lt;script src="zz.js"&amp;gt;&amp;lt;/script&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;&amp;nbsp; &amp;lt;/body&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'courier new', courier;"&gt;&amp;lt;/html&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've seen a similar bug on an old MQX installation reported in this thread: &lt;A href="https://community.nxp.com/message/360958"&gt;Re: Can't open HTTPSRV web pages. Explorer keeps in waiting&lt;/A&gt;&lt;/P&gt;&lt;P&gt;However I've found that the suggestions in this task were already adopted on the MQX installation I'm using.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using Kinetis SDK RTCS (MQX_KSDK_1.0.0) and MQX 4.1.1 (I've ported RTCS from KSDK to MQX 4.1.1 to get Websocket functions - however the changes I've done are minimal - I doubt there is any influence).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks very much, I appreciate any help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Mar 2015 20:31:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/MQX-RTCS-HTTPSRV-Internet-Explorer-problem/m-p/350384#M11305</guid>
      <dc:creator>lfschrickte</dc:creator>
      <dc:date>2015-03-02T20:31:17Z</dc:date>
    </item>
    <item>
      <title>Re: MQX RTCS HTTPSRV + Internet Explorer problem</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/MQX-RTCS-HTTPSRV-Internet-Explorer-problem/m-p/350385#M11306</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Luiz,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please try to use RTCS from MQX 4.1.2. I know that it is mentioned as Vybrid only release, but RTCS code is not platform dependent and there are more bugfixes and websocket functionality too.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Karel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Mar 2015 09:14:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/MQX-RTCS-HTTPSRV-Internet-Explorer-problem/m-p/350385#M11306</guid>
      <dc:creator>karelm_</dc:creator>
      <dc:date>2015-03-05T09:14:43Z</dc:date>
    </item>
    <item>
      <title>Re: MQX RTCS HTTPSRV + Internet Explorer problem</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/MQX-RTCS-HTTPSRV-Internet-Explorer-problem/m-p/350386#M11307</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The problem was solved using RTCS from Vybrid?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Oct 2015 13:57:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/MQX-RTCS-HTTPSRV-Internet-Explorer-problem/m-p/350386#M11307</guid>
      <dc:creator>thiagow</dc:creator>
      <dc:date>2015-10-26T13:57:43Z</dc:date>
    </item>
    <item>
      <title>Re: MQX RTCS HTTPSRV + Internet Explorer problem</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/MQX-RTCS-HTTPSRV-Internet-Explorer-problem/m-p/350387#M11308</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thiago, please check the answer I've provided here:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/message/580273"&gt;Re: MQX 4 - HTTPSRV : sockets stay opened&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Copying the important part:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;I've fixed this issue by setting max sessions parameter (params.max_ses) to 6 on httpd - because IE can open 6 connections at once and the HTTP server must be ready to answer on any of them (IE opens 6 sockets but doesn't make requisitions on all of them - so if you have, for instance, max sessions set to 2 and on a request IE decides to make the first request on any of the other 4 connections you are in trouble).&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;IMPORTANT:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;The RTCS max sockets, PCB connections should be set accordingly! You should have enough memory as well!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Oct 2015 14:08:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/MQX-RTCS-HTTPSRV-Internet-Explorer-problem/m-p/350387#M11308</guid>
      <dc:creator>lfschrickte</dc:creator>
      <dc:date>2015-10-26T14:08:00Z</dc:date>
    </item>
    <item>
      <title>Re: MQX RTCS HTTPSRV + Internet Explorer problem</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/MQX-RTCS-HTTPSRV-Internet-Explorer-problem/m-p/350388#M11309</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have the same problem using MQX 4.1.1, however sometimes the page don't load CSS, PNG and other files. The problem occours after several hours powered on.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Oct 2015 14:16:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/MQX-RTCS-HTTPSRV-Internet-Explorer-problem/m-p/350388#M11309</guid>
      <dc:creator>thiagow</dc:creator>
      <dc:date>2015-10-26T14:16:52Z</dc:date>
    </item>
    <item>
      <title>Re: MQX RTCS HTTPSRV + Internet Explorer problem</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/MQX-RTCS-HTTPSRV-Internet-Explorer-problem/m-p/350389#M11310</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, it looks that increasing max sessions paramters to 6 decrease the times that the problem occours.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Oct 2015 15:34:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/MQX-RTCS-HTTPSRV-Internet-Explorer-problem/m-p/350389#M11310</guid>
      <dc:creator>thiagow</dc:creator>
      <dc:date>2015-10-29T15:34:30Z</dc:date>
    </item>
  </channel>
</rss>

