FelisCatus / switchysharp

Automatically exported from code.google.com/p/switchysharp
GNU General Public License v3.0
140 stars 50 forks source link

Local proxy attempting to download webpages as files instead of displaying them #1063

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What's the problem? (e.g. The expected output and the actual output.)

When using a proxy that's running on localhost (127.0.0.1:8080), webpages that 
apply to an Auto Switch Mode Rule will not be rendered, but instead there is an 
attempt to download them. The file being downloaded is useless (only contains 
"0505 00" - see attached sample).

What steps will reproduce the problem?
1. Create new proxy running on localhost on a specific port
2. Create new AutoSwitch rule, or just use proxy for all sites 
3. Attempt to navigate to any site

What's your operating system and which version of Chrome/Chromium are you
using?
Google Chrome   40.0.2214.94 (Official Build) 
Revision    b631d0526afba969df4c66f3b6baed0759f8b814-refs/branch-heads/2214_85@{#8}
OS  Mac OS X 

Original issue reported on code.google.com by dombus...@gmail.com on 2 Feb 2015 at 9:06

Attachments:

GoogleCodeExporter commented 9 years ago
I have been using local proxies for years and it didn't happen to me. Moreover, 
many users are using proxy software binding on local ports quite well.

The symptom you described seems to suggest that the proxy server itself is not 
working properly.

I would recommend testing using privoxy, polipo, or squid. They are known to 
work fine on local ports. If, for example, squid is working for you, then it is 
definitely your particular proxy server to blame.

Original comment by shyc2...@gmail.com on 2 Feb 2015 at 9:14