<?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 Open() Time Out Error in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Open-Time-Out-Error/m-p/16986#M15493</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a script that runs: &lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: black;"&gt;text &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: navy;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: #0000dd;"&gt;Open&lt;/SPAN&gt;&lt;STRONG style="color: black; font-size: 10.0pt; font-family: Consolas;"&gt;(&lt;/STRONG&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: black;"&gt;URL&lt;STRONG&gt;)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: navy;"&gt;; &lt;/SPAN&gt;and it works fine for the majority of all cases.&amp;nbsp; The URL is a link to a python script that returns data in comma delineated text format.&amp;nbsp; The problem I'm facing is every now and then the python script may take a while and the open() times out in JSL.&amp;nbsp; I get the error:&amp;nbsp; &lt;/P&gt;&lt;P&gt;"Unable to read data from URL:&amp;nbsp; &lt;/P&gt;&lt;P&gt;Internet Error: 12002 (The operation timed out)"&lt;/P&gt;&lt;P&gt;When heading to the URL in a browser the data returns just fine.&amp;nbsp; Is there anyway to manipulate the JSL timeout parameter?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 12 Feb 2016 23:44:52 GMT</pubDate>
    <dc:creator>msharp</dc:creator>
    <dc:date>2016-02-12T23:44:52Z</dc:date>
    <item>
      <title>Open() Time Out Error</title>
      <link>https://community.jmp.com/t5/Discussions/Open-Time-Out-Error/m-p/16986#M15493</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a script that runs: &lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: black;"&gt;text &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: navy;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: #0000dd;"&gt;Open&lt;/SPAN&gt;&lt;STRONG style="color: black; font-size: 10.0pt; font-family: Consolas;"&gt;(&lt;/STRONG&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: black;"&gt;URL&lt;STRONG&gt;)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: navy;"&gt;; &lt;/SPAN&gt;and it works fine for the majority of all cases.&amp;nbsp; The URL is a link to a python script that returns data in comma delineated text format.&amp;nbsp; The problem I'm facing is every now and then the python script may take a while and the open() times out in JSL.&amp;nbsp; I get the error:&amp;nbsp; &lt;/P&gt;&lt;P&gt;"Unable to read data from URL:&amp;nbsp; &lt;/P&gt;&lt;P&gt;Internet Error: 12002 (The operation timed out)"&lt;/P&gt;&lt;P&gt;When heading to the URL in a browser the data returns just fine.&amp;nbsp; Is there anyway to manipulate the JSL timeout parameter?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Feb 2016 23:44:52 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Open-Time-Out-Error/m-p/16986#M15493</guid>
      <dc:creator>msharp</dc:creator>
      <dc:date>2016-02-12T23:44:52Z</dc:date>
    </item>
    <item>
      <title>Re: Open() Time Out Error</title>
      <link>https://community.jmp.com/t5/Discussions/Open-Time-Out-Error/m-p/16987#M15494</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I wrote a small PHP script to test this, but I'm not sure I'm testing the right thing.&amp;nbsp; It delivers a small amount of data, once a second, without breaking the connection, forever.&amp;nbsp; It ran 2500 seconds before I disconnected the ethernet to see the results:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;open("&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.jmp.com/external-link.jspa?url=http://ExampleNotReallyHere.com/forever.php" rel="nofollow" target="_blank"&gt;http://ExampleNotReallyHere.com/forever.php&lt;/A&gt;&lt;SPAN&gt;")&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"&amp;lt;!DOCTYPE html&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;html&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;body&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;br&amp;gt;10000000 10000001 10000002 10000003 10000004 ... 10002518 10002519 &amp;lt;br&amp;gt;10002520 "&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here's the PHP:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;!DOCTYPE html&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;html&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;body&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;?php&lt;/P&gt;&lt;P&gt;for($i=10000000;$i&amp;lt;99999999;$i++) {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if( ( $i % 20 ) == 0 ) {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; echo "&amp;lt;br&amp;gt;";&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; echo "$i ";&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; flush();&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ob_flush();&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; sleep(1);&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;?&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/body&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/html&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 13 Feb 2016 15:18:04 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Open-Time-Out-Error/m-p/16987#M15494</guid>
      <dc:creator>Craige_Hales</dc:creator>
      <dc:date>2016-02-13T15:18:04Z</dc:date>
    </item>
    <item>
      <title>Re: Open() Time Out Error</title>
      <link>https://community.jmp.com/t5/Discussions/Open-Time-Out-Error/m-p/16988#M15495</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We got a similar 'Internet Error: 12002 (The operation timed out)' message trying to use a REST API... and we ended up having to modify the registry. We were getting timeouts after ~30 seconds.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We used some of these references in our troubleshooting.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;WINHTTP_OPTION_RECEIVE_TIMEOUT section of (&lt;A href="https://msdn.microsoft.com/en-us/library/windows/desktop/aa384066(v=vs.85).aspx" title="https://msdn.microsoft.com/en-us/library/windows/desktop/aa384066(v=vs.85).aspx" rel="nofollow noopener noreferrer" target="_blank"&gt;Option Flags (Windows)&lt;/A&gt;).&lt;/LI&gt;&lt;LI&gt;WinINet API section of (&lt;A href="https://support.microsoft.com/en-us/kb/181050" title="https://support.microsoft.com/en-us/kb/181050" rel="nofollow noopener noreferrer" target="_blank"&gt;https://support.microsoft.com/en-us/kb/181050&lt;/A&gt;). &lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We ended up modifying the registry (with JSL) to extend the timeout... see my post at &lt;A href="https://community.jmp.com/message/225323" target="_blank"&gt;Re: Calling RESTful Web Services from JMP&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, -Landon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Oct 2016 13:24:20 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Open-Time-Out-Error/m-p/16988#M15495</guid>
      <dc:creator>landon</dc:creator>
      <dc:date>2016-10-28T13:24:20Z</dc:date>
    </item>
  </channel>
</rss>

