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

路由器openwrt环境自动更新安装了Python3.9版本导致xx-net启动X-Tunnel部分报错 #13488

Open
shipf0820 opened this issue Mar 16, 2021 · 2 comments

Comments

@shipf0820
Copy link

shipf0820 commented Mar 16, 2021

2021-03-16 16:48:34.934 - [INFO] load /tmp/mnt/TOSHIBA/data/XX-Net/code/4.5.3/x_tunnel/local/cloudflare_front/front_domains.json success

2021-03-16 16:48:34.937 - [INFO] SSL use version:TLSv1_3

2021-03-16 16:48:34.963 - [ERROR] updated cloudflare front domains from github fail:AttributeError("'NoneType' object has no attribute 'getsockopt'")

2021-03-16 16:48:34.971 - [INFO] OpenSSL support alpn

2021-03-16 16:48:34.972 - [INFO] load ip range file:/tmp/mnt/TOSHIBA/data/XX-Net/code/4.5.3/x_tunnel/local/cloudflare_front/ip_range.txt

2021-03-16 16:48:35.003 - [ERROR] Except stack:Traceback (most recent call last): File "/tmp/mnt/TOSHIBA/data/XX-Net/code/4.5.3/x_tunnel/local/cloudflare_front/host_manager.py", line 69, in update_front_domains response = client.request("GET", url) File "/tmp/mnt/TOSHIBA/data/XX-Net/code/4.5.3/lib/noarch/simple_http_client.py", line 469, in request sock = self.connect(upl.hostname, port, upl.scheme == b"https") File "/tmp/mnt/TOSHIBA/data/XX-Net/code/4.5.3/lib/noarch/simple_http_client.py", line 437, in connect sock = ssl.wrap_socket(sock) File "/opt/lib/python3.9/ssl.py", line 1405, in wrap_socket File "/opt/lib/python3.9/ssl.py", line 500, in wrap_socket File "/opt/lib/python3.9/ssl.py", line 987, in _create AttributeError: 'NoneType' object has no attribute 'getsockopt'

2021-03-16 16:48:35.057 - [INFO] load ip_list num:134, target num:134

2021-03-16 16:49:11.325 - [DEBUG] create_ssl update ip:172.67.225.211 time:345 h2:1 sni:www.tomosaki.ml, host:tomosaki.ml

2021-03-16 16:49:16.624 - [DEBUG] create_ssl update ip:1.0.0.73 time:301 h2:1 sni:standardalcohol.tk, host:standardalcohol.tk

2021-03-16 16:49:17.922 - [DEBUG] create_ssl update ip:1.1.1.89 time:290 h2:1 sni:www.tomosaki.ml, host:tomosaki.ml

2021-03-16 16:49:19.262 - [DEBUG] create_ssl update ip:1.0.0.211 time:320 h2:1 sni:www.meetgod.tk, host:meetgod.tk

2021-03-16 16:49:20.618 - [DEBUG] create_ssl update ip:198.41.208.109 time:336 h2:1 sni:xovowfx.tk, host:xovowfx.tk
诊断信息:
XX-Net Status:

sys-platform: aarch64, Linux-4.1.27-aarch64-with-glibc2.27
os-system: Linux
os-version: #2 SMP PREEMPT Thu Jan 14 16:13:00 CST 2021
os-release: 4.1.27
os-detail: plat:Linux-4.1.27-aarch64-with-glibc2.27 release:4.1.27 ver:#2 SMP PREEMPT Thu Jan 14 16:13:00 CST 2021
architecture: 64bit,
browser: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:86.0) Gecko/20100101 Firefox/86.0
xxnet-version: 4.5.3
python-version: 3.9.0
openssl-version: OpenSSL 1.1.1g 21 Apr 2020 TLSv1_3 h2:alpn
lan-proxy: Disable
use-ipv6: force_ipv6
gws-ip-num: total:undefined ipv4:0 ipv6:94
ipv4-status: OK
ipv6-status: OK
connected-link: new:0 used:undefined
worker: h1:0 h2:13
scan-ip-thread-num: 5
ip-quality: 1055
is-idle: 0
block-stat: undefined
proxy_state: Fail
ca_state: Fail
Appid_Working: true
Appids_Out_Of_Quota: false
Appids_Not_Exist: false
Using_Public_Appid: false

附X-Tunnel状态和日志截图
图片
图片

@shipf0820 shipf0820 changed the title 路由器openwrt环境自动更新安装了Python3.9版本导致xx-net启动后报错 路由器openwrt环境自动更新安装了Python3.9版本导致xx-net启动X-Tunnel部分报错 Mar 16, 2021
@dutao6678
Copy link

你都用上openwrt软路由,为什么还用插件啊!~

@niu541412
Copy link

这个getsockopt的错误,好像忽略就行了。我一直都有,不论在本地还是路由器上,可能是服务器连接的问题

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

No branches or pull requests

3 participants