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

日志错误提示:Interface configuration script completed with errors.求解决! #1

Open
szvpn2 opened this issue Mar 14, 2015 · 6 comments

Comments

@szvpn2
Copy link

szvpn2 commented Mar 14, 2015

日志错误提示:Interface configuration script completed with errors.
手机系统:安卓4.2.2 内核版本3.4.5 用的tunnel broker server=tb.ipv6.fetnet.net
请问为什么会出现这个错误提示Interface configuration script completed with errors.软件界面也没显示成功获取ipv6地址。试了也打不开ipv6网址,请问怎么解决?
日志如下:
2015/03/14 15:31:31 I gogoc: gogoCLIENT v1.2-RELEASE build Jul 2 2011-23:34:56
2015/03/14 15:31:31 I gogoc: Built on ///Android ARM EABI (Ported to Android by Liu DongMiao liudongmiao@gmail.com)///
2015/03/14 15:31:31 I gogoc: Establishing connection to server tb.ipv6.fetnet.net using reliable UDP.
2015/03/14 15:31:41 I gogoc: Using TSP protocol version 2.0.2.
2015/03/14 15:31:41 I gogoc: Retrieving TSP capabilities from Server.
2015/03/14 15:31:41 I gogoc: RUDP packet 0, RTO 2.000000, sequence 0xf00000f0 timestamp 10563.
2015/03/14 15:31:41 I gogoc: Reply: RUDP packet 0, RTO 2.000000, sequence 0xf00000f0 timestamp 10563.
2015/03/14 15:31:41 W gogoc: TSP version not supported by server: 2.0.2.
2015/03/14 15:31:41 E gogoc: Failed to retrieve TSP capabilities.
2015/03/14 15:31:41 I gogoc: Disconnected. Retrying.
2015/03/14 15:31:41 I gogoc: Establishing connection to server tb.ipv6.fetnet.net using reliable UDP.
2015/03/14 15:32:01 I gogoc: Using TSP protocol version 2.0.1.
2015/03/14 15:32:01 I gogoc: Retrieving TSP capabilities from Server.
2015/03/14 15:32:01 I gogoc: RUDP packet 0, RTO 2.000000, sequence 0xf00000f0 timestamp 20743.
2015/03/14 15:32:01 I gogoc: Reply: RUDP packet 0, RTO 2.000000, sequence 0xf00000f0 timestamp 20743.
2015/03/14 15:32:01 I gogoc: Authenticating...
2015/03/14 15:32:01 I gogoc: Using AUTH-ANONYMOUS authentication mechanism.
2015/03/14 15:32:01 I gogoc: RUDP packet 0, RTO 2.088875, sequence 0xf00000f1 timestamp 20822.
2015/03/14 15:32:01 I gogoc: Reply: RUDP packet 0, RTO 2.088875, sequence 0xf00000f1 timestamp 20822.
2015/03/14 15:32:01 I gogoc: Authentication successful.
2015/03/14 15:32:01 I gogoc: Using [192.168.0.12] as source IPv4 address.
2015/03/14 15:32:01 I gogoc: Negotiating tunnel parameters with server
2015/03/14 15:32:01 I gogoc: Sending: 'Content-length: 217

192.168.0.12 :: '
2015/03/14 15:32:01 I gogoc: RUDP packet 0, RTO 2.172266, sequence 0xf00000f2 timestamp 20907.
2015/03/14 15:32:03 I gogoc: No RUDP reply.
2015/03/14 15:32:03 I gogoc: RUDP packet 1, RTO 2.172266, sequence 0xf00000f2 timestamp 22908.
2015/03/14 15:32:03 I gogoc: Reply: RUDP packet 1, RTO 2.172266, sequence 0xf00000f2 timestamp 22908.
2015/03/14 15:32:03 I gogoc: Received: '200 Success 192.72.72.16 2001:0cd8:fe00:0000:0000:0000:0000:005c
123.88.11.134 2001:0cd8:fe00:0000:0000:0000:0000:005d 2001:0cd8:fe00:0000:0000:0000:0000:005c '
2015/03/14 15:32:03 I gogoc: Processing server reply.
2015/03/14 15:32:03 I gogoc: Sending: 'Content-length: 35'
2015/03/14 15:32:03 I gogoc: RUDP packet 0, RTO 2.238482, sequence 0xf00000f3 timestamp 22987.
2015/03/14 15:32:04 I gogoc: Reply: RUDP packet 0, RTO 2.238482, sequence 0xf00000f3 timestamp 22987.
2015/03/14 15:32:04 I gogoc: Tunnel negotiation successful. Accepted offer.
2015/03/14 15:32:04 I gogoc: Checking for Linux IPv6 support...
2015/03/14 15:32:04 I gogoc: IPv6 support found.
2015/03/14 15:32:04 I gogoc: Waiting for setup script to complete.
2015/03/14 15:32:04 I gogoc: TSP_OPERATION=TSP_TUNNEL_CREATION
2015/03/14 15:32:04 I gogoc: TSP_VERBOSE=3
2015/03/14 15:32:04 I gogoc: TSP_HOME_DIR=/data/data/com.googlecode.gogodroid
2015/03/14 15:32:04 I gogoc: TSP_TUNNEL_MODE=v6udpv4
2015/03/14 15:32:04 I gogoc: TSP_HOST_TYPE=host
2015/03/14 15:32:04 I gogoc: TSP_TUNNEL_INTERFACE=tun
2015/03/14 15:32:04 I gogoc: TSP_HOME_INTERFACE=
2015/03/14 15:32:04 I gogoc: TSP_CLIENT_ADDRESS_IPV4=123.88.11.134
2015/03/14 15:32:04 I gogoc: TSP_CLIENT_ADDRESS_IPV6=2001:0cd8:fe00:0000:0000:0000:0000:005d
2015/03/14 15:32:04 E gogoc: Interface configuration script completed with errors.
2015/03/14 15:32:04 I gogoc: TSP_OPERATION=TSP_TUNNEL_TEARDOWN
2015/03/14 15:32:04 I gogoc: TSP_VERBOSE=3
2015/03/14 15:32:04 I gogoc: TSP_HOME_DIR=/data/data/com.googlecode.gogodroid
2015/03/14 15:32:04 I gogoc: TSP_TUNNEL_MODE=v6udpv4
2015/03/14 15:32:04 I gogoc: TSP_HOST_TYPE=host
2015/03/14 15:32:04 I gogoc: TSP_TUNNEL_INTERFACE=tun
2015/03/14 15:32:04 I gogoc: TSP_HOME_INTERFACE=
2015/03/14 15:32:04 I gogoc: TSP_CLIENT_ADDRESS_IPV4=123.88.11.134
2015/03/14 15:32:04 I gogoc: TSP_CLIENT_ADDRESS_IPV6=2001:0cd8:fe00:0000:0000:0000:0000:005d

@aelmahmoudy
Copy link
Owner

Please send the logcat

@szvpn2
Copy link
Author

szvpn2 commented Apr 2, 2015

在 2015-03-16 20:14:31,"أحمد المحمودي" notifications@github.com 写道:

Please send the logcat


Reply to this email directly or view it on GitHub.
2015/04/02 17:52:25 I gogoc: gogoCLIENT v1.2-RELEASE build Mar 31 2014-08:29:21
2015/04/02 17:52:25 I gogoc: Built on ///Android ARM EABI (Ported to Android by Liu DongMiao liudongmiao@gmail.com)///
2015/04/02 17:52:25 I gogoc: Establishing connection to server tb.ipv6.apol.com.tw using reliable UDP.
2015/04/02 17:52:30 I gogoc: Using TSP protocol version 2.0.2.
2015/04/02 17:52:30 I gogoc: Retrieving TSP capabilities from Server.
2015/04/02 17:52:30 I gogoc: RUDP packet 0, RTO 2.000000, sequence 0xf00000f0 timestamp 5806.
2015/04/02 17:52:31 I gogoc: Reply: RUDP packet 0, RTO 2.000000, sequence 0xf00000f0 timestamp 5806.
2015/04/02 17:52:31 W gogoc: TSP version not supported by server: 2.0.2.
2015/04/02 17:52:31 E gogoc: Failed to retrieve TSP capabilities.
2015/04/02 17:52:31 I gogoc: Disconnected. Retrying.
2015/04/02 17:52:31 I gogoc: Establishing connection to server tb.ipv6.apol.com.tw using reliable UDP.
2015/04/02 17:52:31 I gogoc: Using TSP protocol version 2.0.1.
2015/04/02 17:52:31 I gogoc: Retrieving TSP capabilities from Server.
2015/04/02 17:52:31 I gogoc: RUDP packet 0, RTO 2.000000, sequence 0xf00000f0 timestamp 105.
2015/04/02 17:52:31 I gogoc: Reply: RUDP packet 0, RTO 2.000000, sequence 0xf00000f0 timestamp 105.
2015/04/02 17:52:31 I gogoc: Authenticating...
2015/04/02 17:52:31 I gogoc: Using AUTH-ANONYMOUS authentication mechanism.
2015/04/02 17:52:31 I gogoc: RUDP packet 0, RTO 2.266625, sequence 0xf00000f1 timestamp 342.
2015/04/02 17:52:31 I gogoc: Reply: RUDP packet 0, RTO 2.266625, sequence 0xf00000f1 timestamp 342.
2015/04/02 17:52:31 I gogoc: Authentication successful.
2015/04/02 17:52:31 I gogoc: Using [192.168.0.13] as source IPv4 address.
2015/04/02 17:52:31 I gogoc: Negotiating tunnel parameters with server
2015/04/02 17:52:31 I gogoc: Sending: 'Content-length: 217

192.168.0.13 :: '
2015/04/02 17:52:31 I gogoc: RUDP packet 0, RTO 2.499922, sequence 0xf00000f2 timestamp 580.
2015/04/02 17:52:31 I gogoc: Reply: RUDP packet 0, RTO 2.499922, sequence 0xf00000f2 timestamp 580.
2015/04/02 17:52:31 I gogoc: Received: '200 Success 211.76.97.65 2001:0f10:5001:42a4:0000:0000:0000:0001 110.210.132.118 2001:0f10:5001:42a4:0000:0000:0000:0002 2001:0f10:5001:42a4:0000:0000:0000:0001 '
2015/04/02 17:52:31 I gogoc: Processing server reply.
2015/04/02 17:52:31 I gogoc: Sending: 'Content-length: 35'
2015/04/02 17:52:31 I gogoc: RUDP packet 0, RTO 2.709682, sequence 0xf00000f3 timestamp 823.
2015/04/02 17:52:32 I gogoc: Reply: RUDP packet 0, RTO 2.709682, sequence 0xf00000f3 timestamp 823.
2015/04/02 17:52:32 I gogoc: Tunnel negotiation successful. Accepted offer.
2015/04/02 17:52:32 I gogoc: Checking for Linux IPv6 support...
2015/04/02 17:52:32 I gogoc: IPv6 support found.
2015/04/02 17:52:32 I gogoc: Waiting for setup script to complete.
2015/04/02 17:52:32 I gogoc: TSP_OPERATION=TSP_TUNNEL_CREATION
2015/04/02 17:52:32 I gogoc: TSP_VERBOSE=3
2015/04/02 17:52:32 I gogoc: TSP_HOME_DIR=/data/data/com.googlecode.gogodroid
2015/04/02 17:52:32 I gogoc: TSP_TUNNEL_MODE=v6udpv4
2015/04/02 17:52:32 I gogoc: TSP_HOST_TYPE=host
2015/04/02 17:52:32 I gogoc: TSP_TUNNEL_INTERFACE=tun
2015/04/02 17:52:32 I gogoc: TSP_HOME_INTERFACE=
2015/04/02 17:52:32 I gogoc: TSP_CLIENT_ADDRESS_IPV4=110.210.132.118
2015/04/02 17:52:32 I gogoc: TSP_CLIENT_ADDRESS_IPV6=2001:0f10:5001:42a4:0000:0000:0000:0002
2015/04/02 17:52:32 E gogoc: Interface configuration script completed with errors.
2015/04/02 17:52:32 I gogoc: TSP_OPERATION=TSP_TUNNEL_TEARDOWN
2015/04/02 17:52:32 I gogoc: TSP_VERBOSE=3
2015/04/02 17:52:32 I gogoc: TSP_HOME_DIR=/data/data/com.googlecode.gogodroid
2015/04/02 17:52:32 I gogoc: TSP_TUNNEL_MODE=v6udpv4
2015/04/02 17:52:32 I gogoc: TSP_HOST_TYPE=host
2015/04/02 17:52:32 I gogoc: TSP_TUNNEL_INTERFACE=tun
2015/04/02 17:52:32 I gogoc: TSP_HOME_INTERFACE=
2015/04/02 17:52:32 I gogoc: TSP_CLIENT_ADDRESS_IPV4=110.210.132.118
2015/04/02 17:52:32 I gogoc: TSP_CLIENT_ADDRESS_IPV6=2001:0f10:5001:42a4:0000:0000:0000:0002

@szvpn2
Copy link
Author

szvpn2 commented Apr 3, 2015

Please change the server=tb.ipv6.apol.com.tw, try running the error appears,Unable to obtain an IPv6 address

@aelmahmoudy
Copy link
Owner

This server works fine on my linux laptop, but not on the Android device indeed.

@aelmahmoudy
Copy link
Owner

I note the following:

  • When using the default 'anonymous.freenet6.net' server, the server responds with the following:
Received: '200 Success<tunnel action="info" type="v6udpv4" lifetime="86400">  <server>    <address type="ipv4">81.171.72.12</address>    <address type="ipv6">2001:05c0:1400:000a:0000:0000:0000:0432</address>  </server>  <client>    <address type="ipv4">45.99.250.80</address>    <address type="ipv6">2001:05c0:1400:000a:0000:0000:0000:0433</address>    <dns_server>      <address type="ipv6">2001:4860:4860:0000:0000:0000:0000:8888</address>    </dns_server>    <keepalive interval="30">      <address type="ipv6">2001:05c0:1400:000a:0000:0000:0000:0432</address>    </keepalive>  </client></tunnel>'

Yet, with the 'tb.ipv6.apol.com.tw' server, the response is:

Received: '200 Success<tunnel action="info" type="v6udpv4" lifetime="604800">  <server>    <address type="ipv4">211.76.97.65</address>    <address type="ipv6">2001:0f10:5001:6a0d:0000:0000:0000:0001</address>  </server>  <client>    <address type="ipv4">45.99.250.80</address>    <address type="ipv6">2001:0f10:5001:6a0d:0000:0000:0000:0002</address>    <keepalive interval="30">      <address type="ipv6">2001:0f10:5001:6a0d:0000:0000:0000:0001</address>    </keepalive>  </client></tunnel>'

Note, that the response of 'tb.ipv6.apol.com.tw' server lacks the <dnsserver> ... </dnsserver> part.

The file that needs fixing is probably https://github.com/aelmahmoudy/gogodroid/blob/master/gogoc-android/native/gogoc-1_2-RELEASE/gogoc-tsp/src/tsp/tsp_setup.c

@szvpn2
Copy link
Author

szvpn2 commented Apr 13, 2015

Can you help me to compile the package "server=tb.ipv6.apol.com.tw", you can get the IPV6 address and can run on Android devices of the gogodroid? Send it to my mailbox szvpn2@163.com

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

2 participants