LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Mozilla/Firefox "Document contains no data" (https://www.linuxquestions.org/questions/linux-software-2/mozilla-firefox-document-contains-no-data-270920/)

e88z4 12-27-2004 04:54 PM

Mozilla/Firefox "Document contains no data"
 
Hi,
Does anyone have with this error in Mozilla or Firefox
Quote:

Document contains no data
I went to Ebay, everytime I used their search engine I got that error.

There was a suggestion from mozilla forums to change this line in the configuration
Quote:

browser.xul.error_pages.enable = true
but it didn't help at all.

It also suggested that firewall might be the problem, so in my linux gateway I changed my iptables rules to ACCEPT all the connection.
Quote:

Chain INPUT (policy ACCEPT)
target prot opt source destination

Chain FORWARD (policy ACCEPT)
target prot opt source destination

Chain OUTPUT (policy ACCEPT)
target prot opt source destination
For your information, my linux gateway serves two machines, one running linux and the other is windows. This problem only occured in my linux machines with Mozilla and Mozilla Firefox.

Does anyone have any suggestion?

Thanks

flipcode 12-27-2004 06:15 PM

Can you post your entire firewall script and a description of your LAN design?

e88z4 12-27-2004 06:43 PM

For troubleshooting purpose, I created the script bellow so that there are no rules which can possibly blocking the connection.

My LAN design:
I have 3 computers, one is linux gateway which is connected to my ISP and the other two computers. My second computer is running Linux and connected to this gateway, so does the others which running windows XP.

Code:

#!/bin/sh
IPTABLES=/sbin/iptables

$IPTABLES -F INPUT
$IPTABLES -F OUTPUT
$IPTABLES -F FORWARD
$IPTABLES -P INPUT ACCEPT
$IPTABLES -P OUTPUT ACCEPT
$IPTABLES -P FORWARD ACCEPT


IraB 12-27-2004 09:31 PM

document contains no data
 
For what is's worth, I get that also. I am unable to offer a fix for it, it is just something that has been happening on this box. This is a stand alone, running FC3, Mozilla/firefox 1.0 and the FC3 firewall.....seems that when it takes a while for page to load is when it happens. I added a zero to the cashe for a total of 500,000 kb..
Not much help I know.....

e88z4 12-27-2004 10:25 PM

I tried to access ebay from my windows machine, it worked. It seems there is something different in the configuration between Firefox 1.0 in win32 and Linux. We can opt out the firewall issue here because both machines shares the common gateway with the same iptables rules.

Flushing the cache in Firefox did not solve the problem either.

flipcode 12-28-2004 03:12 AM

Are you running squid? If not, try running that and analyse the logs. You may see several MISS/00 entries which from memory is a problem with an unknown fix.

I was having the same problems. Nobody could seem to help me.

I doubt squid alone will fix the problem, but I have to assume that the network configuration on both the windows and linux machine are the same (netmask, gateway, dns, etc).

Also, make sure that you are not viewing SSL pages and that there isn't a difference in SSL timeouts.

Are you able to try using perhaps Opera on the Linux box to see if it is indeed a Mozilla oriented problem?

Also, I don't know if this is possible, but are you able to turn on a verbose logging in your apparently faulty browsers? If so, do that as it might lead you to an answer. Perhaps a debug mode?

For the record, I just ignored the support calls for this problem within my network and after a while the problem went away. Interestingly though, this was occuring on Windows machines using Internet Explorer.

e88z4 12-28-2004 10:54 AM

I am not running squid or any type or proxy.

I have a spare hardrive then I installed win xp as the second hardrive on my linux box so the machine was dual booted. Mozilla/Firefox did not have this problem.

Another test was installing IE running under WINE and used Epiphany on my linux machine. Both had the same problem. As your info that on my linux itself I have IPTABLES but all the policy are ACCEPT

Quote:

Chain INPUT (policy ACCEPT)
target prot opt source destination

Chain FORWARD (policy ACCEPT)
target prot opt source destination

Chain OUTPUT (policy ACCEPT)
target prot opt source destination
This are the routing tables

Quote:

Chain PREROUTING (policy ACCEPT)
target prot opt source destination

Chain POSTROUTING (policy ACCEPT)
target prot opt source destination

Chain OUTPUT (policy ACCEPT)
target prot opt source destination
The page I saw was not SSL pages. I went to Ebay and only used their search engine.
Do you know how to run Firefox under debug mode?

flipcode 12-28-2004 08:18 PM

No I don't know how to do it under debug mode.

Did Opera exhibit the same problem?

e88z4 12-28-2004 09:14 PM

I had the same behaviour with Opera. What I noticed was all browser (Mozilla, Firefox, Opera, IE, Epiphany) stucked at the same place. I could saw half of page which they were trying to display. I must miss something silly.

jaa1180 01-19-2005 04:28 PM

I have the same problem with linux web browsers from my machine. On my wife's laptop (XP) it is fine. I replaced the router and it is much faster but it will not work on ebay. I am going to clear out the cache and see if that helps. Any other suggestions??

Ruler2112 01-20-2005 12:08 PM

I have had the same problem with Mozilla on both win and linux at home and at work. Seems to happen with orifacemax's ad page quite a bit. Reloading the page usually makes the problem disappear. (Again, no fix; only peace of mind in knowing that you are not alone. ;) )

malharsire 01-21-2005 10:07 PM

Same problem on Mandrake
 
I am having the same problem on Mandrake. Windows machine sitting alongside is completely fine! AM gatewayed thru DSL router. THis problem is driving me nuts!!. It seems every second click says "Document contains No data". Was working fine just the other day. I am using Firefox - also tried Epiphany same problem....

jaa1180 01-24-2005 11:02 PM

I cleaned out the cache and that did not help. I replaced my router, needed replacing, and that did not help. What could be going on? I go to ebay and the browser LOCKS on me. Everytime! My wife is running Fedora Core 3 and it is working fine for her. ?? What is the deal here?

Is there a reset command or perhaps reinstalling?

madhead 02-04-2005 07:03 AM

I've justed started getting this too !
 
I have also this problem on Linux mandrake 10.1 and all updates.
The fonts are screwed now too.

What ISP's are you using?
I'm using NTL.
What I did find was that by making the proxy settings point to an ntl proxy on port 8080 ntl no longer routed me through a transparent proxy server which it does apparently under normal use. This is really annoying its only just started happening.

Andy
:mad: :study: :confused:

Update:.... I was getting this problem on this site using mozilla 1.7.2 and after changing the HTTP proxy settings manually to asfd-cache-2.server.ntli.net port 8080 it cures the problem.

Sounds like a problem with the proxies that NTL are using.

BruceCadieux 02-04-2005 07:44 AM

I did a simple google search on it, the answer was to clear the cahce in the browser. Worked great for me.


All times are GMT -5. The time now is 04:11 AM.