victor17998 / switchy

Automatically exported from code.google.com/p/switchy
1 stars 0 forks source link

Online rule list gfwlist.txt doesn't work #69

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.Install switchy 1.5.0.8;
2.Create a tor profile;
3.config the online rule list to http://autoproxy- 
gfwlist.googlecode.com/svn/trunk/gfwlist.txt, check AutoProxy Compatible 
List,and specify the proxy profile to tor;

What is the expected output?
sites like twitter,facebook and youtube should be open with tor profile.

What do you see instead?
But they are still opened use direct connection.

Switchy version:
Operating system:
win 7

Error Log (Switchy Options > press 'Error Log' button):
[14:17:31] [success] - Everything is OK

Original issue reported on code.google.com by treblam on 30 Jan 2010 at 6:18

GoogleCodeExporter commented 8 years ago
The warning is "Invalid AutoProxy rules file!".
I did a little debug & found a problem: switchy assume the list must be stored 
in 
https server but not show this limitation. I think this limitation isn't very 
necessary for autoproxy-compatible lists, because gfwlist already has a base64 
encryption. And because most of us don't have commit right to that project, we 
can 
never use the secure URL.
After bypassed that, another warning appears: "Too small AutoProxy rules 
file!", 
after local debugging, I found the actual filename requiring is 
"http://autoproxy- 
gfwlist.googlecode.com/svn/trunk/gfwlist.txt?_=xxxxxxxxxxxx..."( x are all 
numbers )                                            
instead of the original URL we entered, & google code file server just returned 
blank 
text. Not sure how to remove the appended query string, I'm not a professional 
web 
developer:)

Original comment by pal...@gmail.com on 1 Feb 2010 at 4:43

GoogleCodeExporter commented 8 years ago
Where did you see these warnings,it give me no warning at all. 

Original comment by treblam on 2 Feb 2010 at 3:10

GoogleCodeExporter commented 8 years ago
The error log. Maybe that's not a same bug, sometimes that warning appears & 
sometimes 
not( during several complete install/uninstall ). But the function never works.
I found that the ?_=xxx is a jquery feature, time stamp, for separating 
different times 
we fetch. Change the cache option to true can avoid it. But still not work for 
me.

Original comment by pal...@gmail.com on 2 Feb 2010 at 4:42

GoogleCodeExporter commented 8 years ago
It seems that the list url "http://autoproxy-
gfwlist.googlecode.com/svn/trunk/gfwlist.txt" is blocked by your ISP.
Try to add a custom rule for it like this:
  - URL Pattern: *://autoproxy-gfwlist.googlecode.com/*
  - Pattern Type: RegExp

Does this solve the problem?

Original comment by Mohamma...@gmail.com on 4 Feb 2010 at 9:34

GoogleCodeExporter commented 8 years ago
Issue 76 has been merged into this issue.

Original comment by Mohamma...@gmail.com on 4 Feb 2010 at 9:36

GoogleCodeExporter commented 8 years ago
It works now, automatically. I didn't do anything. So the option does work, but 
somehow 
doesn't take effect immediately.

Original comment by gMinu...@gmail.com on 4 Feb 2010 at 10:13

GoogleCodeExporter commented 8 years ago
Confirmed works after takes custom rule for gfwlist site, thanks. I thought the 
"proxy 
profile" of the proxy list will automatically do the same thing, seems it 
doesn't.

Original comment by pal...@gmail.com on 5 Feb 2010 at 12:12

GoogleCodeExporter commented 8 years ago
Previous confirm is under linux chrome dev. I found it still not work for mac 
version 
1.6beta. the whole log after a clean installation is as below.
[10:47:40] [info] - Extension Info: v1.6.0
[10:47:40] [info] - Browser Info: 5.0 (Macintosh; U; Intel Mac OS X 10_5_8; 
en-US) 
AppleWebKit/532.9 (KHTML, like Gecko) Chrome/5.0.307.1 Safari/532.9
[10:48:51] [error] - Invalid rule list url: ()
[10:48:52] [success] - Everything is OK
[10:49:11] [error] - Plugin Error @RuleManager.saveAutoPacScript() > Error Code 
(Can't open file for writing 
[/Users/mic4/Library/Application%20Support/Google/Chrome/Default/Extensions/l
mpgdcjlcadimdknnjmkgfkkndghclga/1.6.0/plugins/SwitchyAuto.pac])

Original comment by pal...@gmail.com on 5 Feb 2010 at 2:51

Attachments:

GoogleCodeExporter commented 8 years ago
It partly works now,I can open facebook with the autoswitch mode,but twitter 
still 
can't be opened,I think twitter should be in the list.

Original comment by treblam on 6 Feb 2010 at 6:23

GoogleCodeExporter commented 8 years ago
@palxex, treblam These issues have been fixed in 1.6.0, please try the new 
version.

Original comment by Mohamma...@gmail.com on 13 Feb 2010 at 11:29

GoogleCodeExporter commented 8 years ago
I have tried the new version,and it was fixed now,thanks very much.

Original comment by treblam on 21 Feb 2010 at 11:16

GoogleCodeExporter commented 8 years ago
It still doesn't work. My version is 1.6.3 .

Original comment by fanxinq...@gmail.com on 10 Apr 2010 at 5:08

GoogleCodeExporter commented 8 years ago
who can help me? my tar still out of work,it displayed "connecting to a relay 
directary
failed (no route to host)",i use the internet in college.

Original comment by linn...@gmail.com on 26 May 2010 at 2:57

GoogleCodeExporter commented 8 years ago
Switchy 1.6.3, Ubuntu 10.04, Chrome 10.0.648.151.  No form of switch rules work 
at all.  Everything goes straight to direct, bypassing any and all rules.  I 
have to manually turn the proxy on and off which kind of defeats the main point 
of wanting to use Switchy.

Original comment by ttmrich...@gmail.com on 25 Mar 2011 at 1:24

GoogleCodeExporter commented 8 years ago
In one word, switchy is not as good as AutoProxy and so far it is not 
compatible with the dynamic gfwlist.

Original comment by wonde...@gmail.com on 7 Jun 2011 at 5:09

GoogleCodeExporter commented 8 years ago
Yes, with the 1.63, it can not work with gfwlist with auto mode. I have to turn 
to fireFox. 

Original comment by yanxz...@gmail.com on 22 Sep 2011 at 3:04

GoogleCodeExporter commented 8 years ago
Anyone who are looking for a replacement can head over to 
http://code.google.com/p/switchysharp/, which build base on switchy.
So guys stop reporting bugs here unless the author came back.

Original comment by mir...@gmail.com on 5 Nov 2011 at 4:15