<br><br>On Sunday, May 6, 2012, prad wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">i'm trying to understand a consistent error i'm getting while using a<br>
racket program to get data from a website.<br>
<br>
i'm accessing the site to download certain posts using regexps and store<br>
them in sqlite3.<br>
<br>
things go perfectly till i accumulate 336 records and then this error<br>
crashes my script:</blockquote><div><br></div><div>Hi prad,</div><div><br></div><div>Are you doing the open-input-url in a loop, out of curiosity? If so, do you close the opened ports between each loop iteration?</div>
<div><br></div><div>336 is a very specific observation. Is it repeatable?</div><div><br></div><div> </div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
tcp-connect: connection to <a href="http://www.30bananasaday.com" target="_blank">www.30bananasaday.com</a>, port 80 failed; host<br>
not found (at step 1: Host name lookup failure; errno=2)<br>
<br>
so if it is a lookup failure that suggests the resolving server doesn't<br>
like me after a certain number of lookups within a specific period of<br>
time? is this reasoning correct?<br></blockquote><div><br></div><div>This particular error seems to be blaming host name lookup. As far as I understand, the error's occuring even before you program can contact the remote server, if I understand the error message. Odd. If it were some kind of deliberate rate limiting, I'd expect a different class of error message.<span></span></div>