Opened 6 years ago

Last modified 13 days ago

#5305 needs_review defect

Orbot ( 0.2.3.10-alpha-1.0.7-FINAL) connection error

Reported by: TBA001 Owned by: n8fr8
Priority: Medium Milestone:
Component: Applications/Orbot Version: Android (Orbot): 1.0.0
Severity: Normal Keywords:
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

Orbot was working fine . now it refuses to connect and displays a working status and the following errors  . 

D/Orbot ( 3435): Attempt: Error connecting to control port: /data/data/org.torproject.android/cache/control_auth_cookie (Permission denied)
D/Orbot ( 3435): java.io.FileNotFoundException: /data/data/org.torproject.android/cache/control_auth_cookie (Permission denied)

I am using a samsung i9100 on a stock rom and Orbot version 0.2.3.10-alpha-1.0.7-FINAL

Child Tickets

Attachments (1)

alogcat.2012-03-04-19-04-38+0530.txt (87.1 KB) - added by TBA001 6 years ago.
alogcat dump

Download all attachments as: .zip

Change History (6)

Changed 6 years ago by TBA001

alogcat dump

comment:1 Changed 6 years ago by n8fr8

Status: newassigned

Have not been able to reproduce this yet, but it seems like the problem could be:

1) the /cache folder is not being properly created or has incorrect permissions

2) the cookie auth file has incorrect permissions

3) something in the system is actively changing permissions of files

4) The Tor process is running as a different user id than the Orbot app

Will work on some diagnostics to try to figure out which it is, and create a debug/dev build to see what we can do.

comment:2 Changed 6 years ago by n8fr8

I may have found an issue related to setting proper file path when reading the auth cookie. working on it now...

comment:3 Changed 6 years ago by n8fr8

Status: assignedneeds_review

This issue may be resolved by this latest build:

https://guardianproject.info/builds/Orbot/2012-04-08_23-30-29/Orbot-debug.apk

Please test and update the ticket with your findings.

comment:4 Changed 6 years ago by griffin

Same error keeps appearing even on debug version.
What I found out is that cache folder and file keeps rewriting it's permissions to read only.

comment:5 Changed 13 days ago by teor

Severity: Normal

Set all open tickets without a severity to "Normal"

Note: See TracTickets for help on using tickets.