GithubHelp home page GithubHelp logo

shadowsocksrr / electron-ssr Goto Github PK

View Code? Open in Web Editor NEW

This project forked from akkariiin/electron-ssr

1.7K 51.0 515.0 3.43 MB

Shadowsocksr client using electron

License: MIT License

JavaScript 79.78% HTML 0.25% Shell 0.23% Vue 18.24% CSS 1.50%

electron-ssr's Introduction

ShadowsocksR cross-platform client

中文

ShadowsocksR is a cross-platform desktop client with support for Windows, macOS and Linux. It is feature-rich, supports most of the features of the Windows version and has more user-friendly features. It is open source, is based on open source projects and gives back to the open source community.

Note for Linux user

By default the libsodium maybe not get installed on some platform, for example, the Fedora, you can install it manually by command dnf install libsodium.

On some systems that use Gnome desktop, except Ubuntu 18.04, may not have the AppIndicator installed, you can manually install this plugin to fix it. (or find it in the store's Add-ons-Shell Extensions)

Features

  • Support for manual configuration

  • Support for automatic server subscription update. Copy this link to test:

    https://raw.githubusercontent.com/shadowsocksrr/electron-ssr/master/docs/assets/subscribe.txt

  • Support for QR code scanning (Please make sure there is only one valid QR code on the screen). Scan this QR code to test:

  • Support for importing the configuration from the clipboard, configuration file and other methods

  • Support for copying QR codes and copying the ssr link (right click on the QR code and select copy in the context menu)

  • Support for adding configurations and opening the application by clicking the ss/ssr link (Mac and Windows only). Please use the link above to test.

  • Support for switching the system proxy mode: PAC, global proxy, no proxy

  • Built-in http_proxy, can be turned on or off in the options

  • Support for changing the configuration

  • Additional features in the menu bar

Download

Visit the releases page Github release:

  • Windows electron-ssr-setup-x.x.x.exe
  • Mac electron-ssr-x.x.x.dmg
  • Linux (recommended) electron-ssr-x.x.x.AppImage, double click to run. If you cannot use it or want to download your own system-specific package please use the following options
  • Arch or Arch-based distributions electron-ssr-x.x.x.pacman
  • RedHat derivatives electron-ssr-x.x.x.rpm
  • Debian derivatives electron-ssr-x.x.x.deb
  • Other Linux distributions electron-ssr-x.x.x.tar.gz

Configuration file location

  • Windows C:\Users\{your username}\AppData\Roaming\electron-ssr\gui-config.json
  • Mac ~/Library/Application Support/electron-ssr/gui-config.json
  • Linux ~/.config/gui-config.json

Shortcuts

The shortcuts were originally added to solve the problem that some Linux distributions cannot display the icon in the top bar. Therefore its content menu cannot be used. Of course on other systems the shortcut can be turned off in the settings.

Global shortcuts

  • CommandOrControl+Shift+W show/hide main window
  • not assigned switch system proxy mode

In-app shortcuts

  • CommandOrControl+Shift+B show/hide the menu bar, only available on Linux

Known Bugs

  • Some Linux systems cannot switch system proxy mode. This application uses gsetting to set the system proxy, so some Linux systems cannot use this feature. If you know how to implement it, please feel free to create an issue.
  • Switching the global system proxy on Windows fails

Application screenshots

FAQ

FAQ

Issues

Before creating an issue please check whether the instructions in the FAQ can solve your problem. Please first check whether there exists a similar issue. If there is please follow up on that issue. Additionally, if you find a bug please describe your environment in the issue. This includes the operating system, software version, steps to reproduce, error logs, etc.

Icon resources

https://www.figma.com/file/ghtehcxfzu0N2lQPoVEQXeU7/electron-ssr

Feel free to propose a new revision.

Donate

Buy Me A Coffee

Build

# or npm install
yarn

# run in development mode
npm run dev

# run in development mode
npm run build

# run the unit tests
npm run mocha

# run the code style check
npm run lint

Changelog

Please check the release notes.

ShadowsocksR reference documents


This project was generated with electron-vue@1c165f7 using vue-cli. Documentation about the original structure can be found here.

electron-ssr's People

Contributors

akkariiin avatar ayakurayuki avatar cnsunshine avatar cygmris avatar erguotou520 avatar gujiangjiang avatar hugech38 avatar simon300000 avatar troibe avatar vulet avatar zidoshare avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

electron-ssr's Issues

ubuntu18.04无法通过代理上网,但可以更新订阅地址

Ubuntu18.04
v0.2.7 deb方式安装

无法通过代理上网,但可以更新订阅地址

2020-02-03 22:01:10:121 [info] Kill client
2020-02-03 22:01:10:126 [info] run command: python /home/zenppl/.config/electron-ssr/shadowsocksr/shadowsocks/local.py -s alisin.ssrtest1.xyz -p 50448 -k ****** **********
2020-02-03 22:01:10:216 [error] 2020-02-03 22:01:10 INFO util.py:94 loading libsodium from libsodium.so.23

2020-02-03 22:01:10:217 [error] 2020-02-03 22:01:10 INFO local.py:50 local start with protocol[auth_chain_a]*****************
2020-02-03 22:01:10 INFO local.py:54 starting local at 127.0.0.1:1080
2020-02-03 22:01:10 INFO asyncdns.py:287 black_hostname_list init as : []
2020-02-03 22:01:10 INFO asyncdns.py:335 dns server: [('127.0.0.53', 53)]

local start and asyncdns error

Your os

macOS Mojave 10.14.6(18G95)

The version of electron-ssr

v0.2.7

What's the problem

剪贴板导入配置后,无法正常通信,多处报错 。

local.py:50

2019-09-17 11:58:35:684 [error] 2019-09-17 11:58:35 INFO     local.py:50 local start with protocol[origin] password [xxxxxxxx] method [aes-256-cfb] obfs [plain] obfs_param []

asyncdns.py:335

2019-09-17 11:58:35:684 [error] 2019-09-17 11:58:35 INFO     asyncdns.py:335 dns server: [('xxx.xx.x.xx', xx), ('xx.xx.x.x, xx)]

App log here

2019-09-17 11:58:35:324 [info] import config from clipboard
2019-09-17 11:58:35:337 [info] run command: python /Users/xxxxxx/Library/Application Support/electron-ssr/shadowsocksr/shadowsocks/local.py -s xxx.xxx.xxx.xxx -p 24873 -k ****** -m aes-256-cfb -O origin -o plain -b 127.0.0.1 -l 1080
2019-09-17 11:58:35:346 [info] pac server listen at: 127.0.0.1:2333
2019-09-17 11:58:35:346 [info] http proxy server listen at: 127.0.0.1:12333
2019-09-17 11:58:35:683 [error] 2019-09-17 11:58:35 INFO     util.py:94 loading libcrypto from /usr/lib/libcrypto.dylib

2019-09-17 11:58:35:684 [error] 2019-09-17 11:58:35 INFO     local.py:50 local start with protocol[origin] password [xxxxxxxxxxx] method [aes-256-cfb] obfs [plain] obfs_param []
2019-09-17 11:58:35 INFO     local.py:54 starting local at 127.0.0.1:1080
2019-09-17 11:58:35 INFO     asyncdns.py:287 black_hostname_list init as : []

2019-09-17 11:58:35:684 [error] 2019-09-17 11:58:35 INFO     asyncdns.py:335 dns server: [('xxx.xx.x.xx', xx), ('xx.xx.x.x', xx)]

pacman包未包含对gconf的依赖

Archlinux在使用时,直接安装pacman包后无法直接使用,终端输出是未找到llibgconf-2.so.4,通过手动安装gconf包解决问题。建议下次打包时包含此依赖。

是否可以添加aes-256-gcm加密方式

使用的是Manjaro Linux发行版,服务器端只能用 aes-256-gcm 加密,但是软件中并没有提供相应的加密方式,请问是否可以添加该加密方式?

经常出现代理失效 , 需要退出electrom-ssr进程 , 退出浏览器 , 等一段时间重新开启才能正常使用

Your os

Mac
macbook pro 2018 13`
mojave 10.14.5

Browser : chrome 75 & safari
协议 : auth_chain_b
混淆 : tls1.2_ticket_auth
加密方式 : none

The version of electron-ssr

0.2.7

What's the problem

经常出现代理失效 , 需要退出electrom-ssr进程 , 退出浏览器 , 等一段时间重新开启
chrome报错 : ERR_TUNNEL_CONNECTION_FAILED

App log here

2019-06-13 11:24:12:133 [error] 2019-06-13 11:24:12 INFO util.py:94 loading libcrypto from /usr/lib/libcrypto.dylib

2019-06-13 11:45:24:035 [info] power suspend
2019-06-13 11:45:24:035 [info] Kill client
2019-06-13 11:45:24:050 [error] http proxy server connect error: Error: Socket Closed
2019-06-13 11:45:37:929 [error] http proxy server connect error: Error: Socket Closed
2019-06-13 11:45:39:229 [error] http proxy server connect error: Error: Socket Closed
2019-06-13 11:45:41:351 [error] http proxy server connect error: Error: Socket Closed
2019-06-13 11:55:05:131 [error] http proxy server connect error: Error: Socket Closed
2019-06-13 11:55:08:123 [error] http proxy server connect error: Error: Socket Closed
2019-06-13 11:55:13:999 [error] http proxy server connect error: Error: Socket Closed
2019-06-13 11:55:30:443 [error] http proxy server connect error: Error: Socket Closed
2019-06-13 11:55:48:824 [error] http proxy server connect error: Error: Socket Closed
2019-06-13 11:55:49:292 [error] http proxy server connect error: Error: Socket Closed
2019-06-13 11:55:49:908 [error] http proxy server connect error: Error: Socket Closed
2019-06-13 11:55:52:893 [error] http proxy server connect error: Error: Socket Closed
2019-06-13 11:55:57:730 [error] http proxy server connect error: Error: Socket Closed
2019-06-13 11:57:46:698 [info] power resumed

.........................................我是分割线.................................

2019-06-13 13:58:20:092 [error] 2019-06-13 13:58:20 ERROR shell.py:49 [Errno 54] Connection reset by peer

2019-06-13 13:58:20:094 [error] 2019-06-13 13:58:20 ERROR shell.py:49 [Errno 54] Connection reset by peer

2019-06-13 13:58:20:095 [error] 2019-06-13 13:58:20 ERROR shell.py:49 [Errno 54] Connection reset by peer

2019-06-13 13:58:20:096 [error] 2019-06-13 13:58:20 ERROR shell.py:49 [Errno 54] Connection reset by peer

2019-06-13 13:58:20:098 [error] 2019-06-13 13:58:20 ERROR shell.py:49 [Errno 54] Connection reset by peer

2019-06-13 13:58:20:099 [error] 2019-06-13 13:58:20 ERROR shell.py:49 [Errno 54] Connection reset by peer

2019-06-13 13:58:20:101 [error] 2019-06-13 13:58:20 ERROR shell.py:49 [Errno 54] Connection reset by peer

2019-06-13 13:58:20:102 [error] 2019-06-13 13:58:20 ERROR shell.py:49 [Errno 54] Connection reset by peer

2019-06-13 13:58:20:103 [error] 2019-06-13 13:58:20 ERROR shell.py:49 [Errno 54] Connection reset by peer

2019-06-13 13:58:20:105 [error] 2019-06-13 13:58:20 ERROR shell.py:49 [Errno 54] Connection reset by peer

2019-06-13 13:58:20:106 [error] 2019-06-13 13:58:20 ERROR shell.py:49 [Errno 54] Connection reset by peer

2019-06-13 13:58:20:108 [error] 2019-06-13 13:58:20 ERROR shell.py:49 [Errno 54] Connection reset by peer

2019-06-13 13:58:20:109 [error] 2019-06-13 13:58:20 ERROR shell.py:49 [Errno 54] Connection reset by peer

2019-06-13 13:58:20:110 [error] 2019-06-13 13:58:20 ERROR shell.py:49 [Errno 54] Connection reset by peer

2019-06-13 13:58:20:112 [error] 2019-06-13 13:58:20 ERROR shell.py:49 [Errno 54] Connection reset by peer

2019-06-13 13:58:20:113 [error] 2019-06-13 13:58:20 ERROR shell.py:49 [Errno 54] Connection reset by peer

2019-06-13 13:58:20:115 [error] 2019-06-13 13:58:20 ERROR shell.py:49 [Errno 54] Connection reset by peer

2019-06-13 13:58:20:116 [error] 2019-06-13 13:58:20 ERROR shell.py:49 [Errno 54] Connection reset by peer

2019-06-13 13:58:20:118 [error] 2019-06-13 13:58:20 ERROR shell.py:49 [Errno 54] Connection reset by peer

2019-06-13 13:58:20:122 [error] 2019-06-13 13:58:20 ERROR shell.py:49 [Errno 54] Connection reset by peer

2019-06-13 13:58:20:129 [error] http proxy server connect error: Error: Socket Closed
2019-06-13 13:58:26:972 [error] http proxy server connect error: Error: Socket Closed
2019-06-13 13:58:47:083 [error] http proxy server connect error: Error: Socket Closed
2019-06-13 13:59:29:387 [error] http proxy server connect error: Error: Socket Closed
2019-06-13 14:01:06:415 [error] http proxy server connect error: Error: Socket Closed
2019-06-13 14:02:22:266 [error] http proxy server connect error: Error: Socket Closed
2019-06-13 14:03:54:069 [error] http proxy server connect error: Error: Socket Closed
2019-06-13 14:03:54:392 [error] http proxy server connect error: Error: Socket Closed
2019-06-13 14:03:54:394 [error] http proxy server connect error: Error: Socket Closed
2019-06-13 14:04:07:463 [error] http proxy server connect error: Error: Socket Closed
2019-06-13 14:04:18:767 [error] http proxy server connect error: Error: Socket Closed
2019-06-13 14:04:18:767 [error] http proxy server connect error: Error: Socket Closed
2019-06-13 14:07:15:013 [error] http proxy server connect error: Error: Socket Closed
2019-06-13 14:09:17:690 [error] http proxy server connect error: Error: Socket Closed
2019-06-13 14:10:32:845 [error] http proxy server connect error: Error: Socket Closed
2019-06-13 14:10:58:960 [error] http proxy server connect error: Error: Socket Closed
2019-06-13 14:13:40:006 [error] http proxy server connect error: Error: Socket Closed
2019-06-13 14:14:18:784 [error] http proxy server connect error: Error: Socket Closed
2019-06-13 14:14:23:904 [info] power suspend
2019-06-13 14:14:23:905 [info] Kill client
2019-06-13 14:14:23:932 [error] Unhandled Rejection at: Promise [object Promise], reason: Error: kill ESRCH
2019-06-13 14:14:25:115 [error] Unhandled Rejection at: Promise [object Promise], reason: SentryError: HTTP Error (429): Creation of this event was denied due to rate limiting
2019-06-13 14:14:25:116 [error] Unhandled Rejection at: Promise [object Promise], reason: SentryError: HTTP Error (429): Creation of this event was denied due to rate limiting
2019-06-13 14:14:28:911 [error] 进程 51004 可能无法关闭
2019-06-13 14:17:42:735 [info] power resumed
2019-06-13 14:17:42:736 [info] Kill client
2019-06-13 14:17:43:391 [error] Unhandled Rejection at: Promise [object Promise], reason: Error: kill ESRCH
2019-06-13 14:17:44:751 [error] Unhandled Rejection at: Promise [object Promise], reason: SentryError: HTTP Error (429): Creation of this event was denied due to rate limiting
2019-06-13 14:17:44:752 [error] Unhandled Rejection at: Promise [object Promise], reason: SentryError: HTTP Error (429): Creation of this event was denied due to rate limiting
2019-06-13 14:17:48:391 [error] 进程 51004 可能无法关闭
2019-06-13 14:17:52:547 [error] http proxy server connect error: Error: Socket Closed
2019-06-13 14:17:52:830 [error] http proxy server connect error: Error: Socket Closed
2019-06-13 14:17:52:833 [error] http proxy server connect error: Error: Socket Closed
2019-06-13 14:18:50:963 [error] http proxy server connect error: Error: Socket Closed
2019-06-13 14:19:25:291 [error] http proxy server connect error: Error: Socket Closed
2019-06-13 14:19:44:039 [error] http proxy server connect error: Error: Socket Closed
2019-06-13 14:20:46:462 [error] http proxy server connect error: Error: Socket Closed
2019-06-13 14:20:57:751 [error] http proxy server connect error: Error: Socket Closed
2019-06-13 14:21:20:558 [error] http proxy server connect error: Error: Socket Closed
2019-06-13 14:21:39:271 [error] http proxy server connect error: Error: Socket Closed
2019-06-13 14:24:09:061 [error] http proxy server connect error: Error: Socket Closed
2019-06-13 14:24:38:874 [error] http proxy server connect error: Error: Socket Closed
2019-06-13 14:25:02:137 [error] http proxy server connect error: Error: Socket Closed
2019-06-13 14:26:02:962 [error] http proxy server connect error: Error: Socket Closed
2019-06-13 14:26:34:790 [error] http proxy server connect error: Error: Socket Closed
2019-06-13 14:26:55:462 [error] http proxy server connect error: Error: Socket Closed
2019-06-13 14:26:58:068 [error] http proxy server connect error: Error: Socket Closed
2019-06-13 14:27:59:827 [error] http proxy server connect error: Error: Socket Closed
2019-06-13 14:30:27:020 [error] http proxy server connect error: Error: Socket Closed
2019-06-13 14:30:55:029 [error] http proxy server connect error: Error: Socket Closed
2019-06-13 14:31:17:964 [error] http proxy server connect error: Error: Socket Closed
2019-06-13 14:32:05:908 [error] http proxy server connect error: Error: Socket Closed
2019-06-13 14:32:37:327 [error] http proxy server connect error: Error: Socket Closed
2019-06-13 14:33:02:066 [error] http proxy server connect error: Error: Socket Closed
2019-06-13 14:34:07:654 [error] http proxy server connect error: Error: Socket Closed
2019-06-13 14:34:32:757 [error] http proxy server connect error: Error: Socket Closed
2019-06-13 14:35:03:592 [error] http proxy server connect error: Error: Socket Closed
......

Centos 8无法联网

<Centos 8>

The version of electron-ssr

eletron-ssr v0.2.7

What's the problem

我可以运行客户端,切换界面和设置,但就是连不上真网。猜测是libsodium出了问题,但我在centos上面没有找到,故从源代码编译了下,但结果还是不行。
我在Ubuntu和Debian 都配置成功了,用的同样的方法,不知道问题出在哪里,请各路大神指点。

App log here

2019-12-10 10:15:49:264 [info] Kill client
2019-12-10 10:15:59:642 [info] last update time: Tue Dec 10 2019 10:15:59 GMT+0800 (CST)
2019-12-10 10:16:00:094 [info] Register shortcut: toggleWindow, Ctrl+Shift+W
2019-12-10 10:16:00:104 [info] run command: python /home/kylinlu/.config/electron-ssr/shadowsocksr/shadowsocks/local.py -s www.google.com -p 2 -k ****** -m chacha20 -O auth_chain_a -o tls1.2_ticket_auth -b 127.0.0.1 -l 1080
2019-12-10 10:16:00:121 [info] pac server listen at: 127.0.0.1:2333
2019-12-10 10:16:00:123 [info] http proxy server listen at: 127.0.0.1:12333
2019-12-10 10:16:00:141 [error] Unhandled Rejection at: Promise [object Promise], reason: Error: net::ERR_CONNECTION_REFUSED
2019-12-10 10:16:00:185 [info] next subscribe update time: Wed Dec 11 2019 10:15:59 GMT+0800 (CST)
2019-12-10 10:16:00:300 [error] 2019-12-10 10:16:00 INFO util.py:94 loading libsodium from libsodium.so.23

2019-12-10 10:16:00:301 [error] 2019-12-10 10:16:00 INFO local.py:50 local start with protocol[auth_chain_a] password [breakwall] method [chacha20] obfs [tls1.2_ticket_auth] obfs_param []
2019-12-10 10:16:00 INFO local.py:54 starting local at 127.0.0.1:1080
2019-12-10 10:16:00 INFO asyncdns.py:287 black_hostname_list init as : []
2019-12-10 10:16:00 INFO asyncdns.py:335 dns server: [('XXXXXX', XX)]

2019-12-10 10:16:01:490 [error] Unhandled Rejection at: Promise [object Promise], reason: SentryError: HTTP Error (429): Creation of this event was denied due to rate limiting
2019-12-10 10:16:01:491 [error] Unhandled Rejection at: Promise [object Promise], reason: SentryError: HTTP Error (429): Creation of this event was denied due to rate limiting
2019-12-10 10:16:02:205 [info] Kill client
2019-12-10 10:16:02:212 [info] run command: python /home/kylinlu/.config/electron-ssr/shadowsocksr/shadowsocks/local.py -s www.google.com -p 2 -k ****** -m chacha20 -O auth_chain_a -o tls1.2_ticket_auth -b 127.0.0.1 -l 1080
2019-12-10 10:16:02:350 [error] 2019-12-10 10:16:02 INFO util.py:94 loading libsodium from libsodium.so.23

2019-12-10 10:16:02:351 [error] 2019-12-10 10:16:02 INFO local.py:50 local start with protocol[auth_chain_a] password [breakwall] method [chacha20] obfs [tls1.2_ticket_auth] obfs_param []
2019-12-10 10:16:02 INFO local.py:54 starting local at 127.0.0.1:1080
2019-12-10 10:16:02 INFO asyncdns.py:287 black_hostname_list init as : []
2019-12-10 10:16:02 INFO asyncdns.py:335 dns server: [('XXXXXXX', XX)]

mac 下,使用pac模式时, chrome 要等待 10 秒才能访问被墙的网站(需要更多的macOS测试)

MACOS 版本:10.15

所使用的软件:electron-ssr v0.2.7

chrome 版本:chrome80

具体症状:在软件中使用 pac 代理模式时(打开的瞬间在系统的代理设置中就可以看到勾选了”自动配置代理“选项,里面填写的地址是 pac 地址),打开 chrome 需要等待 10 秒钟才能正常使用,否则访问那些网站左下角会一直卡在”正在连接“。软件日志无异常。使用 safari 无异常。使用”全局代理“(在系统中显示为”socks 代理“)无异常。

dns 设置为 223.5.5.5,在系统中改为 8.8.8.8 无效果。

在虚拟机开了一台 mac 10.13 的机子,同样情况。

English support or guide please

English support or guide please,
i can't find any english guide for this UI and i can't figure out how to change language if it exist

运行后electron-ssr无法访问网络

系统:Linux(Ubuntu 18.04 LTS)

客户端版本:v0.2.7

问题描述

新装机后安装electron-ssr打deb文件,安装了必要的依赖,但是运行后无法墙外网址。
查看发现报错如下:

2019-11-06 10:08:06:668 [info] last update time: Wed Nov 06 2019 10:08:06 GMT+0800 (CST)
2019-11-06 10:08:06:705 [info] Register shortcut: toggleWindow, Ctrl+Shift+W
2019-11-06 10:08:06:712 [info] run command: python /home/user/.config/electron-ssr/shadowsocksr/shadowsocks/local.py -s 3.112.13.253 -p 105 -k ****** -m chacha20-ietf -O auth_aes128_md5 -G 8613:3jCMJu -o http_post -g e4b0b8613.download.windowsupdate.com -b 127.0.0.1 -l 1080
2019-11-06 10:08:06:716 [info] pac server listen at: 127.0.0.1:2333
2019-11-06 10:08:06:717 [info] http proxy server listen at: 127.0.0.1:12333
2019-11-06 10:08:06:729 [info] next subscribe update time: Thu Nov 07 2019 10:08:06 GMT+0800 (CST)
2019-11-06 10:08:06:753 [error] 2019-11-06 10:08:06 INFO     util.py:94 loading libsodium from libsodium.so.23

2019-11-06 10:08:06:754 [error] 2019-11-06 10:08:06 INFO     local.py:50 local start with [personal information]
2019-11-06 10:08:06 INFO     local.py:54 starting local at 127.0.0.1:1080
2019-11-06 10:08:06 INFO     asyncdns.py:287 black_hostname_list init as : []
2019-11-06 10:08:06 INFO     asyncdns.py:335 dns server: [('127.0.0.53', 53)]

已通过sudo apt install安装了libsodium-dev和libssl-dev,ldconfig -p | grep libsodium如下:

libsodium.so.23 (libc6,x86-64) => /usr/local/lib/libsodium.so.23
libsodium.so.23 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libsodium.so.23
libsodium.so (libc6,x86-64) => /usr/local/lib/libsodium.so
libsodium.so (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libsodium.so

在相应目录下,也能找到对应文件,但是依然无法解决不能访问网络打问题。
通过dpkg -i重装,安装过程中无报错,安装成功后,问题依旧。

烦请帮忙解决下

amc

Your os

The version of electron-ssr

What's the problem

App log here

[Suggestion]: Upgrade Electron-Vue Structure

目前项目结构是由SimulatedGREG/electron-vue 生成的,很多包已经过时,并且升级难度大。

现在可以直接在vue cli 生成的项目内添加vue-cli-plugin-electron-builder, 即可完成原本复杂的webpack配置,实现将 vue 打包到electron中,并且可以使用chain来更新默认的webpack配置。

同时使用vue cli 生成的项目后续的包管理可以更加简单。目前以及在本地完成了升级配置,如有什么意见可以评论回复

延迟检测功能

不知能否添加延迟检测功能,使用订阅地址订阅后,服务器众多,无法得知哪个服务器延迟最低。

在xfce桌面会时不时的弹出Error Dialog

manjaro

0.2.7

在xfce桌面会时不时的弹出以下错误(gnome,kde,实测没有问题),并阻塞代理进程(网页一直load,直到Time out),点击OK后恢复正常。在下载大文件或打开复杂网页时出现,有时会弹出十几个...
image

Ubuntu 18.04 无法添加订阅地址

Your os

Ubuntu 18.04

The version of electron-ssr

版本v0.2.7

What's the problem

无法添加订阅地址,粘贴地址之后点回车,地址并没有添加。地址格式以https://开头 ?mu=1 结尾
日志并没有记录这一行为

App log here

2019-12-24 10:54:17:657 [info] Register shortcut: toggleWindow, Ctrl+Shift+W
2019-12-24 10:54:23:865 [info] start download ssrr
2019-12-24 10:55:30:025 [error] ssrr download error
2019-12-24 10:56:15:892 [info] start download ssrr
2019-12-24 10:57:21:487 [error] ssrr download error
2019-12-24 11:00:15:677 [info] Register shortcut: toggleWindow, Ctrl+Shift+W
2019-12-24 11:00:16:370 [info] start download ssrr
2019-12-24 11:01:24:150 [error] ssrr download error
2019-12-24 11:09:35:173 [info] pac server listen at: 127.0.0.1:2333
2019-12-24 11:09:35:173 [info] http proxy server listen at: 127.0.0.1:12333
2019-12-24 11:09:36:885 [info] pac server closed.
2019-12-24 11:09:36:885 [info] http proxy server closed.
2019-12-24 11:10:23:736 [info] Register shortcut: toggleWindow, Ctrl+Shift+W
2019-12-24 11:10:24:425 [info] start download ssrr
2019-12-24 11:11:31:444 [error] ssrr download error
2019-12-24 11:43:20:443 [info] import config from clipboard
2019-12-24 11:46:54:697 [info] Register shortcut: toggleWindow, Ctrl+Shift+W

楼主能在协议和混淆加一个none吗?

Your os

ubuntu18.04

The version of electron-ssr

0.2.4

What's the problem

搭建了v2ray的服务器,配置了shadowsocks能使用,然后用windows的shadowsocks工具可以正常使用,但是ssr却不行!初步怀疑是协议和混淆的原因,请问能帮忙加上这些条件吗?

App log here

路径有空格会错误

'C:\Program' �����ڲ����ⲿ���Ҳ���ǿ����еij���
���������ļ���
默认安装路径 Program Files 带空格就认不出来了

tg地址?

Your os

The version of electron-ssr

What's the problem

App log here

Centos 7 添加完订阅地址后报错 --- libsodium not found

[root@centos-master temp]# electron-ssr

(process:14764): dconf-WARNING **: 15:46:24.694: failed to commit changes to dconf: 连接已关闭

(process:14780): dconf-WARNING **: 15:46:24.741: failed to commit changes to dconf: 连接已关闭
2020-02-13 15:46:24:767 [info] Register shortcut: toggleWindow, Ctrl+Shift+W
2020-02-13 15:46:24:822 [info] run command: python /root/.config/electron-ssr/shadowsocksr/shadowsocks/local.py -s [订阅地址] -p 35212 -k ****** -m chacha20-ietf -O origin -o plain -b 127.0.0.1 -l 1080
2020-02-13 15:46:24:866 [info] pac server listen at: 127.0.0.1:2333
2020-02-13 15:46:24:866 [info] http proxy server listen at: 127.0.0.1:12333

(electron-ssr:14692): libappindicator-WARNING **: 15:46:24.936: Unable to get the session bus: 连接已关闭

(electron-ssr:14692): LIBDBUSMENU-GLIB-WARNING **: 15:46:24.936: Unable to get session bus: 连接已关闭
2020-02-13 15:46:26:200 [info] IPv6 support

2020-02-13 15:46:26:202 [error] Traceback (most recent call last):
File "/root/.config/electron-ssr/shadowsocksr/shadowsocks/local.py", line 81, in
main()
File "/root/.config/electron-ssr/shadowsocksr/shadowsocks/local.py", line 43, in main
config = shell.get_config(True)
File "/root/.config/electron-ssr/shadowsocksr/shadowsocks/../shadowsocks/shell.py", line 303, in get_config
check_config(config, is_local)
File "/root/.config/electron-ssr/shadowsocksr/shadowsocks/../shadowsocks/shell.py", line 132, in check_config
encrypt.try_cipher(config['password'], config['method'])
File "/root/.config/electron-ssr/shadowsocksr/shadowsocks/../shadowsocks/encrypt.py", line 46, in try_cipher
Encryptor(key, method)
File "/root/.config/electron-ssr/shadowsocksr/shadowsocks/../shadowsocks/encrypt.py", line 91, in init
random_string(self._method_info[1]))
File "/root/.config/electron-ssr/shadowsocksr/shadowsocks/../shadowsocks/encrypt.py", line 120, in get_cipher
return m[2](method, key, iv, op)
File "/root/.config/electron-ssr/shadowsocksr/shadowsocks/../shadowsocks/crypto/sodium.py", line 94, in init
load_libsodium()
File "/root/.config/electron-ssr/shadowsocksr/shadowsocks/../shadowsocks/crypto/sodium.py", line 44, in load_libsodium
raise Exception('libsodium not found')
Exception: libsodium not found

2020-02-13 15:46:27:351 [error] Unhandled Rejection at: Promise [object Promise], reason: Error: net::ERR_CONNECTION_REFUSED

[Suggestion]: Remove Shortcut Support

原作者在添加快捷键时,是考虑到部分Linux系统没有状态栏,而导致程序无法重新打开,最新的pr将能够实现重新打开原窗口,因此快捷键功能也变得没有什么意义了。

因此提议将快捷键功能完全删除。

(目前已在我的fork下进行了)

英文版

Your os

能给我们一个英文app版本吗?我会帮忙翻译

The version of electron-ssr

What's the problem

App log here

无法阻止它开机自启动

Your os

系统是macOS Catalina 10.15.2

The version of electron-ssr

electron-ssr版本0.2.7

What's the problem

无法阻止它开机自启动。
已确认的有:
1.mac系统选项,开机后自动打开上次关机时未关闭的程序这个选项关掉了
2.electron-ssr设置里的开机自启动选项取消打勾了
3.用户启动项里也没有electron-ssr
4.~/Library/LaunchAgents里相关的文件我都删掉了
就算是以上四点都已经确认的情况下,下次开机它还是自启动了

App log here

无法切换服务器

Your os

Zorin 15

The version of electron-ssr

0.2.7

What's the problem

点击服务器组群的时候,右键菜单闪退

App log here

2019-11-02 23:33:26:943 [error] Unhandled Rejection at: Promise [object Promise], reason: Error: net::ERR_CONNECTION_REFUSED
2019-11-02 23:33:26:987 [info] Register shortcut: toggleWindow, Ctrl+Shift+W
2019-11-02 23:33:28:242 [error] Unhandled Rejection at: Promise [object Promise], reason: SentryError: HTTP Error (429): Creation of this event was denied due to rate limiting
2019-11-02 23:33:28:244 [error] Unhandled Rejection at: Promise [object Promise], reason: SentryError: HTTP Error (429): Creation of this event was denied due to rate limiting
2019-11-02 23:33:31:840 [info] start download ssrr
2019-11-02 23:33:41:445 [info] ssrr download success
2019-11-02 23:35:42:038 [info] run command: python /home/bryan/.config/electron-ssr/shadowsocksr/shadowsocks/local.py -s aes-256-cfb -O origin -o http_simple -b 127.0.0.1 -l 1080
2019-11-02 23:35:42:054 [info] pac server listen at: 127.0.0.1:2333
2019-11-02 23:35:42:055 [info] http proxy server listen at: 127.0.0.1:12333
2019-11-02 23:35:42:363 [error] 2019-11-02 23:35:42 INFO util.py:94 loading libcrypto from libcrypto.so.1.1

2019-11-02 23:35:42:364 [error] 2019-11-02 23:35:42 INFO local.py:50 local start with protocol[origin] password [
2019-11-02 23:35:42 INFO local.py:54 starting local at 127.0.0.1:1080
2019-11-02 23:35:42 INFO asyncdns.py:287 black_hostname_list init as : []
2019-11-02 23:35:42 INFO asyncdns.py:335 dns server: [('127.0.0.53', 53)]

2019-11-02 23:46:00:028 [info] Kill client

cannot start at login on Manjaro

Your os

Linux(Manjaro kde)

The version of electron-ssr

v0.2.7

What's the problem

I configured it to start at login in electron-ssr setting, but when i start Manjaro, electron default app just pop out, and say:

To run a local app, execute the following on the command line:

/usr/lib/electron4/electron path-to-app

image

mac使用不能正常翻墙

Your os

The version of electron-ssr

What's the problem

App log here

系统10.14.5 安装了openssl和libsodium,日志显示timeout,没发现其他的明显错误!

Globalization

Globalization

your program is all written in Chinese, please take time and make a translation file to make it more useful for non-Chinese users

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.