qingshuisiyuan / electron-ssr-backup

electron-ssr原作者删除了这个伟大的项目,故备份了下来,不继续开发,且用且珍惜

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

无法启用PAC或者不代理

HsunGong opened this issue · comments

我现在没办法使用PAC模式或者不代理模式,所有流量都走代理,没办法直连。
只在chrome中出现这样的情况。使用switchyomega之后,感觉还是通过了系统代理,只不过没有出国就被拦截了。

信息如下:

  1. ssr shell output
    `bash
    2019-06-20 08:14:31:671 [info] Register shortcut: toggleWindow, Ctrl+Shift+W
    2019-06-20 08:14:31:681 [info] run command: python $HOME/.config/electron-ssr/shadowsocksr/shadowsocks/local.py -s MYIP -p PORT -k ****** -m aes-128-ctr -O auth_aes128_md5 -o plain -b 0.0.0.0 -l 1080
    2019-06-20 08:14:31:687 [info] pac server listen at: 0.0.0.0:2333
    2019-06-20 08:14:31:687 [info] http proxy server listen at: 0.0.0.0:12333
    2019-06-20 08:14:31:719 [error] 2019-06-20 08:14:31 WARNING shell.py:110 warning: local set to listen on 0.0.0.0, it's not safe

2019-06-20 08:14:31:758 [error] 2019-06-20 08:14:31 INFO util.py:85 loading libcrypto from libcrypto.so.1.1

2019-06-20 08:14:31:759 [error] 2019-06-20 08:14:31 INFO local.py:50 local start with protocol[auth_aes128_md5] password [HnFgCAD9kC5B] method [aes-128-ctr] obfs [plain] obfs_param []
2019-06-20 08:14:31 INFO local.py:54 starting local at 0.0.0.0:1080
2019-06-20 08:14:31 INFO asyncdns.py:324 dns server: [('127.0.0.53', 53)]

2019-06-20 08:14:32:336 [error] Unhandled Rejection at: Promise [object Promise], reason: SyntaxError: Unexpected token : in JSON at position 3
2019-06-20 08:14:33:643 [error] Unhandled Rejection at: Promise [object Promise], reason: SentryError: HTTP Error (429): Creation of this event was denied due to rate limiting
2019-06-20 08:14:33:644 [error] Unhandled Rejection at: Promise [object Promise], reason: SentryError: HTTP Error (429): Creation of this event was denied due to rate limiting
2019-06-20 08:16:02:809 [error] http proxy server connect error: Error: Connection Timed Out
`
2. Firefox

  1. chrome
  • 不开switch

  • 开switch

  1. 配置详情

已知Bug
部分Linux系统无法切换系统代理模式(本应用使用gsetting设置系统代理,所以有些Linux系统无法使用该功能),如果你知道如何实现,欢迎发issue告知。
Windows系统切换全局代理不生效

sudo apt-get install libssl-dev
sudo apt-get install libsodium-devel