Http Request send occassional fail Firefox
uncaught exception: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIXMLHttpRequest.send]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: http://127.0.0.1:8501/aw255runtime/source/lib/http/request.js :: anonymous :: line 200" data: no]
Anyone got any ideas why the request.send should sometimes fail in FF?
0x80004005 (NS_ERROR_FAILURE) [nsIXMLHttpRequest.send]
In the end I tracked it down to the maximum size of a HTTP header. I am using headers to send back data from a database. If the data being returned in a single header grew beyond ~10,000 bytes firefox just gives up and you get nothing in firebug to say what happened.
Partitioning large blobs of data into a number of smaller packets, each in its own header, solved the problem.
If anyone knows what the maximum header size FF3 can manage that would be helpful. I couldn't find that through Google so the byte limit I used was found by trial and error.
Have you tried changing any/some of Mozilla preferences ?
Just a thought
I haven't, but since it would be a headache to ensure all the users of the app had their browser set up a certain way, I wouldn't want to go down that route unless I had too. Thanks for the thought, though.
This topic is archived.
Back to support forum
Version 2Looking for AW 2.6 ?
The old site is here.