Opened 7 years ago

Closed 3 years ago

#5955 closed defect (worksforme)

orbot getting stuck till the yellow bar and showing "waiting"

Reported by: nazzzzz Owned by: n8fr8
Priority: Very High Milestone:
Component: Applications/Orbot Version: Tor: 0.2.3.10-alpha
Severity: Normal Keywords: orbot on desire hd cm7 evo 4g
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

I'm really tired of searching forums to get to work orbot but with no success
Plz help

Model number HTC desire hd
Rom : android revolution hd 6.3.2
Android version :2.3.5
Sence version : 3.0
Kernel : 2..6.35.14_rcmixed3d_acs_ace_ncr_v11.1-ge213fe7-dirtyken@klquicksall #12
Baseband : 12.56.69.25u_26.10.04.03_m

Thanks in advAnce

Child Tickets

Change History (9)

comment:1 Changed 7 years ago by nazzzzz

These are the logs
05-24 16:31:52.293 I/Orbot (4023): debug logging:false
05-24 16:31:58.389 D/Orbot (4023): Attempt: Error connecting to control port: /data/data/org.torproject.android/cache/control_auth_cookie (Permission denied)
05-24 16:31:58.389 D/Orbot (4023): java.io.FileNotFoundException: /data/data/org.torproject.android/cache/control_auth_cookie (Permission denied)
05-24 16:31:58.389 D/Orbot (4023): at org.apache.harmony.luni.platform.OSFileSystem.open(Native Method)
05-24 16:31:58.389 D/Orbot (4023): at dalvik.system.BlockGuard$WrappedFileSystem.open(BlockGuard.java:232)
05-24 16:31:58.389 D/Orbot (4023): at java.io.FileInputStream.<init>(FileInputStream.java:80)
05-24 16:31:58.389 D/Orbot (4023): at org.torproject.android.service.TorService.initControlConnection(TorService.java:863)
05-24 16:31:58.389 D/Orbot (4023): at org.torproject.android.service.TorService.runTorShellCmd(TorService.java:773)
05-24 16:31:58.389 D/Orbot (4023): at org.torproject.android.service.TorService.initTor(TorService.java:581)
05-24 16:31:58.389 D/Orbot (4023): at org.torproject.android.service.TorService.run(TorService.java:285)
05-24 16:31:58.389 D/Orbot (4023): at java.lang.Thread.run(Thread.java:1027)
05-24 16:31:59.599 D/Orbot (4023): Attempt: Error connecting to control port: /data/data/org.torproject.android/cache/control_auth_cookie (Permission denied)
05-24 16:31:59.599 D/Orbot (4023): java.io.FileNotFoundException: /data/data/org.torproject.android/cache/control_auth_cookie (Permission denied)
05-24 16:31:59.599 D/Orbot (4023): at org.apache.harmony.luni.platform.OSFileSystem.open(Native Method)
05-24 16:31:59.599 D/Orbot (4023): at dalvik.system.BlockGuard$WrappedFileSystem.open(BlockGuard.java:232)
05-24 16:31:59.599 D/Orbot (4023): at java.io.FileInputStream.<init>(FileInputStream.java:80)
05-24 16:31:59.599 D/Orbot (4023): at org.torproject.android.service.TorService.initControlConnection(TorService.java:863)
05-24 16:31:59.599 D/Orbot (4023): at org.torproject.android.service.TorService.runTorShellCmd(TorService.java:773)
05-24 16:31:59.599 D/Orbot (4023): at org.torproject.android.service.TorService.initTor(TorService.java:581)
05-24 16:31:59.599 D/Orbot (4023): at org.torproject.android.service.TorService.run(TorService.java:285)
05-24 16:31:59.599 D/Orbot (4023): at java.lang.Thread.run(Thread.java:1027)
05-24 16:32:00.848 D/Orbot (4023): Attempt: Error connecting to control port: /data/data/org.torproject.android/cache/control_auth_cookie (Permission denied)
05-24 16:32:00.848 D/Orbot (4023): java.io.FileNotFoundException: /data/data/org.torproject.android/cache/control_auth_cookie (Permission denied)
05-24 16:32:00.848 D/Orbot (4023): at org.apache.harmony.luni.platform.OSFileSystem.open(Native Method)
05-24 16:32:00.848 D/Orbot (4023): at dalvik.system

comment:2 Changed 7 years ago by nazzzzz

Now there is another bug
I want to close orbot it is showing rules cleared, I close it
Woaaaah it pops back up showing rules cleared again.
Sigh!!!

comment:3 Changed 7 years ago by n8fr8

Status: newassigned

Thanks for the report. Will look into this today and get back to you.

If you want test our latest development build, you can find it here:
https://guardianproject.info/builds/Orbot/2012-05-09_23-16-29/Orbot-debug.apk

You must first uninstall the existing version however.

comment:4 Changed 7 years ago by nazzzzz

Ok thanks loads for the help
The new apk was fine I could close orbot no probs (no rules were cleared notification) but again I could not connect it was still stuck at "waiting"
And these are the new logs

05-24 18:42:48.302 I/ActivityManager(1720): Start proc org.torproject.android for activity org.torproject.android/.Orbot: pid=6402 uid=10207 gids={3003}

05-24 18:42:48.462 V/WindowManager(1720): Starting animation in AppWindowToken{40f0ea00 token=HistoryRecord{40545490 org.torproject.android/.Orbot}} @ 130836616
05-24 18:42:48.592 V/WindowManager(1720): Finished animation in AppWindowToken{40f0ea00 token=HistoryRecord{40545490 org.torproject.android/.Orbot}} @ 130836797
05-24 18:43:12.588 I/ActivityManager(1720): Starting activity: Intent { cmp=org.torproject.android/.Orbot } from pid 6402
05-24 18:43:12.898 V/WindowManager(1720): Starting animation in AppWindowToken{40e1c9f0 token=HistoryRecord{40a4cac0 org.torproject.android/.Orbot}} @ 130861090
05-24 18:43:12.908 V/ActivityManager(1720): Checking to restart org.torproject.android.Orbot: changed=0x0, handles=0x0
05-24 18:43:13.078 I/ActivityManager(1720): Displayed org.torproject.android/.Orbot: +472ms
05-24 18:43:13.078 V/WindowManager(1720): Finished animation in AppWindowToken{40e1c9f0 token=HistoryRecord{40a4cac0 org.torproject.android/.Orbot}} @ 130861269
05-24 18:43:14.747 I/Orbot (6402): debug logging:false
05-24 18:43:20.264 D/Orbot (6402): Attempt: Error connecting to control port: /data/data/org.torproject.android/app_data/control_auth_cookie (Permission denied)
05-24 18:43:20.264 D/Orbot (6402): java.io.FileNotFoundException: /data/data/org.torproject.android/app_data/control_auth_cookie (Permission denied)
05-24 18:43:20.264 D/Orbot (6402): at org.apache.harmony.luni.platform.OSFileSystem.open(Native Method)
05-24 18:43:20.264 D/Orbot (6402): at dalvik.system.BlockGuard$WrappedFileSystem.open(BlockGuard.java:232)
05-24 18:43:20.264 D/Orbot (6402): at java.io.FileInputStream.<init>(FileInputStream.java:80)
05-24 18:43:20.264 D/Orbot (6402): at org.torproject.android.service.TorService.initControlConnection(TorService.java:880)
05-24 18:43:20.264 D/Orbot (6402): at org.torproject.android.service.TorService.runTorShellCmd(TorService.java:793)
05-24 18:43:20.264 D/Orbot (6402): at org.torproject.android.service.TorService.initTor(TorService.java:599)
05-24 18:43:20.264 D/Orbot (6402): at org.torproject.android.service.TorService.run(TorService.java:286)
05-24 18:43:20.264 D/Orbot (6402): at java.lang.Thread.run(Thread.java:1027)
05-24 18:43:21.294 D/Orbot (6402): Attempt: Error connecting to control port: /data/data/org.torproject.android/app_data/control_auth_cookie (Permission denied)
05-24 18:43:21.294 D/Orbot (6402): java.io.FileNotFoundException: /data/data/org.torproject.android/app_data/control_auth_cookie (Permission denied)
05-24 18:43:21.294 D/Orbot (6402): at org.apache.harmony.luni.platform.OSFileSystem.open(Native Method)
05-24 18:43:21.294 D/Orbot (6402): at dalvik.system.BlockGuard$WrappedFileSystem.open(BlockGuard.java:232)
05-24 18:43:21.294 D/Orbot (6402): at java.io.FileInputStream.<init>(FileInputStream.java:80)
05-24 18:43:21.294 D/Orbot (6402): at org.torproject.android.service.TorService.initControlConnection(TorService.java:880)
05-24 18:43:21.294 D/Orbot (6402): at org.torproject.android.service.TorService.runTorShellCmd(TorService.java:793)
05-24 18:43:21.294 D/Orbot (6402): at org.torproject.android.service.TorService.initTor(TorService.java:599)
05-24 18:43:21.294 D/Orbot (6402): at org.torproject.android.service.TorService.run(TorService.java:286)
05-24 18:43:21.294 D/Orbot (6402): at java.lang.Thread.run(Thread.java:1027)
05-24 18:43:22.293 D/Orbot (6402): Attempt: Error connecting to control port: /data/data/org.torproject.android/app_data/control_auth_cookie (Permission denied)
05-24 18:43:22.293 D/Orbot (6402): java.io.FileNotFoundException: /data/data/org.torproject.android/app_data/control_auth_cookie (Permission denied)
05-24 18:43:22.293 D/Orbot (6402): at org.apache.harmony.luni.platform.OSFileSystem.open(Native Method)
05-24 18:43:22.293 D/Orbot (6402): at dalvik.system.BlockGuard$WrappedFileSystem.open(BlockGuard.java:232)
05-24 18:43:22.293 D/Orbot (6402): at java.io.FileInputStream.<init>(FileInputStream.java:80)
05-24 18:43:22.293 D/Orbot (6402): at org.torproject.android.service.TorService.initControlConnection(TorService.java:880)
05-24 18:43:22.293 D/Orbot (6402): at org.torproject.android.service.TorService.runTorShellCmd(TorService.java:793)
05-24 18:43:22.293 D/Orbot (6402): at org.torproject.android.service.TorService.initTor(TorService.java:599)
05-24 18:43:22.293 D/Orbot (6402): at org.torproject.android.service.TorService.run(TorService.java:286)
05-24 18:43:22.293 D/Orbot (6402): at java.lang.Thread.run(Thread.java:1027)
05-24 18:43:23.313 D/Orbot (6402): Attempt: Error connecting to control port: /data/data/org.torproject.android/app_data/control_auth_cookie (Permission denied)
05-24 18:43:23.313 D/Orbot (6402): java.io.FileNotFoundException: /data/data/org.torproject.android/app_data/control_auth_cookie (Permission denied)
05-24 18:43:23.313 D/Orbot (6402): at org.apache.harmony.luni.platform.OSFileSystem.open(Native Method)
05-24 18:43:23.313 D/Orbot (6402): at dalvik.system.BlockGuard$WrappedFileSystem.open(BlockGuard.java:232)
05-24 18:43:23.313 D/Orbot (6402): at java.io.FileInputStream.<init>(FileInputStream.java:80)
05-24 18:43:23.313 D/Orbot (6402): at org.torproject.android.service.TorService.initControlConnection(TorService.java:880)
05-24 18:43:23.313 D/Orbot (6402): at org.torproject.android.service.TorService.runTorShellCmd(TorService.java:793)
05-24 18:43:23.313 D/Orbot (6402): at org.torproject.android.service.TorService.initTor(TorService.java:599)
05-24 18:43:23.313 D/Orbot (6402): at org.torproject.android.service.TorService.run(TorService.java:286)
05-24 18:43:23.313 D/Orbot (6402): at java.lang.Thread.run(Thread.java:1027)
05-24 18:43:24.322 D/Orbot (6402): Attempt: Error connecting to control port: /data/data/org.torproject.android/app_data/control_auth_cookie (Permission denied)

comment:5 Changed 7 years ago by nazzzzz

I think there is a problem in this part

Attempt: Error connecting to control port: /data/data/org.torproject.android/app_data/control_auth_cookie (Permission denied)

I read in a form in xda where this guy says that if I change the permission of the control authentication cookie the orbot works fine but if restart it the problem continues

comment:6 Changed 7 years ago by nazzzzz

Status: assignedneeds_revision

comment:7 Changed 7 years ago by nazzzzz

Status: needs_revisionnew

comment:8 Changed 7 years ago by MeikoDis

Keywords: cm7 evo 4g added

I'm also affected to this problem. I reference to this page which also can help to bugfix it: https://guardianproject.info/questions/orbot-error-on-rooted-cm7-evo-4g/

I'm using HTC Desire HD, rooted, Android Revolution HD 6.3.2 (Android 2.3.5).

After "chmod 666 /data/data/org.torproject.android/cache/control_auth_cookie", I get:

Circuit (3): LAUNCHED;
orConnStatus($<HERE A LONG HASH THING>): LAUNCHED;
Circuit (3): FAILED; PURPOSE=GENERAL

Later:

[Tor Control Port] NOTICE: Tried for 120 seconds to get a connection to [scrubbed]:443. Giving up. (waiting for a circuit)
orConnStatus($<HERE A LONG HASH THING>): FAILED;

This [Tor Control Port] thing is happening on different ports, like 0, 9090 and 9101.

After a time the App says it would have a connection to the TOR-Network, so it's green.. ..but in fact it isn't true because I can't get any connection through it.

comment:9 Changed 3 years ago by ikurua22

Resolution: worksforme
Severity: Normal
Status: newclosed
Note: See TracTickets for help on using tickets.