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

0.33.1版Android apk点“连接VPN”即自动退出app。 #100

Open
erdcy opened this issue Dec 27, 2018 · 0 comments
Open

0.33.1版Android apk点“连接VPN”即自动退出app。 #100

erdcy opened this issue Dec 27, 2018 · 0 comments

Comments

@erdcy
Copy link

erdcy commented Dec 27, 2018

配置文件是从apk文件中解压出来,配置后同步到手机,细节如下:
——————————————————分割线——————————————————————
{
"Log": ["stdout"],
"UserAgent":"Mozilla/5.0 (Windows NT 6.1; WOW64; rv:15.0) Gecko/20100101 Firefox/15.0.1",
"Encrypt":{"Method":"auto", "Key":"809240d3a021449f6e67bb73221d42df942a308a"},
"Auth": "gsnova",

"LocalDNS":{
	"Listen": "127.0.0.1:48100",
	"FastDNS":["114.114.114.114"],
	//"TrustedDNS": ["208.67.222.222:443", "208.67.220.220:443"],
	"TrustedDNS": ["208.67.222.222:443", "208.67.220.220:443"],
	"CacheSize":1024,
	"TCPConnect": false
},

//fake address, only used as udp protocol indicator
"UDPGWAddr": "20.20.20.20:1111",
"GFWList":{
	"URL":"https://raw.githubusercontent.com/gfwlist/gfwlist/master/gfwlist.txt",
	"Proxy":"",
	"UserRule":[]
},


"Proxy":[
	{
		"Local": ":48100",
		"SNISniff": true,
		"PAC":[
			{"Protocol":["dns"],"Remote":"Direct"},
			{"Rule":["IsCNIP"],"Remote":"Direct"},
			{"Protocol":["udp"],"Remote":"Direct"},
			{"Remote":"Default"}
		]
	}
],

"Channel":[
	{
		"Enable":true,
		"Name":"Default",
		"ServerList":["http://myapp.herokuapp.com"],
		//if u are behind a HTTP proxy
		"HTTPProxy":"",
		"ConnsPerServer":3,
		//Unit: second
		"DialTimeout":5,
		//Unit: second
		"ReadTimeout":15,
		//Reconnect after 120s
		"ReconnectPeriod": 1200,
		//ReconnectPeriod rand adjustment, the real reconnect period is random value between [P - adjust, P + adjust]
		"RCPRandomAdjustment" : 60,
		//Send heartbeat msg to keep alive
		"HeartBeatPeriod": 10
	}
]

}

——————————————————分割线————————————————————————
Server List也试过:https://myapp.herokuapp.com 和 wss://myapp.herokuapp.com,都是相同的现象,点击“连接VPN”即自动退出app。P.S. Windows PC用上述两个链接都可以正常使用。

@yinqiwen 麻烦有空的帮忙看看,谢谢!!!

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

1 participant