geph-official/geph2

[linux command] failed getCleanConn()

Closed this issue · 1 comments

在 Centos 7 使用 geph-client 命令启动 App 经常遇到 :
(启动命令参考:https://github.com/geph-official/geph2/wiki/Advanced-usage)

INFO[0000] hack DNS for lack of /etc/resolv.conf
INFO[0000] GephNG version v0.22.2
INFO[0000] DNS on 0.0.0.0:9983
INFO[0000] STATS on 0.0.0.0:9809
INFO[0007] country is
INFO[0007] disabling bridges
WARN[0014] failed to connect to exit server: %v dial tcp X.X.X.X:X: i/o timeout
INFO[0014] failed getCleanConn(): dial tcp X.X.X.X:X: i/o timeout
......

已找到解决方案,命令增加 -forceBridges 项 可连接 到 server

#!/bin/sh
/usr/local/bin/geph-client -username "........" \
                           -password "............" \
                           -socksAddr 0.0.0.0:9909 \
                           -httpAddr 0.0.0.0:9910 \
                           -dnsAddr 0.0.0.0:9983 \
                           -statsAddr 0.0.0.0:9809 \
                           -bypassChinese \
                           -forceBridges