12fc01d78d8e3071e026a968ed7e9f5f32e5a62d
[privoxy.git] / doc / webserver / faq / trouble.html
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
2 "http://www.w3.org/TR/html4/loose.dtd">
3
4 <html>
5 <head>
6   <meta name="generator" content=
7   "HTML Tidy for Linux/x86 (vers 7 December 2008), see www.w3.org">
8
9   <title>Troubleshooting</title>
10   <meta name="GENERATOR" content=
11   "Modular DocBook HTML Stylesheet Version 1.79">
12   <link rel="HOME" title="Privoxy Frequently Asked Questions" href=
13   "index.html">
14   <link rel="PREVIOUS" title="Miscellaneous" href="misc.html">
15   <link rel="NEXT" title=
16   "Contacting the developers, Bug Reporting and Feature Requests" href=
17   "contact.html">
18   <link rel="STYLESHEET" type="text/css" href="../p_doc.css">
19   <meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
20   <style type="text/css">
21 body {
22   background-color: #EEEEEE;
23   color: #000000;
24   }
25   :link { color: #0000FF }
26   :visited { color: #840084 }
27   :active { color: #0000FF }
28   span.c3 {font-style: italic}
29   table.c2 {background-color: #E0E0E0}
30   hr.c1 {text-align: left}
31   </style>
32 </head>
33
34 <body class="SECT1">
35   <div class="NAVHEADER">
36     <table summary="Header navigation table" width="100%" border="0"
37     cellpadding="0" cellspacing="0">
38       <tr>
39         <th colspan="3" align="center">Privoxy Frequently Asked
40         Questions</th>
41       </tr>
42
43       <tr>
44         <td width="10%" align="left" valign="bottom"><a href="misc.html"
45         accesskey="P">Prev</a></td>
46
47         <td width="80%" align="center" valign="bottom"></td>
48
49         <td width="10%" align="right" valign="bottom"><a href="contact.html"
50         accesskey="N">Next</a></td>
51       </tr>
52     </table>
53     <hr class="c1" width="100%">
54   </div>
55
56   <div class="SECT1">
57     <h1 class="SECT1"><a name="TROUBLE" id="TROUBLE">5.
58     Troubleshooting</a></h1>
59
60     <div class="SECT2">
61       <h3 class="SECT2"><a name="AEN1100" id="AEN1100">5.1. I cannot connect
62       to any websites. Or, I am getting <span class="QUOTE">"connection
63       refused"</span> message with every web page. Why?</a></h3>
64
65       <p>There are several possibilities:</p>
66
67       <ul>
68         <li>
69           <p><span class="APPLICATION">Privoxy</span> is not running.
70           Solution: verify that <span class="APPLICATION">Privoxy</span> is
71           installed correctly, has not crashed, and is indeed running. Turn
72           on <span class="APPLICATION">Privoxy's</span> logging, and look at
73           the logs to see what they say.</p>
74         </li>
75
76         <li>
77           <p>Or your browser is configured for a different port than what
78           <span class="APPLICATION">Privoxy</span> is using. Solution: verify
79           that <span class="APPLICATION">Privoxy</span> and your browser are
80           set to the same port (<tt class="LITERAL">listen-address</tt>).</p>
81         </li>
82
83         <li>
84           <p>Or if using a forwarding rule, you have a configuration problem
85           or a problem with a host in the forwarding chain. Solution:
86           temporarily alter your configuration and take the forwarders out of
87           the equation.</p>
88         </li>
89
90         <li>
91           <p>Or you have a firewall that is interfering and blocking you.
92           Solution: try disabling or removing the firewall as a simple
93           test.</p>
94         </li>
95       </ul>
96     </div>
97
98     <div class="SECT2">
99       <h3 class="SECT2"><a name="ERROR503" id="ERROR503">5.2. Why am I
100       getting a 503 Error (WSAECONNREFUSED) on every page?</a></h3>
101
102       <p>More than likely this is a problem with your TCP/IP networking.
103       ZoneAlarm has been reported to cause this symptom -- even if not
104       running! The solution is to either fight the ZA configuration, or
105       uninstall ZoneAlarm, and then find something better behaved in its
106       place. Other personal firewall type products may cause similar type
107       problems if not configured correctly.</p>
108     </div>
109
110     <div class="SECT2">
111       <h3 class="SECT2"><a name="AEN1123" id="AEN1123">5.3. I just added a
112       new rule, but the steenkin ad is still getting through. How?</a></h3>
113
114       <p>If the ad had been displayed before you added its URL, it will
115       probably be held in the browser's cache for some time, so it will be
116       displayed without the need for any request to the server, and
117       <span class="APPLICATION">Privoxy</span> will not be involved. Flush
118       the browser's caches, and then try again.</p>
119
120       <p>If this doesn't help, you probably have an error in the rule you
121       applied. Try pasting the full URL of the offending ad into <a href=
122       "http://config.privoxy.org/show-url-info" target=
123       "_top">http://config.privoxy.org/show-url-info</a> and see if it really
124       matches your new rule. Blocking ads is like blocking spam: a lot of
125       tinkering is required to stay ahead of the game. And remember you need
126       to block the URL of the ad in question, which may be entirely different
127       from the site URL itself. Most ads are hosted on different servers than
128       the main site itself. If you right-click on the ad, you should be able
129       to get all the relevant information you need. Alternately, you can find
130       the correct URL by looking at <span class=
131       "APPLICATION">Privoxy's</span> logs (you may need to enable logging in
132       the main config file if its disabled).</p>
133
134       <p>Below is a slightly modified real-life log snippet that originates
135       with one requested URL: <tt class="LITERAL">www.example.com</tt> (name
136       of site was changed for this example, the number of requests is real).
137       You can see in this the complexity of what goes into making up this one
138       <span class="QUOTE">"page"</span>. There are eight different domains
139       involved here, with thirty two separate URLs requested in all, making
140       up all manner of images, Shockwave Flash, JavaScript, CSS stylesheets,
141       scripts, and other related content. Some of this content is obviously
142       <span class="QUOTE">"good"</span> or <span class="QUOTE">"bad"</span>,
143       but not all. Many of the more questionable looking requests, are going
144       to outside domains that seem to be identifying themselves with
145       suspicious looking names, making our job a little easier. <span class=
146       "APPLICATION">Privoxy</span> has <span class="QUOTE">"crunched"</span>
147       (meaning caught and BLOCKED) quite a few items in this example, but
148       perhaps missed a few as well.</p>
149
150       <table class="c2" border="0" width="100%">
151         <tr>
152           <td>
153             <pre class="SCREEN">
154 Request: www.example.com/
155 Request: www.example.com/favicon.ico
156 Request: img.example.com/main.css
157 Request: img.example.com/sr.js
158 Request: example.betamarker.com/example.html
159 Request: www.lik-sang.com/Banners/bestsellers/skyscraper.php?likref=BSellers
160 Request: img.example.com/pb.png
161 Request: www.google-analytics.com/urchin.js crunch! (Blocked)
162 Request: www.advertising-department.com/ats/switch.ps.php?26856 crunch! (Blocked)
163 Request: img.example.com/p.gif
164 Request: www.popuptraffic.com/assign.php?l=example&amp;mode=behind crunch! (Blocked)
165 Request: www.popuptraffic.com/scripts/popup.php?hid=5c3cf&amp;tmpl=PBa.tmpl crunch! (Blocked)
166 Request: www.popuptraffic.com/assign.php?l=example crunch! (Blocked)
167 Request: www.lik-sang.com/Banners/best_sellers/best_sellers.css
168 Request: www.adtrak.net/adx.js crunch! (Blocked)
169 Request: img.example.com/hbg.gif
170 Request: img.example.com/example.jpg
171 Request: img.example.com/mt.png
172 Request: img.example.com/mm.png
173 Request: img.example.com/mb.png
174 Request: www.popuptraffic.com/scripts/popup.php?hid=a71b91fa5&amp;tmpl=Ua.tmp crunch! (Blocked)
175 Request: www.example.com/tracker.js
176 Request: www.lik-sang.com/Banners/best_sellers/lsi_head.gif
177 Request: www.adtrak.net/adjs.php?n=020548130&amp;what=zone:61 crunch! (Blocked)
178 Request: www.adtrak.net/adjs.php?n=463594413&amp;what=zone:58&amp;source=Ua crunch! (Blocked)
179 Request: www.lik-sang.com/Banners/best_sellers/bottomani.swf
180 Request: mmm.elitemediagroup.net/install.php?allowpop=no&amp;popupmincook=0&amp;allowsp2=1 crunch! (Blocked)
181 Request: www.example.com/tracker.js?screen=1400x1050&amp;win=962x693
182 Request: www.adtrak.net/adlog.php?bannerid=1309&amp;clientid=439&amp;zoneid=61 crunch! (Blocked)
183 Request: 66.70.21.80/scripts/click.php?hid=5c3cf599a9efd0320d26&amp;si
184 Request: 66.70.21.80/img/pixel.gif
185 Request: www.adtrak.net/adlog.php?bannerid=1309&amp;clientid=439&amp;zoneid=58&amp;source=Ua&amp;block=86400 crunch! (Blocked)
186 Request: 66.70.21.80/scripts/click.php?hid=a71b9f6504b0c5681fa5&amp;si=Ua
187 </pre>
188           </td>
189         </tr>
190       </table>
191
192       <p>Despite 12 out of 32 requests being blocked, the page looked, and
193       seemed to behave perfectly <span class="QUOTE">"normal"</span> (minus
194       some ads, of course).</p>
195     </div>
196
197     <div class="SECT2">
198       <h3 class="SECT2"><a name="BADSITE" id="BADSITE">5.4. One of my
199       favorite sites does not work with Privoxy. What can I do?</a></h3>
200
201       <p>First verify that it is indeed a <span class=
202       "APPLICATION">Privoxy</span> problem, by toggling off <span class=
203       "APPLICATION">Privoxy</span> through <a href=
204       "http://config.privoxy.org/toggle" target=
205       "_top">http://config.privoxy.org/toggle</a> (the toggle feature may
206       need to be enabled in the main <tt class="FILENAME">config</tt>), and
207       then shift-reloading the problem page (i.e. holding down the shift key
208       while clicking reload. Alternatively, flush your browser's disk and
209       memory caches).</p>
210
211       <p>If the problem went away, we know we have a configuration related
212       problem. Now go to <a href="http://config.privoxy.org/show-url-info"
213       target="_top">http://config.privoxy.org/show-url-info</a> and paste the
214       full URL of the page in question into the prompt. See which actions are
215       being applied to the URL, and which matches in which actions files are
216       responsible for that. It might be helpful also to look at your logs for
217       this site too, to see what else might be happening (note: logging may
218       need to be enabled in the main config file). Many sites are complex and
219       require a number of related pages to help present their content. Look
220       at what else might be used by the page in question, and what of that
221       might be <span class="emphasis EMPHASIS c3">required</span>. Now, armed
222       with this information, go to <a href=
223       "http://config.privoxy.org/show-status" target=
224       "_top">http://config.privoxy.org/show-status</a> and select the
225       appropriate actions files for editing.</p>
226
227       <p>You can now either look for a section which disables the actions
228       that you suspect to cause the problem and add a pattern for your site
229       there, or make up a completely new section for your site. In any case,
230       the recommended way is to disable only the prime suspect, reload the
231       problem page, and only if the problem persists, disable more and more
232       actions until you have identified the culprit. You may or may not want
233       to turn the other actions on again. Remember to flush your browser's
234       caches in between any such changes!</p>
235
236       <p>Alternately, if you are comfortable with a text editor, you can
237       accomplish the same thing by editing the appropriate actions file.
238       Probably the easiest way to deal with such problems when editing by
239       hand is to add your site to a <tt class="LITERAL">{ fragile }</tt>
240       section in <tt class="FILENAME">user.action</tt>, which is an alias
241       that turns off most <span class="QUOTE">"dangerous"</span> actions, but
242       is also likely to turn off more actions then needed, and thus lower
243       your privacy and protection more than necessary,</p>
244
245       <p>Troubleshooting actions is discussed in more detail in the <a href=
246       "../user-manual/appendix.html#ACTIONSANAT" target="_top">User Manual
247       appendix, Troubleshooting: the Anatomy of an Action</a>. There is also
248       an <a href="../user-manual/actions-file.html#ACT-EXAMPLES" target=
249       "_top">actions tutorial</a> with general configuration information and
250       examples.</p>
251
252       <p>As a last resort, you can always see if your browser has a setting
253       that will bypass the proxy setting for selective sites. Modern browsers
254       can do this.</p>
255     </div>
256
257     <div class="SECT2">
258       <h3 class="SECT2"><a name="DUN" id="DUN">5.5. After installing Privoxy,
259       I have to log in every time I start IE. What gives?</a></h3>
260
261       <p>This is a quirk that effects the installation of <span class=
262       "APPLICATION">Privoxy</span>, in conjunction with Internet Explorer and
263       Internet Connection Sharing on Windows 2000 and Windows XP. The
264       symptoms may appear to be corrupted or invalid DUN settings, or
265       passwords.</p>
266
267       <p>When setting up an NT based Windows system with <span class=
268       "APPLICATION">Privoxy</span> you may find that things do not seem to be
269       doing what you expect. When you set your system up you will probably
270       have set up Internet Connection Sharing (ICS) with Dial up Networking
271       (DUN) when logged in with administrator privileges. You will probably
272       have made this DUN connection available to other accounts that you may
273       have set-up on your system. E.g. Mum or Dad sets up the system and
274       makes accounts suitably configured for the kids.</p>
275
276       <p>When setting up <span class="APPLICATION">Privoxy</span> in this
277       environment you will have to alter the proxy set-up of Internet
278       Explorer (IE) for the specific DUN connection on which you wish to use
279       <span class="APPLICATION">Privoxy</span>. When you do this the ICS DUN
280       set-up becomes user specific. In this instance you will see no
281       difference if you change the DUN connection under the account used to
282       set-up the connection. However when you do this from another user you
283       will notice that the DUN connection changes to make available to "Me
284       only". You will also find that you have to store the password under
285       each different user!</p>
286
287       <p>The reason for this is that each user's set-up for IE is user
288       specific. Each set-up DUN connection and each LAN connection in IE
289       store the settings for each user individually. As such this enforces
290       individual configurations rather than common ones. Hence the first time
291       you use a DUN connection after re-booting your system it may not
292       perform as you expect, and prompt you for the password. Just set and
293       save the password again and all should be OK.</p>
294
295       <p>[Thanks to Ray Griffith for this submission.]</p>
296     </div>
297
298     <div class="SECT2">
299       <h3 class="SECT2"><a name="FTP" id="FTP">5.6. I cannot connect to any
300       FTP sites. Privoxy is blocking me.</a></h3>
301
302       <p><span class="APPLICATION">Privoxy</span> cannot act as a proxy for
303       FTP traffic, so do not configure your browser to use <span class=
304       "APPLICATION">Privoxy</span> as an FTP proxy. The same is true for
305       <span class="emphasis EMPHASIS c3">any protocol other than HTTP or
306       HTTPS (SSL)</span>.</p>
307
308       <p>Most browsers understand FTP as well as HTTP. If you connect to a
309       site, with a URL like <tt class="LITERAL">ftp://ftp.example.com</tt>,
310       your browser is making an FTP connection, and not a HTTP connection. So
311       while your browser may speak FTP, <span class=
312       "APPLICATION">Privoxy</span> does not, and cannot proxy such
313       traffic.</p>
314
315       <p>To complicate matters, some systems may have a generic <span class=
316       "QUOTE">"proxy"</span> setting, which will enable various protocols,
317       including <span class="emphasis EMPHASIS c3">both</span> HTTP and FTP
318       proxying! So it is possible to accidentally enable FTP proxying in
319       these cases. And of course, if this happens, <span class=
320       "APPLICATION">Privoxy</span> will indeed cause problems since it does
321       not know FTP. Newer version will give a sane error message if a FTP
322       connection is attempted. Just disable the FTP setting and all will be
323       well again.</p>
324
325       <p>Will <span class="APPLICATION">Privoxy</span> ever proxy FTP
326       traffic? Unlikely. There just is not much reason, and the work to make
327       this happen is more than it may seem.</p>
328     </div>
329
330     <div class="SECT2">
331       <h3 class="SECT2"><a name="MACOSXIE" id="MACOSXIE">5.7. In Mac OS X, I
332       can't configure Microsoft Internet Explorer to use Privoxy as the HTTP
333       proxy.</a></h3>
334
335       <p>Microsoft Internet Explorer (in versions like 5.1) respects
336       system-wide network settings. In order to change the HTTP proxy, open
337       System Preferences, and click on the Network icon. In the settings pane
338       that comes up, click on the Proxies tab. Ensure the "Web Proxy (HTTP)"
339       checkbox is checked and enter <tt class="LITERAL">127.0.0.1</tt> in the
340       entry field. Enter <tt class="LITERAL">8118</tt> in the Port field. The
341       next time you start IE, it should reflect these values.</p>
342     </div>
343
344     <div class="SECT2">
345       <h3 class="SECT2"><a name="MACOSXUNINSTALL" id="MACOSXUNINSTALL">5.8.
346       In Mac OS X, I dragged the Privoxy folder to the trash in order to
347       uninstall it. Now the finder tells me I don't have sufficient
348       privileges to empty the trash.</a></h3>
349
350       <p>Note: This ONLY applies to privoxy 3.0.6 and earlier.</p>
351
352       <p>Just dragging the <span class="APPLICATION">Privoxy</span> folder to
353       the trash is not enough to delete it. <span class=
354       "APPLICATION">Privoxy</span> supplies an <span class=
355       "APPLICATION">uninstall.command</span> file that takes care of these
356       details. Open the trash, drag the <span class=
357       "APPLICATION">uninstall.command</span> file out of the trash and
358       double-click on it. You will be prompted for confirmation and the
359       administration password.</p>
360
361       <p>The trash may still appear full after this command; emptying the
362       trash from the desktop should make it appear empty again.</p>
363     </div>
364
365     <div class="SECT2">
366       <h3 class="SECT2"><a name="MACOSXIMAGES" id="MACOSXIMAGES">5.9. In Mac
367       OS X Panther (10.3), images often fail to load and/or I experience
368       random delays in page loading. I'm using <tt class=
369       "LITERAL">localhost</tt> as my browser's proxy setting.</a></h3>
370
371       <p>We believe this is due to an IPv6-related bug in Mac OS X, but don't
372       fully understand the issue yet. In any case, changing the proxy setting
373       to <tt class="LITERAL">127.0.0.1</tt> instead of <tt class=
374       "LITERAL">localhost</tt> works around the problem.</p>
375     </div>
376
377     <div class="SECT2">
378       <h3 class="SECT2"><a name="BLANKPAGE" id="BLANKPAGE">5.10. I get a
379       completely blank page at one site. <span class="QUOTE">"View
380       Source"</span> shows only: <span class=
381       "MARKUP">&lt;html&gt;&lt;body&gt;&lt;/body&gt;&lt;/html&gt;</span>.
382       Without Privoxy the page loads fine.</a></h3>
383
384       <p>Chances are that the site suffers from a bug in <a href=
385       "http://www.php.net/" target="_top"><span class=
386       "APPLICATION">PHP</span></a>, which results in empty pages being sent
387       if the client explicitly requests an uncompressed page, like
388       <span class="APPLICATION">Privoxy</span> does. This bug has been fixed
389       in PHP 4.2.3.</p>
390
391       <p>To find out if this is in fact the source of the problem, try adding
392       the site to a <tt class="LITERAL">-prevent-compression</tt> section in
393       <tt class="FILENAME">user.action</tt>:</p>
394
395       <table class="c2" border="0" width="100%">
396         <tr>
397           <td>
398             <pre class="SCREEN">
399    # Make exceptions for ill-behaved sites:
400    #
401    {-prevent-compression}
402     .example.com
403 </pre>
404           </td>
405         </tr>
406       </table>
407
408       <p>If that works, you may also want to report the problem to the site's
409       webmasters, telling them to use zlib.output_compression instead of
410       ob_gzhandler in their PHP applications (workaround) or upgrade to PHP
411       4.2.3 or later (fix).</p>
412     </div>
413
414     <div class="SECT2">
415       <h3 class="SECT2"><a name="NOHOSTNAME" id="NOHOSTNAME">5.11. My logs
416       show many <span class="QUOTE">"Unable to get my own hostname"</span>
417       lines. Why?</a></h3>
418
419       <p><span class="APPLICATION">Privoxy</span> tries to get the hostname
420       of the system its running on from the IP address of the system
421       interface it is bound to (from the <tt class="FILENAME">config</tt>
422       file <span class="emphasis EMPHASIS c3">listen-address</span> setting).
423       If the system cannot supply this information, <span class=
424       "APPLICATION">Privoxy</span> logs this condition.</p>
425
426       <p>Typically, this would be considered a minor system configuration
427       error. It is not a fatal error to <span class=
428       "APPLICATION">Privoxy</span> however, but may result in a much slower
429       response from <span class="APPLICATION">Privoxy</span> on some
430       platforms due to DNS timeouts.</p>
431
432       <p>This can be caused by a problem with the local <tt class=
433       "FILENAME">hosts</tt> file. If this file has been changed from the
434       original, try reverting it to see if that helps. Make sure whatever
435       name(s) are used for the local system, that they resolve both ways.</p>
436
437       <p>You should also be able to work around the problem with the <a href=
438       "../user-manual/config.html#HOSTNAME" target="_top">hostname
439       option</a>.</p>
440     </div>
441
442     <div class="SECT2">
443       <h3 class="SECT2"><a name="INUSE" id="INUSE">5.12. When I try to launch
444       Privoxy, I get an error message <span class="QUOTE">"port 8118 is
445       already in use"</span> (or similar wording). Why?</a></h3>
446
447       <p>Port 8118 is <span class="APPLICATION">Privoxy's</span> default TCP
448       <span class="QUOTE">"listening"</span> port. Typically this message
449       would mean that there is already one instance of <span class=
450       "APPLICATION">Privoxy</span> running, and your system is actually
451       trying to start a second <span class="APPLICATION">Privoxy</span> on
452       the same port, which will not work. (You can have multiple instances
453       but they must be assigned different ports.) How and why this might
454       happen varies from platform to platform, but you need to check your
455       installation and start-up procedures.</p>
456     </div>
457
458     <div class="SECT2">
459       <h3 class="SECT2"><a name="DEMORONIZER" id="DEMORONIZER">5.13. Pages
460       with UTF-8 fonts are garbled.</a></h3>
461
462       <p>This is caused by the <span class="QUOTE">"demoronizer"</span>
463       filter. You should either upgrade <span class=
464       "APPLICATION">Privoxy</span>, or at least upgrade to the most recent
465       <tt class="FILENAME">default.action</tt> file available from <a href=
466       "http://sourceforge.net/project/showfiles.php?group_id=11118" target=
467       "_top">SourceForge</a>. Or you can simply disable the demoronizer
468       filter.</p>
469     </div>
470
471     <div class="SECT2">
472       <h3 class="SECT2"><a name="DEMORONIZER2" id="DEMORONIZER2">5.14. Why
473       are binary files (such as images) corrupted when Privoxy is
474       used?</a></h3>
475
476       <p>This may also be caused by the <span class=
477       "QUOTE">"demoronizer"</span> filter, in conjunction with a web server
478       that is misreporting the content type. Binary files are exempted from
479       <span class="APPLICATION">Privoxy's</span> filtering (unless the web
480       server by mistake says the file is something else). Either upgrade
481       <span class="APPLICATION">Privoxy</span>, or go to the most recent
482       <tt class="FILENAME">default.action</tt> file available from <a href=
483       "http://sourceforge.net/project/showfiles.php?group_id=11118" target=
484       "_top">SourceForge</a>.</p>
485     </div>
486
487     <div class="SECT2">
488       <h3 class="SECT2"><a name="DEMORONIZER3" id="DEMORONIZER3">5.15. What
489       is the <span class="QUOTE">"demoronizer"</span> and why is it
490       there?</a></h3>
491
492       <p>The original demoronizer was a Perl script that cleaned up HTML
493       pages which were created with certain Microsoft products. MS has used
494       proprietary extensions to standardized font encodings (ISO 8859-1),
495       which has caused problems for pages that are viewed with non-Microsoft
496       products (and are expecting to see a standard set of fonts). The
497       demoronizer corrected these errors so the pages displayed correctly.
498       <span class="APPLICATION">Privoxy</span> borrowed from this script,
499       introducing a filter based on the original demoronizer, which in turn
500       could correct these errors on the fly.</p>
501
502       <p>But this is only needed in some situations, and will cause serious
503       problems in some other situations.</p>
504
505       <p>If you are using Microsoft products, you do not need it. If you need
506       to view pages with UTF-8 characters (such as Cyrillic or Chinese), then
507       it will cause corruption of the fonts, and thus <span class=
508       "emphasis EMPHASIS c3">should not be on</span>.</p>
509
510       <p>On the other hand, if you use non-Microsoft products, and you
511       occasionally notice weird characters on pages, you might want to try
512       it.</p>
513     </div>
514
515     <div class="SECT2">
516       <h3 class="SECT2"><a name="WINDOWOPEN" id="WINDOWOPEN">5.16. Why do I
517       keep seeing <span class="QUOTE">"PrivoxyWindowOpen()"</span> in raw
518       source code?</a></h3>
519
520       <p><span class="APPLICATION">Privoxy</span> is attempting to disable
521       malicious <a href="http://en.wikipedia.org/wiki/Javascript" target=
522       "_top">Javascript</a> in this case, with the <tt class=
523       "LITERAL">unsolicited-popups</tt> filter. <span class=
524       "APPLICATION">Privoxy</span> cannot tell very well <span class=
525       "QUOTE">"good"</span> code snippets from <span class=
526       "QUOTE">"bad"</span> code snippets.</p>
527
528       <p>If you see this in HTML source, and the page displays without
529       problems, then this is good, and likely some pop-up window was
530       disabled. If you see this where it is causing a problem, such as a
531       downloaded program source code file, then you should set an exception
532       for this site or page such that the integrity of the page stays in tact
533       by disabling all filtering.</p>
534     </div>
535
536     <div class="SECT2">
537       <h3 class="SECT2"><a name="DNSERRORS" id="DNSERRORS">5.17. I am getting
538       too many DNS errors like <span class="QUOTE">"404 No Such
539       Domain"</span>. Why can't Privoxy do this better?</a></h3>
540
541       <p>There are potentially several factors here. First of all, the DNS
542       resolution is done by the underlying operating system -- not
543       <span class="APPLICATION">Privoxy</span> itself. <span class=
544       "APPLICATION">Privoxy</span> merely initiates the process and hands it
545       off, and then later reports whatever the outcome was and tries to give
546       a coherent message if there seems to be a problem. In some cases, this
547       might otherwise be mitigated by the browser itself which might try some
548       work-arounds and alternate approaches (e.g adding <span class=
549       "QUOTE">"www."</span> to the URL).</p>
550
551       <p>In other cases, if <span class="APPLICATION">Privoxy</span> is being
552       chained with another proxy, this could complicate the issue, and cause
553       undue delays and timeouts. In the case of a <span class=
554       "QUOTE">"socks4a"</span> proxy, the socks server handles all the DNS.
555       <span class="APPLICATION">Privoxy</span> would just be the <span class=
556       "QUOTE">"messenger"</span> which is reporting whatever problem occurred
557       downstream, and not the root cause of the error.</p>
558
559       <p>In any case, versions newer than 3.0.3 include various improvements
560       to help <span class="APPLICATION">Privoxy</span> better handle these
561       cases.</p>
562     </div>
563
564     <div class="SECT2">
565       <h3 class="SECT2"><a name="ALLCPU" id="ALLCPU">5.18. At one site
566       Privoxy just hangs, and starts taking all CPU. Why is this?</a></h3>
567
568       <p>This is probably a manifestation of the <span class="QUOTE">"100%
569       cpu"</span> problem that occurs on pages containing many (thousands
570       upon thousands) of blank lines. The blank lines are in the raw HTML
571       source of the page, and the browser just ignores them. But the pattern
572       matching in <span class="APPLICATION">Privoxy's</span> page filtering
573       mechanism is trying to match against absurdly long strings and this
574       becomes very CPU-intensive, taking a long, long time to complete.</p>
575
576       <p>Until a better solution comes along, disable filtering on these
577       pages, particularly the <tt class="LITERAL">js-annoyances</tt> and
578       <tt class="LITERAL">unsolicited-popups</tt> filters. If you run into
579       this problem with a recent <span class="APPLICATION">Privoxy</span>
580       version, please send a problem report.</p>
581     </div>
582
583     <div class="SECT2">
584       <h3 class="SECT2"><a name="SLOWCRAWL" id="SLOWCRAWL">5.19. I just
585       installed Privoxy, and all my browsing has slowed to a crawl. What
586       gives?</a></h3>
587
588       <p>This should not happen, and for the overwhelming number of users
589       world-wide, it does not happen. I would suspect some inadvertent
590       interaction of software components such as anti-virus software, spyware
591       protectors, personal firewalls or similar components. Try disabling (or
592       uninstalling) these one at a time and see if that helps. Either way, if
593       you are using a recent <span class="APPLICATION">Privoxy</span>
594       version, please report the problem.</p>
595     </div>
596
597     <div class="SECT2">
598       <h3 class="SECT2"><a name="PREVENTCOMP" id="PREVENTCOMP">5.20. Why do
599       my filters work on some sites but not on others?</a></h3>
600
601       <p>It's probably due to compression. It is a common practice for web
602       servers to send their content <span class="QUOTE">"compressed"</span>
603       in order to speed things up, and then let the browser <span class=
604       "QUOTE">"uncompress"</span> them. When compiled with zlib support
605       <span class="APPLICATION">Privoxy</span> can decompress content before
606       filtering, otherwise you may want to enable <a href=
607       "../user-manual/actions-file.html#PREVENT-COMPRESSION" target=
608       "_top">prevent-compression</a>.</p>
609
610       <p>As of <span class="APPLICATION">Privoxy</span> 3.0.9, zlib support
611       is enabled in the default builds.</p>
612     </div>
613
614     <div class="SECT2">
615       <h3 class="SECT2"><a name="SSL-WARNINGS" id="SSL-WARNINGS">5.21. On
616       some HTTPS sites my browser warns me about unauthenticated content, the
617       URL bar doesn't get highlighted and the lock symbol appears to be
618       broken. What's going on?</a></h3>
619
620       <p>Probably the browser is requesting ads through HTTPS and
621       <span class="APPLICATION">Privoxy</span> is blocking the requests.
622       Privoxy's error messages are delivered unencrypted and while it's
623       obvious for the browser that the HTTPS request is already blocked by
624       the proxy, some warn about unauthenticated content anyway.</p>
625
626       <p>To work around the problem you can redirect those requests to an
627       invalid local address instead of blocking them. While the redirects
628       aren't encrypted either, many browsers don't care. They simply follow
629       the redirect, fail to reach a server and display an error message
630       instead of the ad.</p>
631
632       <p>To do that, enable logging to figure out which requests get blocked
633       by <span class="APPLICATION">Privoxy</span> and add the hosts (no path
634       patterns) to a section like this:</p>
635
636       <table class="c2" border="0" width="100%">
637         <tr>
638           <td>
639             <pre class="SCREEN">
640 {+redirect{http://127.0.0.1:0/} -block -limit-connect}
641 .ivwbox.de:443/
642 </pre>
643           </td>
644         </tr>
645       </table>
646
647       <p>Additionally you have to configure your browser to contact
648       <span class="QUOTE">"127.0.0.1:0"</span> directly (instead of through
649       <span class="APPLICATION">Privoxy</span>).</p>
650
651       <p>To add a proxy exception in <span class="APPLICATION">Mozilla
652       Firefox</span> open the <span class="QUOTE">"Preferences"</span>, click
653       the <span class="QUOTE">"Settings"</span> button located on the
654       <span class="QUOTE">"Network"</span> tab in the <span class=
655       "QUOTE">"Advanced"</span> section, and add <span class=
656       "QUOTE">"127.0.0.1:0"</span> in the <span class="QUOTE">"No Proxy
657       for:"</span> field.</p>
658     </div>
659
660     <div class="SECT2">
661       <h3 class="SECT2"><a name="SE-LINUX" id="SE-LINUX">5.22. I get selinux
662       error messages. How can I fix this?</a></h3>
663
664       <p>Please report the problem to the creator of your selinux
665       policies.</p>
666
667       <p>The problem is that some selinux policy writers aren't familiar with
668       the application they are trying to <span class="QUOTE">"secure"</span>
669       and thus create policies that make no sense.</p>
670
671       <p>In <span class="APPLICATION">Privoxy's</span> case the problem
672       usually is that the policy only allows outgoing connections for certain
673       destination ports (e.g. 80 and 443). While this may cover the standard
674       ports, websites occasionally use other ports as well. This isn't a
675       security problem and therefore <span class=
676       "APPLICATION">Privoxy's</span> default configuration doesn't block
677       these requests.</p>
678
679       <p>If you really want to block these ports (and don't be able to load
680       websites that don't use standard ports), you should configure Privoxy
681       to block these ports as well, so it doesn't trigger the selinux
682       warnings.</p>
683     </div>
684
685     <div class="SECT2">
686       <h3 class="SECT2"><a name="GENTOO-RICERS" id="GENTOO-RICERS">5.23. I
687       compiled <span class="APPLICATION">Privoxy</span> with Gentoo's portage
688       and it appears to be very slow. Why?</a></h3>
689
690       <p>Probably you unintentionally compiled <span class=
691       "APPLICATION">Privoxy</span> without threading support in which case
692       requests have to be serialized and only one can be served at the same
693       time.</p>
694
695       <p>Check your <span class="QUOTE">"USE"</span> flags and make sure they
696       include <span class="QUOTE">"threads"</span>. If they don't, add the
697       flag and rebuild <span class="APPLICATION">Privoxy</span>.</p>
698
699       <p>If you compiled <span class="APPLICATION">Privoxy</span> with
700       threading support (on POSIX-based systems), the <span class=
701       "QUOTE">"Conditional #defines"</span> section on <a href=
702       "http://config.privoxy.org/show-status" target=
703       "_top">http://config.privoxy.org/show-status</a> will list <span class=
704       "QUOTE">"FEATURE_PTHREAD"</span> as <span class=
705       "QUOTE">"enabled"</span>.</p>
706     </div>
707   </div>
708
709   <div class="NAVFOOTER">
710     <hr class="c1" width="100%">
711
712     <table summary="Footer navigation table" width="100%" border="0"
713     cellpadding="0" cellspacing="0">
714       <tr>
715         <td width="33%" align="left" valign="top"><a href="misc.html"
716         accesskey="P">Prev</a></td>
717
718         <td width="34%" align="center" valign="top"><a href="index.html"
719         accesskey="H">Home</a></td>
720
721         <td width="33%" align="right" valign="top"><a href="contact.html"
722         accesskey="N">Next</a></td>
723       </tr>
724
725       <tr>
726         <td width="33%" align="left" valign="top">Miscellaneous</td>
727
728         <td width="34%" align="center" valign="top">&nbsp;</td>
729
730         <td width="33%" align="right" valign="top">Contacting the developers,
731         Bug Reporting and Feature Requests</td>
732       </tr>
733     </table>
734   </div>
735 </body>
736 </html>