orbot
orbot copied to clipboard
17 RC1: Bug: "Custom bridge" can only work after using "Get bridge from Tor"
Unable to type captcha in "Get bridge from Tor", and although "obfs4 <ip>:<port> <fingerprint> cert=<cert> iat-mode=<mode>
" can be typed or pasted into "Custom bridge" as previous versions, tapping "Connect" button has no effect. Among bridges, only snowflake currently works.
unable to type?
the captcha appears and text box, but you can't enter anything?
What device/OS/language please?
unable to type?
the captcha appears and text box, but you can't enter anything?
What device/OS/language please?
Sorry, typing in "Get bridge from Tor" actually works. It is just slow for the first time.
However, the real problem is, "Custom bridges" can only work if it has already been selected when tapping "config", that is, if we tried snowflake during last connection, so "snowflake" is selected, no matter what is typed in "Custom bridge", tapping the "connect" button will launch snowflake. In order to use custom bridges, we should use "Get bridge from Tor" first to make "Custom bridges" selected. Only after that we could replace fetched bridges with custom bridges and launch them.
I'm faced with the same problem. I can not keep "Custom bridges" selected. Every time the bottom sheet is dismissed, the config is reverted to previous selection. What's worse, "Get bridge from Tor" does not work for me because the captcha never show up.
I'm using Orbot 17.0.0-RC-1-tor.0.4.7.11 on LineageOS 20.
I tried to figure out the cause and noticed that in this code:
https://github.com/guardianproject/orbot/blob/2e6af867f30274197c8c9c1f6172f876ba41243a/app/src/main/java/org/torproject/android/ConfigConnectionBottomSheet.kt#L129-L131
Unlike previous if-claues, Prefs.putConnectionPathway(Prefs.PATHWAY_CUSTOM)
is not called. Maybe that is why user's selection is not remembered?