shadowsocksrr / electron-ssr

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

Ubuntu20.04上无法打开socks端口1080 #82

Closed 2niuhe closed 4 years ago

2niuhe commented 4 years ago

系统是Ubuntu20.04

Python版本是3.8

软件是0.2.7版本

之前在Ubuntu18.04版本可以正常用,在新的Ubuntu20.04上无法监听1080端口 用netstat命令查看,也没有看到监听1080端口,只有12333端口。和其他软件也没有端口冲突。

App log here

2020-04-24 20:58:55:293 [info] run command: python /home/**/.config/electron-ssr/shadowsocksr/shadowsocks/local.py -s ******** -k ****** -m chacha20-ietf -O auth_aes128_sha1 -G 13103:o7tP0m -o tls1.2_ticket_auth -g download.windowsupdate.com -b 127.0.0.1 -l 1080
2020-04-24 20:58:57:862 [error] http proxy server connect error: Error: Socket Closed
2020-04-24 20:58:57:890 [error] http proxy server connect error: Error: Socket Closed
……
2020-04-24 21:02:21:749 [info] next subscribe update time: Sat Apr 25 2020 21:02:21 GMT+0800 (CST)
2020-04-24 21:02:27:015 [error] Unhandled Rejection at: Promise [object Promise], reason: SentryError: HTTP Error (429)
2020-04-24 21:02:27:016 [error] Unhandled Rejection at: Promise [object Promise], reason: SentryError: HTTP Error (429)
2020-04-24 21:02:39:177 [error] http proxy server connect error: Error: Socket Closed
2020-04-24 21:02:39:213 [error] http proxy server connect error: Error: Socket Closed
2020-04-24 21:02:47:387 [error] http proxy server connect error: Error: Socket Closed
2020-04-24 21:02:47:421 [error] http proxy server connect error: Error: Socket Closed
2020-04-24 21:02:56:654 [error] http proxy server connect error: Error: Socket Closed
2020-04-24 21:02:58:079 [error] http proxy server connect error: Error: Socket Closed
2020-04-24 21:03:00:915 [error] http proxy server connect error: Error: Socket Closed
2020-04-24 21:03:04:828 [info] http proxy server closed.

日志里配置信息已经加了*

xVanTuring commented 4 years ago

@2niuhe After testing on Ubuntu 20.04 with v0.3.0-alpha.5, no problem occurred. However Ubuntu 20.04 has python3 in '/usr/bin' only by default. To get started in Ubuntu 20.04, you might want to link python3 to python with command sudo ln -s /usr/bin/python3 /usr/bin/python. (python3 detection will be added soon)

Closing this issue now. Feel free to reopen it 😉.