PhpDig.net

Go Back   PhpDig.net > PhpDig Forums > Troubleshooting

Reply
 
Thread Tools
Old 07-31-2004, 11:24 PM   #1
JÿGius³
Green Mole
 
Join Date: Oct 2003
Posts: 17
Connection closed by remote server

Hi all.

I'm using Opera and whenever I start the spider once in a while
I get this ugly messag. Usually, it appears after 5 minutes (9 indexed
pages).
The Opera web site says...
The server sent a "Content-Length" HTTP header saying it would send "n" bytes but only sent "n-x", x being a positive, non-zero number.

Any Ideas?


Bye :-)

JÿGius³
JÿGius³ is offline   Reply With Quote
Old 08-01-2004, 12:34 AM   #2
Charter
Head Mole
 
Charter's Avatar
 
Join Date: May 2003
Posts: 2,539
http://www.opera.com/support/search/....dml?index=170
__________________
Responses are offered on a voluntary if/as time is available basis, no guarantees. Double posting or bumping threads will not get your question answered any faster. No support via PM or email, responses not guaranteed. Thank you for your comprehension.
Charter is offline   Reply With Quote
Old 08-01-2004, 01:19 AM   #3
JÿGius³
Green Mole
 
Join Date: Oct 2003
Posts: 17
Hi

And so? I know this page... I also included part of it.
mmmmh.....
This problem occurs also with lynx.
The problem is for 'dig 1.8.3.

'dig 1.8.0 has no problems.

Bye.


JÿGius³

Last edited by JÿGius³; 08-01-2004 at 01:21 AM.
JÿGius³ is offline   Reply With Quote
Old 08-01-2004, 01:48 AM   #4
Charter
Head Mole
 
Charter's Avatar
 
Join Date: May 2003
Posts: 2,539
Hi. I don't believe this to be a PhpDig problem. I don't think that PhpDig is trying to reopen an already opened connection. I think that the server said that it was going to send a certain number of bytes, and then went ahead and sent a different number of bytes, ergo the message. The reason that this shows now is probably because PhpDig 1.8.3 sends and receives headers when retrieving page content, whereas PhpDig 1.8.0 didn't deal with headers when retrieving page content. Perhaps try PhpDig on something other than through a proxy server and see if the message goes away. If the server is in fact sending bad data, what is PhpDig to do?
__________________
Responses are offered on a voluntary if/as time is available basis, no guarantees. Double posting or bumping threads will not get your question answered any faster. No support via PM or email, responses not guaranteed. Thank you for your comprehension.
Charter is offline   Reply With Quote
Old 08-01-2004, 10:30 AM   #5
JÿGius³
Green Mole
 
Join Date: Oct 2003
Posts: 17
HI:-)

Quote:
The reason that this shows now is probably because PhpDig 1.8.3 sends and receives headers when retrieving page content, whereas PhpDig 1.8.0 didn't deal with headers when retrieving page content.
Well. Where is the code that does this?
Would do you tell me? So I can investigate the problem.

Ciao ciao.

Thanks.

JÿGius³
JÿGius³ is offline   Reply With Quote
Old 08-01-2004, 10:36 AM   #6
Charter
Head Mole
 
Charter's Avatar
 
Join Date: May 2003
Posts: 2,539
It is function phpdigGetUrl in the robot_functions.php file. Make sure you have the robot_functions.php file from this post.
__________________
Responses are offered on a voluntary if/as time is available basis, no guarantees. Double posting or bumping threads will not get your question answered any faster. No support via PM or email, responses not guaranteed. Thank you for your comprehension.
Charter is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Remote Screen Shots jmitchell Coding & Tutorials 6 01-09-2005 01:30 PM
Fetching results from remote CGI program? dnuttall How-to Forum 2 12-16-2004 03:52 AM
how to continue spidering when connection was been broken zaartix How-to Forum 7 12-09-2004 07:18 AM
Connection Failed maxie Script Installation 1 12-03-2004 05:24 AM


All times are GMT -8. The time now is 05:16 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright © 2001 - 2005, ThinkDing LLC. All Rights Reserved.