Describe the Bug
Repetitive log entries appear when running Orbot, indicating repeated actions like updating settings, bootstrapping, and connecting to Tor control ports.
To Reproduce
Steps to reproduce the behavior:
- Download and install the APK Orbot-17.3.2-RC-1-tor-0.4.8.12-fullperm-arm64-v8a-release.apk from GitHub.
- Launch Orbot, select the 'bridge from tor' configuration.
- Click on 'Start VPN'.
- Check the logs to observe the following repeated messages:
updating settings in Tor service
Updating torrc custom configuration…
Orbot is Starting…
updating settings in Tor service
Updating torrc custom configuration…
Orbot is Starting…
Connected to tor control port
Added control port event handler
NOTICE: Bootstrapped 15% (handshake_done): Handshake with a relay done
NOTICE: Bootstrapped 20% (onehop_create): Establishing an encrypted directory connection
NOTICE: Bootstrapped 25% (requesting_status): Asking for networkstatus consensus
NOTICE: new bridge descriptor 'DockerObfs4Bridge' (fresh): $B9C34B5653143A0B8EFBEEFA748FD61813A03945DockerObfs4Bridge [XZaLhab8T3LyX3A2yAKCCG3j0mHnu3J++YOWKbBuhl8] at 80.218.72.147
NOTICE: new bridge descriptor 'freiraumbridge2' (fresh): $EA7254DC81B7FB0ADA2D4FF552A8D3E8B670D78Cfreiraumbridge2 [ppPaKsfJzVVxnPu0J/kntGkp/NSy7f+rJ0Uz50q3JEg] at 217.160.248.45
Connected to tor control port
Added control port event handler
NOTICE: Bootstrapped 30% (loading_status): Loading networkstatus consensus
NOTICE: Bootstrapped 30% (loading_status): Loading networkstatus consensus
NOTICE: I learned some more directory information, but not enough to build a circuit: We have no usable consensus.
NOTICE: I learned some more directory information, but not enough to build a circuit: We have no usable consensus.
NOTICE: Bootstrapped 40% (loading_keys): Loading authority key certs
NOTICE: Bootstrapped 40% (loading_keys): Loading authority key certs
NOTICE: The current consensus has no exit nodes. Tor can only build internal paths, such as paths to onion services.
NOTICE: The current consensus has no exit nodes. Tor can only build internal paths, such as paths to onion services.
NOTICE: Bootstrapped 45% (requesting_descriptors): Asking for relay descriptors
NOTICE: Bootstrapped 45% (requesting_descriptors): Asking for relay descriptors
NOTICE: I learned some more directory information, but not enough to build a circuit: We need more microdescriptors: we have 0/8032, and can only build 0% of likely paths. (We have 100% of guards bw, 0% of midpoint bw, and 0% of end bw (no exits in consensus, using mid) = 0% of path bw.)
NOTICE: I learned some more directory information, but not enough to build a circuit: We need more microdescriptors: we have 0/8032, and can only build 0% of likely paths. (We have 100% of guards bw, 0% of midpoint bw, and 0% of end bw (no exits in consensus, using mid) = 0% of path bw.)
NOTICE: Bootstrapped 50% (loading_descriptors): Loading relay descriptors
NOTICE: Bootstrapped 50% (loading_descriptors): Loading relay descriptors
NOTICE: The current consensus contains exit nodes. Tor can build exit and internal paths.
NOTICE: The current consensus contains exit nodes. Tor can build exit and internal paths.
WARN: Rejecting SOCKS request for anonymous connection to private address [scrubbed].
WARN: Rejecting SOCKS request for anonymous connection to private address [scrubbed].
NOTICE: Bootstrapped 55% (loading_descriptors): Loading relay descriptors
NOTICE: Bootstrapped 55% (loading_descriptors): Loading relay descriptors
NOTICE: Bootstrapped 62% (loading_descriptors): Loading relay descriptors
NOTICE: Bootstrapped 62% (loading_descriptors): Loading relay descriptors
NOTICE: Bootstrapped 68% (loading_descriptors): Loading relay descriptors
NOTICE: Bootstrapped 68% (loading_descriptors): Loading relay descriptors
NOTICE: Bootstrapped 75% (enough_dirinfo): Loaded enough directory info to build circuits
NOTICE: Bootstrapped 75% (enough_dirinfo): Loaded enough directory info to build circuits
NOTICE: Bootstrapped 90% (ap_handshake_done): Handshake finished with a relay to build circuits
NOTICE: Bootstrapped 90% (ap_handshake_done): Handshake finished with a relay to build circuits
NOTICE: Bootstrapped 95% (circuit_create): Establishing a Tor circuit
NOTICE: Bootstrapped 95% (circuit_create): Establishing a Tor circuit
NOTICE: Bootstrapped 100% (done): Done
NOTICE: Bootstrapped 100% (done): Done
Expected Behavior
The logs should show a unique sequence of events without repetition, indicating a stable connection and configuration process.
What Custom Configuration Do You Use?
The issue was observed across various configurations including Snowflake, bridge from tor, and direct connection. The detailed logs provided are from the 'bridge from tor' setup.
Smartphone (please complete the following information):
Device: Pixel 6
OS: GrapheneOS
Orbot Version: 17.3.2-RC-1
Additional Context
Clearing the app's storage and cache data before relaunching Orbot with the 'bridge from tor' configuration eliminates the repeated logs, but then there are no bridge descriptor notifications:
updating settings in Tor service
Updating torrc custom configuration…
Orbot is Starting…
Connected to tor control port
Added control port event handler
NOTICE: Bootstrapped 30% (loading_status): Loading networkstatus consensus
NOTICE: I learned some more directory information, but not enough to build a circuit: We have no usable consensus.
NOTICE: Bootstrapped 40% (loading_keys): Loading authority key certs
NOTICE: The current consensus has no exit nodes. Tor can only build internal paths, such as paths to onion services.
NOTICE: Bootstrapped 45% (requesting_descriptors): Asking for relay descriptors
NOTICE: I learned some more directory information, but not enough to build a circuit: We need more microdescriptors: we have 0/8032, and can only build 0% of likely paths. (We have 100% of guards bw, 0% of midpoint bw, and 0% of end bw (no exits in consensus, using mid) = 0% of path bw.)
NOTICE: Bootstrapped 50% (loading_descriptors): Loading relay descriptors
NOTICE: The current consensus contains exit nodes. Tor can build exit and internal paths.
NOTICE: Bootstrapped 55% (loading_descriptors): Loading relay descriptors
NOTICE: Bootstrapped 60% (loading_descriptors): Loading relay descriptors
NOTICE: Bootstrapped 65% (loading_descriptors): Loading relay descriptors
NOTICE: Bootstrapped 72% (loading_descriptors): Loading relay descriptors
NOTICE: Bootstrapped 75% (enough_dirinfo): Loaded enough directory info to build circuits
WARN: Rejecting SOCKS request for anonymous connection to private address [scrubbed].
NOTICE: Bootstrapped 90% (ap_handshake_done): Handshake finished with a relay to build circuits
NOTICE: Bootstrapped 95% (circuit_create): Establishing a Tor circuit
NOTICE: Bootstrapped 100% (done): Done
What is the problem? Why do I see the repetitive log entries?
Describe the Bug
Repetitive log entries appear when running Orbot, indicating repeated actions like updating settings, bootstrapping, and connecting to Tor control ports.
To Reproduce
Steps to reproduce the behavior:
Expected Behavior
The logs should show a unique sequence of events without repetition, indicating a stable connection and configuration process.
What Custom Configuration Do You Use?
The issue was observed across various configurations including Snowflake, bridge from tor, and direct connection. The detailed logs provided are from the 'bridge from tor' setup.
Smartphone (please complete the following information):
Device: Pixel 6
OS: GrapheneOS
Orbot Version: 17.3.2-RC-1
Additional Context
Clearing the app's storage and cache data before relaunching Orbot with the 'bridge from tor' configuration eliminates the repeated logs, but then there are no bridge descriptor notifications:
What is the problem? Why do I see the repetitive log entries?