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

Post Reply
nduvnjak
Posts: 40
Joined: Wed Feb 06, 2008 3:45 pm

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

Post 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.
User avatar
mark
Site Admin
Posts: 5519
Joined: Tue Apr 25, 2000 6:56 pm

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

Post 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.
aitchon
Posts: 119
Joined: Mon Jan 22, 2007 10:30 am

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

Post 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?
User avatar
mark
Site Admin
Posts: 5519
Joined: Tue Apr 25, 2000 6:56 pm

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

Post by mark »

Yes, it would affect all platforms.
Contact tech support with your version info to request
an upgrade.
Post Reply