XUpload - IE uploads fail on files over 250K. Firefox succeeds

Message
Author
RayRay
Posts: 4
Joined: Aug 07, 2007 3:41 am

IE uploads fail on files over 250K. Firefox succeeds

#1 Postby RayRay » Aug 07, 2007 3:50 am

I'm running the free version 2.6 on an Apache server.

I can upload files smaller than 250K with both IE and Firefox. With Firefox I've uploaded a 4.9Mb file with no problem. But IE stops with files larger than 250K, all progress stops and then the 15 second timeout fires.
The Apache error log is:
[Mon Aug 6 20:39:58 2007] upload.cgi: CGI.pm: Server closed socket during multipart read (client aborted?).

Any suggestions for places to look to fix this?

User avatar
PilgrimX182
Posts: 2186
Joined: Mar 22, 2006 1:39 pm

#2 Postby PilgrimX182 » Aug 07, 2007 5:23 am

I think your server have script run time limitation, check if upload stops in exact same second every time. You can check Apache config for this or ask server administration.

RayRay
Posts: 4
Joined: Aug 07, 2007 3:41 am

#3 Postby RayRay » Aug 07, 2007 5:53 am

It does stop at (apparently) the same time.
But -- it does NOT stop when using Firefox, so it would seem that it can't be a server configuration, unless it is IE specific. By the way, it is stopping after about 5 seconds runtime.
When I look at the source for the popup I see that it is stopping after 160Kb have loaded although I have successfully uploaded files up to 220K.

User avatar
PilgrimX182
Posts: 2186
Joined: Mar 22, 2006 1:39 pm

#4 Postby PilgrimX182 » Aug 07, 2007 6:40 am

You're right about FireFox, sorry. Then yes, it looks like it's IE problem.
Try to update CGI.pm module, some people told this helped.
Try to disable firewall on your computer if you use any.

Do you have same error when trying to upload to our Demo script on our site?

RayRay
Posts: 4
Joined: Aug 07, 2007 3:41 am

#5 Postby RayRay » Aug 07, 2007 6:52 pm

I have not tried uploading to the demo site from the same computer/network.
I am at work right now and can upload to both the demo site and to my site without any problems. So it looks like there may be something funky with IE and the other network that does not affect Firefox.
This is going to be lovely to track down.
Thanks

RayRay
Posts: 4
Joined: Aug 07, 2007 3:41 am

#6 Postby RayRay » Aug 08, 2007 1:41 am

OK, I've tried the upload from my normal computer/network and it succeeds on the demo site, but fails on my site. Any comments?

User avatar
PilgrimX182
Posts: 2186
Joined: Mar 22, 2006 1:39 pm

#7 Postby PilgrimX182 » Aug 08, 2007 7:00 am

Update CGI.pm : in SSH bash enter "perl -MCPAN -e shell" then "install CGI" or simply copy CGI.pm file and CGI dir to XUpload folder from this location:
http://search.cpan.org/src/LDS/CGI.pm-3.29/

I hope this will help.