Question Agent failed when upload csv file via firefox

fengye

New Member
Hi All,
I tried to upload a csv file via firefox, an error appeared in log file.
Agent failed to receive data. Error -2 Invalid Header Read (15634)
This function works well in Chrome and IE.

Can you give some suggestion?

More info:
Tomcat 7
OpenEdge Release 11.2
Firefox 24.0
 

lee.bourne

Member
I don't think this is anything to do with Webspeed. How large is the CSV file? Could it be a timeout issue on the server side? Unfortunately I don't know Tomcat well enough to be able tell you what setting you would need to tweak to increase it.

Also, do you use the default browser file upload button or some custom JS to upload the file? I've had a lot of success with this code which seems to work well across browsers: http: //code.google.com/p/upload-at-click/

Lee
 

fengye

New Member
I don't think this is anything to do with Webspeed. How large is the CSV file? Could it be a timeout issue on the server side? Unfortunately I don't know Tomcat well enough to be able tell you what setting you would need to tweak to increase it.

Also, do you use the default browser file upload button or some custom JS to upload the file? I've had a lot of success with this code which seems to work well across browsers: http: //code.google.com/p/upload-at-click/

Lee

Hi Lee,

Thanks for your comment. It is just a 7kb CSV file. The fact that confused me is it works well in Chrome and IE, but cause error in Firefox. It seems that the post context in Firefox is different from that in Chrome and IE when the form's enctype is "multipart/form-data". That may cause this problem. But i have no idea how to fix it.....

By the way, everything is OK when using Apache, but failed using Tomcat. I don't know anything i should set..

I put another "tpye=hidden" input field in the same form. Does this may cause problems? Or the "multipart/form-data" type form should only contain a "file" type input field?
 
Last edited:
Top