dya2 / android-scripting

Automatically exported from code.google.com/p/android-scripting
0 stars 0 forks source link

SL4A binds on IPv6 socket only #656

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What device(s) are you experiencing the problem on?

Star X19i (MTK6573 chipset phone)

What firmware version are you running on the device?

2.3.6

What steps will reproduce the problem?
1. Install SL4A r5 or r6 version
2. Run it
3.

What is the expected output? What do you see instead?

Nothing works:

Python reports "socket.geterror: [Errno 7] no address associated with hostname" 
(after importing and using android.py).

Perl reports "connection refused".

After running SL4a by command "am start -a 
com.googlecode.android_scripting.action.LAUNCH_SERVER -n 
com.googlecode.android_scripting/.activity.ScriptingLayerServiceLauncher --ei 
com.googlecode.android_scripting.extra.USE_SERVICE_PORT 45001":

netstat -an from adb shell shows "tcp6 0 0 ::1:45001 :::* LISTEN"

What version of the product are you using? On what operating system?

Tried r5 and r6

Please provide any additional information below.

Disabling ipv6 by "sysctl -w net.ipv6.conf.all.disable_ipv6=1" doesn't affect 
in any way. Possible problem in device's TCP stack. Need an setting to force 
use ipv4.

Original issue reported on code.google.com by vas...@gmail.com on 29 Aug 2012 at 3:08