Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ghost opened this issue Jul 3, 2020 · 4 comments
Open

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

ghost opened this issue Jul 3, 2020 · 4 comments

Comments

@ghost
Copy link

ghost commented Jul 3, 2020

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)

@ghost ghost changed the title Ubuntu20.02 无法开启代理Error: net::ERR_CONNECTION_REFUSED Ubuntu20.04LTS 无法开启代理Error: net::ERR_CONNECTION_REFUSED Jul 3, 2020
@virtualRooom
Copy link

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

@virtualRooom
Copy link

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

@ghost
Copy link
Author

ghost commented Jul 6, 2020

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

谢谢

@verils verils mentioned this issue Apr 15, 2021
Closed
@lss-len
Copy link

lss-len commented Nov 2, 2022

最后怎么解决的呀?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants