shadowsocksrr / electron-ssr

Shadowsocksr client using electron
MIT License
1.73k stars 510 forks source link

Ubuntu20.04LTS 无法开启代理Error: net::ERR_CONNECTION_REFUSED #105

Open ghost opened 4 years ago

ghost commented 4 years ago

Your os

Ubuntu20.04_LTS_desktop_x64 kernel 5.4.0-40-generic

The version of electron-ssr

v0.2.7

What's the problem

安装完成后无法翻墙,开启全局模式依然无效,系统网络代理为automatic 使用curl命令确认代理不成功

(base) tel@R7000:~/Downloads$ export http_proxy="http://127.0.0.1:12333"
(base) tel@R7000:~/Downloads$ export https_proxy="http://127.0.0.1:12333"
(base) tel@R7000:~/Downloads$ curl https://google.com
curl: (56) Received HTTP code 500 from proxy after CONNECT

App log here

日志错误显示如下 2020-07-03 14:43:35:270 [info] pac server listen at: 127.0.0.1:2333 2020-07-03 14:43:35:270 [info] http proxy server listen at: 127.0.0.1:12333 2020-07-03 14:50:24:371 [error] Unhandled Rejection at: Promise [object Promise], reason: Error: net::ERR_CONNECTION_REFUSED 2020-07-03 14:50:24:375 [error] Unhandled Rejection at: Promise [object Promise], reason: Error: net::ERR_CONNECTION_REFUSED 2020-07-03 14:50:24:377 [error] Unhandled Rejection at: Promise [object Promise], reason: Error: net::ERR_CONNECTION_REFUSED 2020-07-03 14:50:24:378 [error] Unhandled Rejection at: Promise [object Promise], reason: Error: net::ERR_CONNECTION_REFUSED 2020-07-03 14:50:24:380 [error] Unhandled Rejection at: Promise [object Promise], reason: Error: net::ERR_CONNECTION_REFUSED 2020-07-03 14:50:24:382 [error] Unhandled Rejection at: Promise [object Promise], reason: Error: net::ERR_CONNECTION_REFUSED 2020-07-03 14:50:24:383 [error] Unhandled Rejection at: Promise [object Promise], reason: Error: net::ERR_CONNECTION_REFUSED 2020-07-03 14:50:24:385 [error] Unhandled Rejection at: Promise [object Promise], reason: Error: net::ERR_CONNECTION_REFUSED 2020-07-03 14:50:24:386 [error] Unhandled Rejection at: Promise [object Promise], reason: Error: net::ERR_CONNECTION_REFUSED 2020-07-03 14:50:24:386 [error] Unhandled Rejection at: Promise [object Promise], reason: Error: net::ERR_CONNECTION_REFUSED 2020-07-03 14:50:24:387 [error] Unhandled Rejection at: Promise [object Promise], reason: Error: net::ERR_CONNECTION_REFUSED 2020-07-03 14:50:24:388 [error] Unhandled Rejection at: Promise [object Promise], reason: Error: net::ERR_CONNECTION_REFUSED 2020-07-03 14:50:24:389 [error] Unhandled Rejection at: Promise [object Promise], reason: Error: net::ERR_CONNECTION_REFUSED 2020-07-03 14:50:25:200 [error] Unhandled Rejection at: Promise [object Promise], reason: SentryError: HTTP Error (429) 2020-07-03 14:50:25:201 [error] Unhandled Rejection at: Promise [object Promise], reason: SentryError: HTTP Error (429) 2020-07-03 14:50:32:362 [error] Unhandled Rejection at: Promise [object Promise], reason: Error: net::ERR_CONNECTION_REFUSED 2020-07-03 14:50:32:365 [error] Unhandled Rejection at: Promise [object Promise], reason: Error: net::ERR_CONNECTION_REFUSED 2020-07-03 14:50:33:198 [error] Unhandled Rejection at: Promise [object Promise], reason: SentryError: HTTP Error (429) 2020-07-03 14:50:33:199 [error] Unhandled Rejection at: Promise [object Promise], reason: SentryError: HTTP Error (429)

virtualRooom commented 4 years ago

+1,相同情况,相同报错

virtualRooom commented 4 years ago

链接python后可以连接: sudo ln -s /usr/bin/python3 /usr/bin/python

ghost commented 4 years ago

链接python后可以连接: sudo ln -s /usr/bin/python3 /usr/bin/python

谢谢

lss-len commented 1 year ago

最后怎么解决的呀?