question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Control port file not created

See original GitHub issue

I/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. Снимок экрана 2019-07-08 в 14 30 59

Issue Analytics

  • State:open
  • Created 4 years ago
  • Reactions:3
  • Comments:13 (2 by maintainers)

github_iconTop GitHub Comments

3reactions
SilverGhostBScommented, Mar 25, 2020

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.

1reaction
eighthavecommented, Mar 25, 2020

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

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found