xyuanmu / XX-Mini

:ghost: XX-Net 精简版
444 stars 126 forks source link

XX-Net mini 在entware上运行不,怀疑是不是对应entware版本的openssl有问题 #150

Open GerGitHub opened 6 years ago

GerGitHub commented 6 years ago
/tmp/home/root# python /mnt/sda1/Shells/XXNet5/proxy.py
--------------------------------------------------------------------------------
XX-Mini Version     : 1.3.1 (python/2.7.13 pyopenssl/17.2.0)
Listen Address      : 127.0.0.1:8087
Setting File        : proxy.ini
GAE APPID           : Using Public APPID
Pac Server          : http://127.0.0.1:8086/proxy.pac
CA File             : http://127.0.0.1:8086/CA.crt
Pac File            : file:///mnt/sda1/Shells/XXNet5/data/proxy.pac
--------------------------------------------------------------------------------
Nov 14 18:24:45.259 - [INFO] SSL use version:TLSv1_2
Nov 14 18:24:45.262 - [INFO] OpenSSL support alpn
Nov 14 18:24:45.318 - [INFO] load ip range file:/mnt/sda1/Shells/XXNet5/ip_range.txt
Nov 14 18:24:45.949 - [INFO] OpenSSL support alpn
Nov 14 18:24:46.067 - [INFO] server 127.0.0.1:8087 started.
Nov 14 18:24:46.068 - [INFO] server 127.0.0.1:8086 started.
Nov 14 18:24:46.080 - [INFO] PACServer from:127.0.0.1:35930 GET /proxy.pac
Nov 14 18:24:46.085 - [INFO] try download 'https://easylist-downloads.adblockplus.org/easylistchina.txt' to update pacfile
Nov 14 18:25:46.183 - [WARNING] get worker fail:GAE_Exception()
Nov 14 18:25:46.184 - [WARNING] gae_exception:GAE_Exception() https://easylist-downloads.adblockplus.org/easylistchina.txt
Nov 14 18:25:46.185 - [WARNING] GAE GET https://easylist-downloads.adblockplus.org/easylistchina.txt request fail:GAE_Exception()
Nov 14 18:25:46.189 - [WARNING] pac_update download adblock fail:HTTPError()
Nov 14 18:25:46.189 - [INFO] try download 'https://raw.githubusercontent.com/gfwlist/gfwlist/master/gfwlist.txt' to update pacfile
Nov 14 18:25:46.693 - [WARNING] network fail
Nov 14 18:26:46.293 - [WARNING] get worker fail:GAE_Exception()
Nov 14 18:26:46.294 - [WARNING] gae_exception:GAE_Exception() https://raw.githubusercontent.com/gfwlist/gfwlist/master/gfwlist.txt
Nov 14 18:26:46.294 - [WARNING] GAE GET https://raw.githubusercontent.com/gfwlist/gfwlist/master/gfwlist.txt request fail:GAE_Exception()
Nov 14 18:26:46.298 - [WARNING] pac_update download gfwlist fail:HTTPError()
Nov 14 18:34:46.161 - [INFO] PACServer from:127.0.0.1:30159 GET /proxy.pac
Nov 14 18:34:46.166 - [INFO] try download 'https://easylist-downloads.adblockplus.org/easylistchina.txt' to update pacfile
Nov 14 18:35:46.262 - [WARNING] get worker fail:GAE_Exception()
Nov 14 18:35:46.263 - [WARNING] gae_exception:GAE_Exception() https://easylist-downloads.adblockplus.org/easylistchina.txt
Nov 14 18:35:46.263 - [WARNING] GAE GET https://easylist-downloads.adblockplus.org/easylistchina.txt request fail:GAE_Exception()
Nov 14 18:35:46.267 - [WARNING] pac_update download adblock fail:HTTPError()
Nov 14 18:35:46.267 - [INFO] try download 'https://raw.githubusercontent.com/gfwlist/gfwlist/master/gfwlist.txt' to update pacfile
Nov 14 18:36:46.363 - [WARNING] get worker fail:GAE_Exception()
Nov 14 18:36:46.363 - [WARNING] gae_exception:GAE_Exception() https://raw.githubusercontent.com/gfwlist/gfwlist/master/gfwlist.txt
Nov 14 18:36:46.364 - [WARNING] GAE GET https://raw.githubusercontent.com/gfwlist/gfwlist/master/gfwlist.txt request fail:GAE_Exception()
Nov 14 18:36:46.369 - [WARNING] pac_update download gfwlist fail:HTTPError()

配置环境

路由器: netgear R7000
ROM: Advanced tomato V1.2.8
安装Entware-ng ARMV7版

opkg install python   python-pyopenssl openssl-util 
root@Netgear-R7k:/tmp/home/root# opkg list-installed
busybox - 1.27.2-1
curl - 7.54.1-1
entware-opt - 222108-5
findutils - 4.6.0-1
ldconfig - 2.23-6
libbz2 - 1.0.6-3
libc - 2.23-6
libconfig - 1.5-1
libcurl - 7.54.1-1
libdb47 - 4.7.25.4.NC-5
libexpat - 2.2.4-1
libffi - 3.2.1-3
libgcc - 6.3.0-6
libgdbm - 1.11-1
libgmp - 6.1.2-1
liblzma - 5.2.3-1
liblzo - 2.10-1
libncurses - 6.0-1c
libncursesw - 6.0-1c
libopenssl - 1.0.2l-1
libpcre - 8.41-2
libprotobuf-c - v1.2.1
libpthread - 2.23-6
librt - 2.23-6
libruby - 2.4.1-1
libsqlite3 - 3190300-1
libssp - 6.3.0-6
libstdcpp - 6.3.0-6
libxml2 - 2.9.5-1
locales - 2.23-6
openssl-util - 1.0.2l-1
openvpn-openssl - 2.4.3-1
opkg - 2011-04-08-9c97d5ec-17a
php7 - 7.1.9-1
php7-mod-openssl - 7.1.9-1
python - 2.7.13-7
python-asn1crypto - 0.22.0-1
python-base - 2.7.13-7
python-cffi - 1.10.0-1
python-codecs - 2.7.13-7
python-compiler - 2.7.13-7
python-cryptography - 2.0.3-1
python-ctypes - 2.7.13-7
python-curl - 7.43.0-1
python-db - 2.7.13-7
python-decimal - 2.7.13-7
python-distutils - 2.7.13-7
python-email - 2.7.13-7
python-enum34 - 1.1.6-2
python-gdbm - 2.7.13-7
python-idna - 2.5-1
python-ipaddress - 1.0.17-1
python-light - 2.7.13-7
python-logging - 2.7.13-7
python-multiprocessing - 2.7.13-7
python-ncurses - 2.7.13-7
python-openssl - 2.7.13-7
python-ply - 3.10-1
python-pycparser - 2.17-1
python-pydoc - 2.7.13-7
python-pyopenssl - 17.2.0-1
python-six - 1.10.0-4
python-sqlite3 - 2.7.13-7
python-unittest - 2.7.13-7
python-xml - 2.7.13-7
python3 - 3.6.2-6
python3-asyncio - 3.6.2-6
python3-base - 3.6.2-6
python3-codecs - 3.6.2-6
python3-ctypes - 3.6.2-6
python3-dbm - 3.6.2-6
python3-decimal - 3.6.2-6
python3-distutils - 3.6.2-6
python3-email - 3.6.2-6
python3-gdbm - 3.6.2-6
python3-light - 3.6.2-6
python3-logging - 3.6.2-6
python3-lzma - 3.6.2-6
python3-multiprocessing - 3.6.2-6
python3-ncurses - 3.6.2-6
python3-openssl - 3.6.2-6
python3-pydoc - 3.6.2-6
python3-sqlite3 - 3.6.2-6
python3-unittest - 3.6.2-6
python3-xml - 3.6.2-6
ruby - 2.4.1-1
ruby-enc - 2.4.1-1
ruby-misc - 2.4.1-1
ruby-multithread - 2.4.1-1
ruby-openssl - 2.4.1-1
terminfo - 6.0-1c
umurmur-openssl - 0.2.16-20161126-1
zlib - 1.2.11-1

运行会出现上面问题,然后停止在那儿,一晚也没变;
安装过P3版本,也安装了python3... 依旧出现上面情况; 但是直接 运行XX-Net的/code/default/launcher/start.py 时又可以正常运行

麻烦大侠们帮忙瞧瞧,十分感谢!!!

xyuanmu commented 6 years ago

没有IP可用了 尝试用这个方法使用IPv6 https://github.com/xyuanmu/XX-Mini/issues/146#issuecomment-338631523 路由器应该也要开6to4隧道

GerGitHub commented 6 years ago

用的就是IPV6

GerGitHub commented 6 years ago

换最新版的XX-Mini 就OK了, 没问题了