electron-ssr-backup icon indicating copy to clipboard operation
electron-ssr-backup copied to clipboard

在ubuntu18.04出现奇怪的错误

Open LucienCheng opened this issue 6 years ago • 6 comments
trafficstars

2019-06-11 22:45:52:892 [info] Register shortcut: toggleWindow, Ctrl+Shift+W 2019-06-11 22:45:53:898 [error] Unhandled Rejection at: Promise [object Promise], reason: SyntaxError: Unexpected token : in JSON at position 3 2019-06-11 22:45:55:167 [info] start download ssr 2019-06-11 22:45:55:408 [error] Unhandled Rejection at: Promise [object Promise], reason: SentryError: HTTP Error (429): Creation of this event was denied due to rate limiting 2019-06-11 22:45:55:409 [error] Unhandled Rejection at: Promise [object Promise], reason: SentryError: HTTP Error (429): Creation of this event was denied due to rate limiting .... 2019-06-11 22:46:25:454 [error] 2019-06-11 22:46:25 INFO util.py:85 loading libsodium from libsodium.so.23

2019-06-11 22:46:25:454 [error] 2019-06-11 22:46:25 INFO local.py:50 local start with protocol[auth_chain_a] password [breakwall] method [chacha20] obfs [tls1.2_ticket_auth] obfs_param [] ... 2019-06-11 22:47:52:687 [error] 2019-06-11 22:47:52 INFO util.py:85 loading libsodium from libsodium.so.23

2019-06-11 22:47:52:689 [error] 2019-06-11 22:47:52 INFO local.py:50 local start with protocol[auth_aes128_md5] password [Lgjqdx] method [chacha20] obfs [http_simple] obfs_param [HK2SCH130a1d4d9034.wns.windows.com] 2019-06-11 22:47:52 INFO local.py:54 starting local at 127.0.0.1:1080 2019-06-11 22:47:52 INFO asyncdns.py:324 dns server: [('127.0.0.53', 53)]

请问楼主怎么解决啊。尝试装了libsodium 但是还是没能解决。万分感谢

LucienCheng avatar Jun 11 '19 15:06 LucienCheng

https://github.com/qingshuisiyuan/electron-ssr-backup/blob/master/Ubuntu.md 请先按照此教程重新安装重启系统运行一遍 如果还是不行请具体点,包括做了哪些步骤触发了错误 光从你提供的日志来看,你电脑上网有问题无法下载python-ssr,请先检查你的代理设置。

qingshuisiyuan avatar Jun 12 '19 08:06 qingshuisiyuan

果然是我在浏览器上用了别的代理插件导致连不上。应该是网络设置那边出了问题。现在可以使用了,谢谢你。

LucienCheng avatar Jun 12 '19 08:06 LucienCheng

@LucienCheng 我和楼上问题很像,请问你怎么解决的? 这是报错了,应该和网络设置没关系啊? 页面设置好代理后显示Connection error

2019-07-10 16:16:42:307 [error] Unhandled Rejection at: Promise [object Promise], reason: SyntaxError: Unexpected token : in JSON at position 3
2019-07-10 16:18:43:097 [error] Unhandled Rejection at: Promise [object Promise], reason: SentryError: HTTP Error (429): Creation of this event was denied due to rate limiting
2019-07-10 16:18:43:098 [error] Unhandled Rejection at: Promise [object Promise], reason: SentryError: HTTP Error (429): Creation of this event was denied due to rate limiting
2019-07-10 16:32:56:599 [info] Kill client
2019-07-10 17:56:18:606 [info] Register shortcut: toggleWindow, Ctrl+Shift+W
2019-07-10 17:56:18:613 [info] run command: python /home/xxxx/.config/electron-ssr/shadowsocksr/shadowsocks/local.py -s xx.xx.xx.xx -p 7080 -k xxxxxxxxxxxxxxxxxxxxxx -m aes-256-cfb -O auth_sha1_v4 -o plain -b 127.0.0.1 -l 1080
2019-07-10 17:56:18:617 [info] pac server listen at: 127.0.0.1:2333
2019-07-10 17:56:18:618 [info] http proxy server listen at: 127.0.0.1:12333
2019-07-10 17:56:18:737 [error] 2019-07-10 17:56:18 INFO     util.py:85 loading libcrypto from /home/xxxx/anaconda3/lib/libcrypto.so.1.1

2019-07-10 17:56:18:737 [error] 2019-07-10 17:56:18 INFO     local.py:50 local start with protocol[auth_sha1_v4] password [b'xxxxxxxxxxxxxxxxxxxxxx'] method [aes-256-cfb] obfs [plain] obfs_param []
2019-07-10 17:56:18 INFO     local.py:54 starting local at 127.0.0.1:1080
2019-07-10 17:56:18 INFO     asyncdns.py:324 dns server: [('127.0.0.53', 53)]

2019-07-10 17:56:19:315 [error] Unhandled Rejection at: Promise [object Promise], reason: SyntaxError: Unexpected token : in JSON at position 3
2019-07-10 17:56:22:688 [error] Unhandled Rejection at: Promise [object Promise], reason: SentryError: HTTP Error (429): Creation of this event was denied due to rate limiting
2019-07-10 17:56:22:690 [error] Unhandled Rejection at: Promise [object Promise], reason: SentryError: HTTP Error (429): Creation of this event was denied due to rate limiting

按照楼主的说明安装的,设置环境为python2.7也不行,和python3一样的错误。

2019-07-10 18:02:20:612 [info] Register shortcut: toggleWindow, Ctrl+Shift+W
2019-07-10 18:02:20:618 [info] run command: python /home/tree/.config/electron-ssr/shadowsocksr/shadowsocks/local.py -s xxxxxxxxxxxxxxxxxxxxxx -p 7080 -k xxxxxxxxxxxxxxxxxxxxxx -m aes-256-cfb -O auth_sha1_v4 -o plain -b 127.0.0.1 -l 1080
2019-07-10 18:02:20:623 [info] pac server listen at: 127.0.0.1:2333
2019-07-10 18:02:20:624 [info] http proxy server listen at: 127.0.0.1:12333
2019-07-10 18:02:20:697 [error] 2019-07-10 18:02:20 INFO     util.py:85 loading libcrypto from libcrypto.so.1.1

2019-07-10 18:02:20:697 [error] 2019-07-10 18:02:20 INFO     local.py:50 local start with protocol[auth_sha1_v4] password [xxxxxxxxxxxxxxxxxxxxxx] method [aes-256-cfb] obfs [plain] obfs_param []
2019-07-10 18:02:20 INFO     local.py:54 starting local at 127.0.0.1:1080
2019-07-10 18:02:20 INFO     asyncdns.py:324 dns server: [('127.0.0.53', 53)]

2019-07-10 18:02:21:084 [error] Unhandled Rejection at: Promise [object Promise], reason: SyntaxError: Unexpected token : in JSON at position 3
2019-07-10 18:02:23:036 [error] Unhandled Rejection at: Promise [object Promise], reason: SentryError: HTTP Error (429): Creation of this event was denied due to rate limiting
2019-07-10 18:02:23:038 [error] Unhandled Rejection at: Promise [object Promise], reason: SentryError: HTTP Error (429): Creation of this event was denied due to rate limiting

现在有点怀疑这一行,似乎是在读取一个加密的so文件去使用: 2019-07-10 17:56:18:737 [error] 2019-07-10 17:56:18 INFO util.py:85 loading libcrypto from /home/xxxx/anaconda3/lib/libcrypto.so.1.1 但是暂时没有什么头绪

和你的 2019-06-11 22:46:25:454 [error] 2019-06-11 22:46:25 INFO util.py:85 loading libsodium from libsodium.so.23很像 你这里这个so文件是因为chacha20加密方式要求的,换一个aes或者什么的就可以解决了。

@qingshuisiyuan 大神有没有什么意见呢?

ubuntu18.04 python2.7 、 python3.7

sudo apt install libsodium libsodium-devel 试试,不行再跟帖。 来源: https://github.com/qingshuisiyuan/electron-ssr-backup/issues/8

qingshuisiyuan avatar Jul 11 '19 08:07 qingshuisiyuan

是不是密码错误?我也是这样的错误,后面发现是我的密码设置错了,修改过来后就好了。建议仔细检查一下参数设置

sheepc avatar Jul 13 '19 02:07 sheepc

@qingshuisiyuan @sheepc 谢谢二位,各种折腾都没搞定。后来尝试从bing快照找之前原始仓库的issue,看到有人说老版本的没问题。

再后来,,,网上找到了0.2.3版本的deb,安装后没问题了。。。

先用着吧,只是0.2.3是别人分享的,不确定是否被篡改过。如果能从现在的代码自己编译0.2.3的deb最好了。

maomige avatar Jul 13 '19 04:07 maomige

`` 2019-09-13 16:33:41:937 [info] pac server listen at: 127.0.0.1:2333 2019-09-13 16:33:41:968 [info] next subscribe update time: Sat Sep 14 2019 16:33:41 GMT+0800 (CST) 2019-09-13 16:33:42:031 [error] 2019-09-13 16:33:42 INFO util.py:85 loading libcrypto from libcrypto.so.1.1

2019-09-13 16:33:42:032 [error] 2019-09-13 16:33:42 INFO local.py:50 local start with xxx 2019-09-13 16:33:42 INFO local.py:54 starting local at 127.0.0.1:1080 2019-09-13 16:33:42 INFO asyncdns.py:324 dns server: [('127.0.0.53', 53)]

2019-09-13 16:33:42:767 [error] Unhandled Rejection at: Promise [object Promise], reason: SyntaxError: Unexpected token : in JSON at position 3 2019-09-13 16:33:43:906 [error] Unhandled Rejection at: Promise [object Promise], reason: SentryError: HTTP Error (429): Creation of this event was denied due to rate limiting 2019-09-13 16:33:43:907 [error] Unhandled Rejection at: Promise [object Promise], reason: SentryError: HTTP Error (429): Creation of this event was denied due to rate limiting `` 类似的报错, 服务可用,尝试删除.config/electron-ssr重装但不能解决,非chacha20加密,救救孩子~

ovoxd avatar Sep 13 '19 08:09 ovoxd