Start log observed on Android 4.4.4, Tor Browser 60.6.1, 100% failure rate:
- Set background service to FOREGROUND- updating settings in Tor service- updating torrc custom configuration...- success.- checking binary version: 0.3.5.8-rc-openssl1.0.2p- Orbot is starting…- Tor control port file not created- Unable to start Tor: java.io.IOException: Control port file not created: /data/data/org.torproject.torbrowser_alpha/app_torservice/lib/tor/control.txt, len = 0
I've seen two mentions of this by Google search, but couldn't find an existing ticket.
Trac: Username: belm0
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Child items ...
Show closed items
Linked items 0
Link issues together to show that they're related.
Learn more.
Hm, we could use more log output I guess. We fail somewhere here
LOG.info("Waiting for control port"); boolean isCreated = controlPortFile.exists() || controlPortFile.createNewFile(); WriteObserver controlPortFileObserver = onionProxyContext.createControlPortFileObserver(); if (!isCreated || (controlPortFile.length() == 0 && !controlPortFileObserver.poll(config.getFileCreationTimeout(), SECONDS))) { LOG.warn("Control port file not created");
sisbell: any ideas apart from creating a debug build with more logging enabled? (if not, could you create that build and make it available for echaskaris?)
Unfortunately, this is still a mystery. The file is successfully created, but tor never writes to it. I wonder if tor is dying, or it is starting slowly and doesn't create the cookie before the timeout?
5331 05-08 18:13:35.919 I/OnionProxyManager(13091): Waiting for control port5332 05-08 18:13:35.919 I/OnionProxyManager(13091): Control port file existence: true5333 05-08 18:13:35.919 I/OnionProxyManager(13091): isCreated is: true[snip]5903 05-08 18:13:50.929 W/OnionProxyManager(13091): Control port file not created5904 05-08 18:13:50.929 W/OnionProxyManager(13091): Control port file length is: 05905 05-08 18:13:50.929 I/FileUtilities(13091): /data/data/org.torproject.torbrowser_nightly/app_torservice/lib/tor/control.txt5906 05-08 18:13:50.939 I/System.out(13091): Sending status: STOPPING5907 05-08 18:13:50.959 I/System.out(13091): Sending status: OFF
I put in an SD card and I can see the directories(/storage/extSdCard/Android/data/org.torproject.torbrowser_alpha/files/Download) in file manager. Tor still doesn't connect.