Control port file not created
See original GitHub issueI/OnionProxyManager: Starting Tor I/OnionProxyManager: Starting process I/OnionProxyManager: Waiting for control port W/OnionProxyManager: Control port file not created I/FileUtilities: /data/user/0/ch.blinkenlights.android.vanilla/files/tor_exec/lib/tor/control.txt
I use tor for android project. Control port has been creating each time just as empty file. Any thoughts how can I fix it or find the reason?
I`ve also tried on the android instrumentation test in the repository, and result is still the same.

Issue Analytics
- State:
- Created 4 years ago
- Reactions:3
- Comments:13 (2 by maintainers)
Top Results From Across the Web
start fails with "Control port file not created" - Tor's Gitlab
IOException : Control port file not created: /data/data/org.torproject.torbrowser_alpha/app_torservice/lib/tor/control.txt, len = 0.
Read more >A strange error, need help : r/TOR - Reddit
IOException : Control port file not created:/data/user/0/org.torproject.torbrowser/app_torservise/lib/tor. How do I fix this?
Read more >Tor mobile cannot be started - Censorship Circumvention
About mobile unable to start Tor: After building a network bridge, it prompts that the control port file has not been created.
Read more >How to correctly read the control port when Tor is started with ...
I know that the file modification is date is not a rock-solid solution (some OSs with special setting do not update), but it...
Read more >[tor-bugs] #30842 [Applications/Tor Browser]: Unable to start ...
#30842: Unable to start Tor: java.io.IOException: Control port file not created on Android 4.1.2 ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Hello, sorry to ressurect an old thread, but I am having the same issue, basically it seems the torrc file is the one that comes straight from the tor-binary package, and it seems to be missing the directive “ControlPortWriteToFile” so the control.txt file is initialized as an empty file by the TorInstaller, but never actually written by TOR.
you might be interested in my work to make a more native TorService, which no longer needs the control port file
https://github.com/eighthave/tor-android