Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

Strange server making rebol hang

 [1/3] from: hallvard::ystad::gmail::com at: 28-Dec-2005 21:56


Hello list I try to read www.viahardware.com (either / or /robots.txt) over http in rebol, but rebol hangs. Trying with Firefox or MSIE, it seems the site is doing a redirect to itself. The browsers keep reloading something. With my own rebol script retrieving HTTP headers, I seem to get this, from the site: [My headers:] GET /robots.txt HTTP/1.1 Host: www.viahardware.com connection: close [viahardware.com returns:] HTTP/1.1 200 OK Date: "Wed, 28 Dec 2005 20:49:10 GMT" Server: "Apache/1.3.33 (Unix) PHP/4.3.11-dev" X-Powered-By: "PHP/ 4.3.11-dev" X-Accelerated-By: "PHPA/1.3.3r2" Connection: "close" Transfer-Encoding: "chunked" Content-Ty pe: "text/plain" Setting trace/net on, I get this:
>> trace/net on >> t: read http://www.viahardware.com/
URL Parse: none none www.viahardware.com none none none Net-log: ["Opening" "tcp" "for" "HTTP"] connecting to: www.viahardware.com Net-log: {GET / HTTP/1.0 Accept: */* Connection: close User-Agent: REBOL Core 2.5.58.9.2 Host: www.viahardware.com } Net-log: "HTTP/1.1 302 Moved Temporarily" ...and then it hangs... So I don't really get any trace... Would anyone like to peek into this? Is it a bug? It does indeed seem that viahardware.com is acting a bit weird, but it still shouldn't make rebol hang. Doesn't rebol quit trying after about 4 redirects? OK, this has repeated itself many times, and it just did again, both on my windows machine and on an OpenBSD machine. But then just doing one more check before clicking "submit" on this email, it suddenly worked. This is soo irritating!... (I submit anyway, just in case anyone feels like looking into it...) HY

 [2/3] from: premshree:pillai::gmail at: 24-Jan-2006 4:30


On 12/29/05, Hallvard Ystad <hallvard.ystad-gmail.com> wrote:
> I try to read www.viahardware.com (either / or /robots.txt) over http in > rebol, but rebol hangs. Trying with Firefox or MSIE, it seems the site is
Probably too late, but hopefully this has been solved for you now, because I don't see any problems here. Premshree

 [3/3] from: hallvard:ystad::gmail at: 24-Jan-2006 12:12


Actually no. Pursuing the problem I found that other URL that I posted about yesterday. There was something about the headers that made rebol crash. Problem is, sometimes the server returns a 200OK header, at other times a 302 Redirect. And only the 302 header causes the crash. Probing the oprt object, I didn't manage to find anything. So if you feel like testing the other URL, from yesterday's email, please do. HY On 24/01/06, Premshree Pillai <premshree.pillai-gmail.com> wrote: