Page 1 of 1

"Keep-Alive received" and "Timeout" errors after FETCH

Posted: Mon May 18, 2009 9:45 am
by nduvnjak
When I try to fetch this site:
<fetch 'http://www.acurazine.com/forums/forumdisplay.php?f=23'>

The first response is the error:
Keep-Alive received without Content-Length in response from www.acurazine.com:80 for http://www.acurazine.com/forums/forumdisplay.php?f=23

Then the script hangs there for 2-3 munutes, and reports another error:
Timeout reading from www.acurazine.com:80 in the function htbuf_readnblk

Strangely, after that the returned $ret seems to contain the valid html content, and my script can continue processing it.

So the only drawback is that the whole process takes a very long time (considering there might be many fetches).

How can I prevent those errors?

I tried : <vxcp timeout -1> , as well as <urlcp timeout nnn>

Thanks a lot.

"Keep-Alive received" and "Timeout" errors after FETCH

Posted: Mon May 18, 2009 10:32 am
by mark
Some servers erroneously indicate a keep-alive connection under some circumstances. In that case the client needs to wait for further data until the timeout.
Texis versions after 2008-05-06 workaround that problem.

"Keep-Alive received" and "Timeout" errors after FETCH

Posted: Mon May 18, 2009 10:52 am
by aitchon
Would this error happen on Linux version of Texis also? If so, can we get the latest version for both Windows and Linux?

"Keep-Alive received" and "Timeout" errors after FETCH

Posted: Mon May 18, 2009 11:58 am
by mark
Yes, it would affect all platforms.
Contact tech support with your version info to request
an upgrade.