[tor-bugs] #31293 [Applications/Tor Browser]: tor-android-service gradle failure when probing network interfaces

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Jul 30 17:07:29 UTC 2019


#31293: tor-android-service gradle failure when probing network interfaces
--------------------------------------+--------------------------
 Reporter:  sysrqb                    |          Owner:  tbb-team
     Type:  defect                    |         Status:  new
 Priority:  Medium                    |      Milestone:
Component:  Applications/Tor Browser  |        Version:
 Severity:  Normal                    |     Resolution:
 Keywords:                            |  Actual Points:
Parent ID:                            |         Points:
 Reviewer:                            |        Sponsor:
--------------------------------------+--------------------------

Comment (by sysrqb):

 Replying to [comment:2 sisbell]:
 > Try this solution
 >
 > -Djava.net.preferIPv4Stack=true
 >
 > https://forums.developer.apple.com/thread/91237

 Thanks! These seem a little different, (NullPointerException vs.
 `java.net.SocketException: Operation not permitted (ioctl
 SIOCGIFNETMASK_IN6 failed)`)

 But no luck here:
 {{{
 patching file build.gradle
 patching file service/build.gradle
 patching file
 service/src/main/java/org/torproject/android/service/TorService.java
 Hunk #2 succeeded at 99 (offset 3 lines).
 Picked up _JAVA_OPTIONS: -Djava.net.preferIPv4Stack=true

 FAILURE: Build failed with an exception.

 * What went wrong:
 Could not determine a usable local IP for this machine.

 * Try:
 Run with --stacktrace option to get the stack trace. Run with --info or
 --debug option to get more log output.

 * Get more help at https://help.gradle.org
 }}}

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/31293#comment:3>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list