Various updates, including 7 or 8 new FAQs, and updates/changes to various
[privoxy.git] / doc / webserver / faq / trouble.html
1 <HTML
2 ><HEAD
3 ><TITLE
4 >Troubleshooting</TITLE
5 ><META
6 NAME="GENERATOR"
7 CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
8 "><LINK
9 REL="HOME"
10 TITLE="Privoxy Frequently Asked Questions"
11 HREF="index.html"><LINK
12 REL="PREVIOUS"
13 TITLE="Miscellaneous"
14 HREF="misc.html"><LINK
15 REL="NEXT"
16 TITLE="Contacting the developers, Bug Reporting and Feature Requests"
17 HREF="contact.html"><LINK
18 REL="STYLESHEET"
19 TYPE="text/css"
20 HREF="../p_doc.css"></HEAD
21 ><BODY
22 CLASS="SECT1"
23 BGCOLOR="#EEEEEE"
24 TEXT="#000000"
25 LINK="#0000FF"
26 VLINK="#840084"
27 ALINK="#0000FF"
28 ><DIV
29 CLASS="NAVHEADER"
30 ><TABLE
31 SUMMARY="Header navigation table"
32 WIDTH="100%"
33 BORDER="0"
34 CELLPADDING="0"
35 CELLSPACING="0"
36 ><TR
37 ><TH
38 COLSPAN="3"
39 ALIGN="center"
40 >Privoxy Frequently Asked Questions</TH
41 ></TR
42 ><TR
43 ><TD
44 WIDTH="10%"
45 ALIGN="left"
46 VALIGN="bottom"
47 ><A
48 HREF="misc.html"
49 ACCESSKEY="P"
50 >Prev</A
51 ></TD
52 ><TD
53 WIDTH="80%"
54 ALIGN="center"
55 VALIGN="bottom"
56 ></TD
57 ><TD
58 WIDTH="10%"
59 ALIGN="right"
60 VALIGN="bottom"
61 ><A
62 HREF="contact.html"
63 ACCESSKEY="N"
64 >Next</A
65 ></TD
66 ></TR
67 ></TABLE
68 ><HR
69 ALIGN="LEFT"
70 WIDTH="100%"></DIV
71 ><DIV
72 CLASS="SECT1"
73 ><H1
74 CLASS="SECT1"
75 ><A
76 NAME="TROUBLE"
77 ></A
78 >5. Troubleshooting</H1
79 ><DIV
80 CLASS="SECT2"
81 ><H3
82 CLASS="SECT2"
83 ><A
84 NAME="AEN829"
85 ></A
86 >5.1. I am getting <SPAN
87 CLASS="QUOTE"
88 >"connection refused"</SPAN
89 >
90 with every web page?</H3
91 ><P
92 > Either <SPAN
93 CLASS="APPLICATION"
94 >Privoxy</SPAN
95 > is not running, or your 
96  browser is configured for a different port than what
97  <SPAN
98 CLASS="APPLICATION"
99 >Privoxy</SPAN
100 > is using.</P
101 ><P
102 > Early <SPAN
103 CLASS="APPLICATION"
104 >Privoxy</SPAN
105 > versions (and also
106  <SPAN
107 CLASS="APPLICATION"
108 >Junkbuster</SPAN
109 >) used port 8000 by 
110  default. This has been changed to port 8118 now, due to a conflict 
111  with NAS (Network Audio Service), which uses port 8000. If you haven't, 
112  you need to change your browser to the new port number, or alternately 
113  change the <A
114 HREF="../user-manual/config.html#LISTEN-ADDRESS"
115 TARGET="_top"
116 ><TT
117 CLASS="LITERAL"
118 >listen-address</TT
119 >
120  option</A
121 > in <SPAN
122 CLASS="APPLICATION"
123 >Privoxy's</SPAN
124 > <A
125 HREF="../user-manual/config.html"
126 TARGET="_top"
127 >main configuration file</A
128 >.</P
129 ></DIV
130 ><DIV
131 CLASS="SECT2"
132 ><H3
133 CLASS="SECT2"
134 ><A
135 NAME="AEN842"
136 ></A
137 >5.2. I just added a new rule, but the steenkin ad is 
138 still getting through. How?</H3
139 ><P
140 > If the ad had been displayed before you added its URL, it will probably be
141  held in the browser's cache for some time, so it will be displayed without
142  the need for any request to the server, and <SPAN
143 CLASS="APPLICATION"
144 >Privoxy</SPAN
145 >
146  will not be in the picture. The best thing to do is try flushing the browser's
147  caches. And then try again.</P
148 ><P
149 > If this doesn't help, you probably have an error in the rule you
150  applied. Try pasting the full URL of the offending ad into <A
151 HREF="http://config.privoxy.org/show-url-info"
152 TARGET="_top"
153 >http://config.privoxy.org/show-url-info</A
154 >
155  and see if it really matches your new rule. Blocking ads is like blocking
156  spam: a lot of tinkering is required to stay ahead of the game.</P
157 ></DIV
158 ><DIV
159 CLASS="SECT2"
160 ><H3
161 CLASS="SECT2"
162 ><A
163 NAME="BADSITE"
164 ></A
165 >5.3. One of my favorite sites does not work with <SPAN
166 CLASS="APPLICATION"
167 >Privoxy</SPAN
168 >.
169 What can I do?</H3
170 ><P
171 > First verify that it is indeed a <SPAN
172 CLASS="APPLICATION"
173 >Privoxy</SPAN
174 > problem, 
175  by toggling off <SPAN
176 CLASS="APPLICATION"
177 >Privoxy</SPAN
178 > through <A
179 HREF="http://config.privoxy.org/toggle"
180 TARGET="_top"
181 >http://config.privoxy.org/toggle</A
182 >,
183  and then shift-reloading the problem page (i.e. holding down the shift key
184  while clicking reload. Alternatively, flush your browser's disk and memory
185  caches).</P
186 ><P
187 > If still a problem, go to <A
188 HREF="http://config.privoxy.org/show-url-info"
189 TARGET="_top"
190 >http://config.privoxy.org/show-url-info</A
191 >
192  and paste the full URL of the page in question into the prompt. See which actions
193  are being applied to the URL, and which matches in which actions files are
194  responsible for that. Now, armed with this information, go to <A
195 HREF="http://config.privoxy.org/show-status"
196 TARGET="_top"
197 >http://config.privoxy.org/show-status</A
198 >
199  and select the appropriate actions files for editing.</P
200 ><P
201 > You can now either look for a section which disables the actions that
202  you suspect to cause the problem and add a pattern for your site there,
203  or make up a completely new section for your site. In any case, the recommended
204  way is to disable only the prime suspect, reload the problem page, and only
205  if the problem persists, disable more and more actions until you have
206  identified the culprit. You may or may not want to turn the other actions
207  on again. Remember to flush your browser's caches in between any such changes!</P
208 ><P
209 > Alternately, if you are comfortable with a text editor, you can accomplish 
210  the same thing by editing the appropriate actions file. Probably the easiest 
211  way to deal with such problems when editing by hand is to add your
212  site to a <TT
213 CLASS="LITERAL"
214 >{ fragile }</TT
215 > section in <TT
216 CLASS="FILENAME"
217 >user.action</TT
218 >,
219  which is an alias that turns off most <SPAN
220 CLASS="QUOTE"
221 >"dangerous"</SPAN
222 >
223  actions, but is also likely to turn off more actions then needed, and thus lower
224  your privacy and protection more than necessary, </P
225 ><P
226 > Troubleshooting actions is discussed in more detail in the <A
227 HREF="../user-manual/appendix.html#ACTIONSANAT"
228 TARGET="_top"
229 >user-manual appendix</A
230 >.
231  There is also an <A
232 HREF="../user-manual/actions-file.html#ACT-EXAMPLES"
233 TARGET="_top"
234 >actions tutorial</A
235 >.</P
236 ></DIV
237 ><DIV
238 CLASS="SECT2"
239 ><H3
240 CLASS="SECT2"
241 ><A
242 NAME="DUN"
243 ></A
244 >5.4. After installing <SPAN
245 CLASS="APPLICATION"
246 >Privoxy</SPAN
247 >, I have to log in
248 every time I start IE. What gives?</H3
249 ><P
250 > This is a quirk that effects the installation of
251  <SPAN
252 CLASS="APPLICATION"
253 >Privoxy</SPAN
254 >, in conjunction with Internet Explorer and
255  Internet Connection Sharing on Windows 2000 and Windows XP. The symptoms may
256  appear to be corrupted or invalid DUN settings, or passwords.</P
257 ><P
258 > When setting up an NT based Windows system with
259  <SPAN
260 CLASS="APPLICATION"
261 >Privoxy</SPAN
262 > you may find that things do not seem to be
263  doing what you expect. When you set your system up you will probably have set
264  up Internet Connection Sharing (ICS) with Dial up Networking (DUN) when
265  logged in with administrator privileges. You will probably have made this DUN
266  connection available to other accounts that you may have set-up on your
267  system. E.g. Mum or Dad sets up the system and makes accounts suitably
268  configured for the kids.</P
269 ><P
270 > When setting up <SPAN
271 CLASS="APPLICATION"
272 >Privoxy</SPAN
273 > in this environment you
274  will have to alter the proxy set-up of Internet Explorer (IE) for the
275  specific DUN connection on which you wish to use
276  <SPAN
277 CLASS="APPLICATION"
278 >Privoxy</SPAN
279 >. When you do this the ICS DUN set-up
280  becomes user specific. In this instance you will see no difference if you
281  change the DUN connection under the account used to set-up the connection.
282  However when you do this from another user you will notice that the DUN
283  connection changes to make available to "Me only". You will also find that
284  you have to store the password under each different user!</P
285 ><P
286 > The reason for this is that each user's set-up for IE is user specific. Each
287  set-up DUN connection and each LAN connection in IE store the settings for
288  each user individually. As such this enforces individual configurations
289  rather than common ones. Hence the first time you use a DUN connection after
290  re-booting your system it may not perform as you expect, and prompt you for 
291  the password. Just set and save the password again and all should be OK.</P
292 ><P
293 >[Thanks to Ray Griffith for this submission.]</P
294 ></DIV
295 ><DIV
296 CLASS="SECT2"
297 ><H3
298 CLASS="SECT2"
299 ><A
300 NAME="FTP"
301 ></A
302 >5.5. I cannot connect to any FTP sites. <SPAN
303 CLASS="APPLICATION"
304 >Privoxy</SPAN
305 >
306  seems to be blocking me.</H3
307 ><P
308 >  <SPAN
309 CLASS="APPLICATION"
310 >Privoxy</SPAN
311 > cannot act as a proxy for FTP traffic, 
312   so do not configure your browser to use <SPAN
313 CLASS="APPLICATION"
314 >Privoxy</SPAN
315 >
316   as an FTP proxy. The same is true for <SPAN
317 CLASS="emphasis"
318 ><I
319 CLASS="EMPHASIS"
320 >any protocol other than HTTP
321   or HTTPS</I
322 ></SPAN
323 >. 
324  </P
325 ><P
326 >  Most browsers understand FTP as well as HTTP. If you connect to a site, with
327   a URL like <TT
328 CLASS="LITERAL"
329 >ftp://ftp.example.com</TT
330 >, your browser is making
331   an FTP connection, and not a HTTP connection. So while your browser may 
332   speak FTP, <SPAN
333 CLASS="APPLICATION"
334 >Privoxy</SPAN
335 > does not, and cannot proxy 
336   such traffic.
337  </P
338 ><P
339 >  To complicate matters, some systems may have a generic <SPAN
340 CLASS="QUOTE"
341 >"proxy"</SPAN
342 >
343   setting, which will silently enable <SPAN
344 CLASS="emphasis"
345 ><I
346 CLASS="EMPHASIS"
347 >both</I
348 ></SPAN
349 > HTTP and FTP
350   proxying! So it is possible to accidentally enable FTP proxying in these
351   cases. And of course, if this happens, <SPAN
352 CLASS="APPLICATION"
353 >Privoxy</SPAN
354 >
355   will indeed cause problems since it does not know FTP.
356  </P
357 ><P
358 >  Will <SPAN
359 CLASS="APPLICATION"
360 >Privoxy</SPAN
361 > ever proxy FTP traffic? Unlikely.
362   There just is not much reason, and the work to make this happen is more than
363   it may seem.
364  </P
365 ></DIV
366 ><DIV
367 CLASS="SECT2"
368 ><H3
369 CLASS="SECT2"
370 ><A
371 NAME="OSXIE"
372 ></A
373 >5.6. In Mac OSX, I can't configure Microsoft Internet Explorer to use 
374  <SPAN
375 CLASS="APPLICATION"
376 >Privoxy</SPAN
377 > as the HTTP proxy.</H3
378 ><P
379 >  Microsoft Internet Explorer (in versions like 5.1) respects system-wide
380   network settings.  In order to change the HTTP proxy, open System
381   Preferences, and click on the Network icon.  In the settings pane that
382   comes up, click on the Proxies tab.  Ensure the "Web Proxy (HTTP)" checkbox 
383   is checked and enter <TT
384 CLASS="LITERAL"
385 >127.0.0.1</TT
386 > in the entry field.  
387   Enter <TT
388 CLASS="LITERAL"
389 >8118</TT
390 > in the Port field.  The next time you start
391   IE, it should reflect these values.
392  </P
393 ></DIV
394 ><DIV
395 CLASS="SECT2"
396 ><H3
397 CLASS="SECT2"
398 ><A
399 NAME="OSXUNINSTALL"
400 ></A
401 >5.7. In Mac OSX, I dragged the Privoxy folder to the trash in order to 
402  uninstall it.  Now the finder tells me I don't have sufficient privileges to
403  empty the trash.</H3
404 ><P
405 >  Just dragging the <SPAN
406 CLASS="APPLICATION"
407 >Privoxy</SPAN
408 > folder to the trash is
409   not enough to delete it.  <SPAN
410 CLASS="APPLICATION"
411 >Privoxy</SPAN
412 > supplies an
413   <SPAN
414 CLASS="APPLICATION"
415 >uninstall.command</SPAN
416 > file that takes care of
417   these details.  Open the trash, drag the <SPAN
418 CLASS="APPLICATION"
419 >uninstall.command</SPAN
420 >
421   file out of the trash and double-click on it.  You will be prompted for
422   confirmation and the administration password.
423  </P
424 ><P
425 >  The trash may still appear full after this command; emptying the trash 
426   from the desktop should make it appear empty again.
427  </P
428 ></DIV
429 ><DIV
430 CLASS="SECT2"
431 ><H3
432 CLASS="SECT2"
433 ><A
434 NAME="OSXIMAGES"
435 ></A
436 >5.8. In Mac OSX Panther (10.3), images often fail to load and/or I
437  experience random delays in page loading. I'm using
438  <TT
439 CLASS="LITERAL"
440 >localhost</TT
441 > as my browser's proxy setting.</H3
442 ><P
443 >  We believe this is due to an IPv6-related bug in OSX, but don't fully
444   understand the issue yet. In any case, changing the proxy setting to 
445   <TT
446 CLASS="LITERAL"
447 >127.0.0.1</TT
448 > instead of <TT
449 CLASS="LITERAL"
450 >localhost</TT
451 >
452   works around the problem.
453  </P
454 ></DIV
455 ><DIV
456 CLASS="SECT2"
457 ><H3
458 CLASS="SECT2"
459 ><A
460 NAME="BLANKPAGE"
461 ></A
462 >5.9. I get a completely blank page at one site. <SPAN
463 CLASS="QUOTE"
464 >"View Source"</SPAN
465 >
466  shows only: <SPAN
467 CLASS="MARKUP"
468 >&#60;html&#62;&#60;body&#62;&#60;/body&#62;&#60;/html&#62;</SPAN
469 >. Without
470  <SPAN
471 CLASS="APPLICATION"
472 >Privoxy</SPAN
473 > the page loads fine.</H3
474 ><P
475 >  Chances are that the site suffers from a bug in
476   <A
477 HREF="http://www.php.net/"
478 TARGET="_top"
479 ><SPAN
480 CLASS="APPLICATION"
481 >PHP</SPAN
482 ></A
483 >,
484   which results in empty pages being sent if the client explicitly requests
485   an uncompressed page, like <SPAN
486 CLASS="APPLICATION"
487 >Privoxy</SPAN
488 > does.
489   This bug has been fixed in PHP 4.2.3.
490  </P
491 ><P
492 >  To find out if this is in fact the source of the problem, try adding
493   the site to a <TT
494 CLASS="LITERAL"
495 >-prevent-compression</TT
496 > section in
497   <TT
498 CLASS="FILENAME"
499 >user.action</TT
500 >:
501  </P
502 ><TABLE
503 BORDER="0"
504 BGCOLOR="#E0E0E0"
505 WIDTH="100%"
506 ><TR
507 ><TD
508 ><PRE
509 CLASS="SCREEN"
510 >   # Make exceptions for ill-behaved sites:                                     
511    #                                                                    
512    {-prevent-compression}                                               
513     .example.com</PRE
514 ></TD
515 ></TR
516 ></TABLE
517 ><P
518 >  If that works, you may also want to report the problem to the
519   site's webmasters, telling them to use zlib.output_compression
520   instead of ob_gzhandler in their PHP applications (workaround)
521   or upgrade to PHP 4.2.3 or later (fix).
522  </P
523 ></DIV
524 ><DIV
525 CLASS="SECT2"
526 ><H3
527 CLASS="SECT2"
528 ><A
529 NAME="ERROR503"
530 ></A
531 >5.10. Why am I getting a 503 Error (WSAECONNREFUSED) on every page?</H3
532 ><P
533 >  More than likely this is a problem with your TCP/IP networking. ZoneAlarm has
534   been reported to cause this symptom -- even if not running. The solution is
535   to either fight the ZA configuration, or uninstall ZoneAlarm, and then find
536   something better behaved in its place. Other personal firewall type products
537   may cause similar type problems if not configured correctly.
538  </P
539 ></DIV
540 ><DIV
541 CLASS="SECT2"
542 ><H3
543 CLASS="SECT2"
544 ><A
545 NAME="NOHOSTNAME"
546 ></A
547 >5.11. My logs show many <SPAN
548 CLASS="QUOTE"
549 >"Unable to get my own hostname"</SPAN
550 > lines.
551 Why?</H3
552 ><P
553 > <SPAN
554 CLASS="APPLICATION"
555 >Privoxy</SPAN
556 > tries to get the hostname of the system
557  its running on from the IP address of the system interface it is bound to
558  (from the <TT
559 CLASS="FILENAME"
560 >config</TT
561 > file
562  <SPAN
563 CLASS="emphasis"
564 ><I
565 CLASS="EMPHASIS"
566 >listen-address</I
567 ></SPAN
568 > setting). If the system cannot supply
569  this information, <SPAN
570 CLASS="APPLICATION"
571 >Privoxy</SPAN
572 > logs this condition. </P
573 ><P
574 > Typically, this would be considered a minor system configuration error. It is
575  not a fatal error to <SPAN
576 CLASS="APPLICATION"
577 >Privoxy</SPAN
578 > however, but may
579  result in a much slower response from <SPAN
580 CLASS="APPLICATION"
581 >Privoxy</SPAN
582 > on
583  some platforms due to DNS timeouts.</P
584 ></DIV
585 ><DIV
586 CLASS="SECT2"
587 ><H3
588 CLASS="SECT2"
589 ><A
590 NAME="INUSE"
591 ></A
592 >5.12. When I try to launch <SPAN
593 CLASS="APPLICATION"
594 >Privoxy</SPAN
595 >, I get an 
596 error message <SPAN
597 CLASS="QUOTE"
598 >"port 8118 is already in use"</SPAN
599 > (or similar wording).
600 Why?</H3
601 ><P
602 > Port 8118 is <SPAN
603 CLASS="APPLICATION"
604 >Privoxy's</SPAN
605 > default TCP 
606  <SPAN
607 CLASS="QUOTE"
608 >"listening"</SPAN
609 > port. Typically this message would mean that there
610  is already one instance of <SPAN
611 CLASS="APPLICATION"
612 >Privoxy</SPAN
613 > running, and
614  you are actually trying to start a second <SPAN
615 CLASS="APPLICATION"
616 >Privoxy</SPAN
617
618  on the same port, which will not work. (You can have multiple instances but
619  they must be assigned different ports.) How and why this might happen varies
620  from platform to platform, but you need to check your installation and
621  start-up procedures.</P
622 ></DIV
623 ><DIV
624 CLASS="SECT2"
625 ><H3
626 CLASS="SECT2"
627 ><A
628 NAME="DEMORONIZER"
629 ></A
630 >5.13. Pages with UTF-8 fonts are garbled.</H3
631 ><P
632 > This is caused by the <SPAN
633 CLASS="QUOTE"
634 >"demoronizer"</SPAN
635 > filter. You should either
636  upgrade <SPAN
637 CLASS="APPLICATION"
638 >Privoxy</SPAN
639 >, or at least upgrade to the most
640  recent <TT
641 CLASS="FILENAME"
642 >default.action</TT
643 > file available from <A
644 HREF="http://sourceforge.net/project/showfiles.php?group_id=11118"
645 TARGET="_top"
646 >SourceForge</A
647 >.
648  Or you can simply disable the demoronizer filter.</P
649 ></DIV
650 ><DIV
651 CLASS="SECT2"
652 ><H3
653 CLASS="SECT2"
654 ><A
655 NAME="DEMORONIZER2"
656 ></A
657 >5.14. Why are binary files (such as images) corrupted when <SPAN
658 CLASS="APPLICATION"
659 >Privoxy</SPAN
660 >
661  is used?</H3
662 ><P
663 > This may also be caused by the <SPAN
664 CLASS="QUOTE"
665 >"demoronizer"</SPAN
666 > filter, 
667  in conjunction with a web server that is misreporting a file type. Binary 
668  files are exempted from <SPAN
669 CLASS="APPLICATION"
670 >Privoxy's</SPAN
671 > filtering
672  (unless the web server by mistake says the file is something else). Either
673  upgrade <SPAN
674 CLASS="APPLICATION"
675 >Privoxy</SPAN
676 >, or go to the most recent
677  <TT
678 CLASS="FILENAME"
679 >default.action</TT
680 > file available from <A
681 HREF="http://sourceforge.net/project/showfiles.php?group_id=11118"
682 TARGET="_top"
683 >SourceForge</A
684 >.</P
685 ></DIV
686 ><DIV
687 CLASS="SECT2"
688 ><H3
689 CLASS="SECT2"
690 ><A
691 NAME="DEMORONIZER3"
692 ></A
693 >5.15. What is the <SPAN
694 CLASS="QUOTE"
695 >"demoronizer"</SPAN
696 > and why is it there?</H3
697 ><P
698 > The original demoronizer was a Perl script that cleaned up HTML pages which 
699  were created with certain Microsoft products. MS has used proprietary extensions 
700  to standardized font encodings (ISO 8859-1), which has caused problems for pages
701  that are viewed with non-Microsoft products (and are expecting to see a
702  standard set of fonts). The demoronizer corrected these errors so the pages
703  displayed correctly. <SPAN
704 CLASS="APPLICATION"
705 >Privoxy</SPAN
706 > borrowed from this
707  script, introducing a filter based on the original demoronizer, which in turn could
708  correct these errors on the fly. </P
709 ><P
710 > But this is only needed in some situations, and will cause serious problems in some 
711  other situations.</P
712 ><P
713 > If you are using Microsoft products, you do not need it. If you need to view 
714  pages with UTF-8 characters (such as Cyrillic or Chinese), then it will 
715  cause corruption of the fonts, and thus <SPAN
716 CLASS="emphasis"
717 ><I
718 CLASS="EMPHASIS"
719 >should not be on</I
720 ></SPAN
721 >.</P
722 ><P
723 > On the other hand, if you use non-Microsoft products, and you occasionally 
724  notice wierd characters on pages, you might want to try it.</P
725 ></DIV
726 ><DIV
727 CLASS="SECT2"
728 ><H3
729 CLASS="SECT2"
730 ><A
731 NAME="WINDOWOPEN"
732 ></A
733 >5.16. Why do I keep seeing <SPAN
734 CLASS="QUOTE"
735 >"PrivoxyWindowOpen()"</SPAN
736 > in raw source code?</H3
737 ><P
738 > <SPAN
739 CLASS="APPLICATION"
740 >Privoxy</SPAN
741 > is attempting to disable malicious 
742  Javascript in this case, with the <TT
743 CLASS="LITERAL"
744 >unsolicited-popups</TT
745 >
746  filter. <SPAN
747 CLASS="APPLICATION"
748 >Privoxy</SPAN
749 > cannot tell very well 
750  <SPAN
751 CLASS="QUOTE"
752 >"good"</SPAN
753 > code snippets from <SPAN
754 CLASS="QUOTE"
755 >"bad"</SPAN
756 > code snippets.</P
757 ><P
758 > If you see this in HTML source, and the page displays without problems, then 
759  this is good, and likely some pop-up window was disabled. If you see this 
760  where it is causing a problem, such as a downloaded program source code file, 
761  then you should set an exception for this site or page such that the
762  integrity of the page stays in tact by disabling all filtering.</P
763 ></DIV
764 ><DIV
765 CLASS="SECT2"
766 ><H3
767 CLASS="SECT2"
768 ><A
769 NAME="DNSERRORS"
770 ></A
771 >5.17. I am getting too many DNS errors like <SPAN
772 CLASS="QUOTE"
773 >"404 No Such Domain"</SPAN
774 >. Why
775  can't <SPAN
776 CLASS="APPLICATION"
777 >Privoxy</SPAN
778 > do this better?</H3
779 ><P
780 > There are potentially several factors here. First of all, the DNS resolution
781  is done by the underlying operating system -- not
782  <SPAN
783 CLASS="APPLICATION"
784 >Privoxy</SPAN
785 > itself. <SPAN
786 CLASS="APPLICATION"
787 >Privoxy</SPAN
788 >
789  merely initiates the process and hands it off, and then later reports
790  whatever the outcome was. And tries to give a coherent message if there seems
791  to be a problem. In some cases, this might otherwise be mitigated by the
792  browser itself which might try some work-arounds and alernate approaches (e.g
793  adding <SPAN
794 CLASS="QUOTE"
795 >"www."</SPAN
796 > to the URL). In other cases, if
797  <SPAN
798 CLASS="APPLICATION"
799 >Privoxy</SPAN
800 > is being chained with another proxy, this
801  could complicate the issue, and cause undue
802  delays and timeouts. In the case of a <SPAN
803 CLASS="QUOTE"
804 >"socks4a"</SPAN
805 > proxy, the socks
806  server handles all the DNS.  <SPAN
807 CLASS="APPLICATION"
808 >Privoxy</SPAN
809 > would just be
810  the <SPAN
811 CLASS="QUOTE"
812 >"messenger"</SPAN
813 > which is reporting whatever problem occurred
814  downstream, and not the root cause of the error.</P
815 ><P
816 > In any case, v. 3.0.4 includes various improvements to help
817  <SPAN
818 CLASS="APPLICATION"
819 >Privoxy</SPAN
820 > better handle these cases.</P
821 ></DIV
822 ><DIV
823 CLASS="SECT2"
824 ><H3
825 CLASS="SECT2"
826 ><A
827 NAME="ALLCPU"
828 ></A
829 >5.18. At one site <SPAN
830 CLASS="APPLICATION"
831 >Privoxy</SPAN
832 > just hangs, and starts taking 
833  all CPU. Why is this?</H3
834 ><P
835 > This is probably a manifestation of the <SPAN
836 CLASS="QUOTE"
837 >"100% cpu"</SPAN
838 > problem that
839  occurs on pages containing many (thousands upon thousands) of blank lines. The blank lines 
840  are in the raw HTML source of the page, and the browser just ignores them. But the 
841  pattern matching in <SPAN
842 CLASS="APPLICATION"
843 >Privoxy's</SPAN
844 > page filtering
845  mechanism is trying to match against absurdly long strings and this becomes
846  very CPU-intensive, taking a long, long time to complete. Until a better
847  solution comes along, disable filtering on these pages, particularly the
848  <TT
849 CLASS="LITERAL"
850 >js-annoyances</TT
851 > and <TT
852 CLASS="LITERAL"
853 >unsolicited-popups</TT
854 >
855  filters.</P
856 ></DIV
857 ></DIV
858 ><DIV
859 CLASS="NAVFOOTER"
860 ><HR
861 ALIGN="LEFT"
862 WIDTH="100%"><TABLE
863 SUMMARY="Footer navigation table"
864 WIDTH="100%"
865 BORDER="0"
866 CELLPADDING="0"
867 CELLSPACING="0"
868 ><TR
869 ><TD
870 WIDTH="33%"
871 ALIGN="left"
872 VALIGN="top"
873 ><A
874 HREF="misc.html"
875 ACCESSKEY="P"
876 >Prev</A
877 ></TD
878 ><TD
879 WIDTH="34%"
880 ALIGN="center"
881 VALIGN="top"
882 ><A
883 HREF="index.html"
884 ACCESSKEY="H"
885 >Home</A
886 ></TD
887 ><TD
888 WIDTH="33%"
889 ALIGN="right"
890 VALIGN="top"
891 ><A
892 HREF="contact.html"
893 ACCESSKEY="N"
894 >Next</A
895 ></TD
896 ></TR
897 ><TR
898 ><TD
899 WIDTH="33%"
900 ALIGN="left"
901 VALIGN="top"
902 >Miscellaneous</TD
903 ><TD
904 WIDTH="34%"
905 ALIGN="center"
906 VALIGN="top"
907 >&nbsp;</TD
908 ><TD
909 WIDTH="33%"
910 ALIGN="right"
911 VALIGN="top"
912 >Contacting the developers, Bug Reporting and Feature Requests</TD
913 ></TR
914 ></TABLE
915 ></DIV
916 ></BODY
917 ></HTML
918 >