Open jidhub opened 6 years ago
In working on 2FA and multi-device support, this part is without a doubt a headache. The proxy setup isn’t flexible...yet.
The web server makes it all but easy to open a circuit, a big problem being the blank password with no feedback. It will ask Tor to open the port and then abort. Without enough time allotted, the call fails with no feedback and the user is confused.
If you initially forgot a password, I’d prefer it alert the user instead of attempting to start the server. (The catch statement now is just logging there was blank input).
*After careful review, the issue is not with Haven but a configuration issue. A fresh Orbot & Haven install should sort out any cached proxy misconfiguration
Tor browser did not show a password form, it just shows:
"Unable to connect
Firefox can’t establish a connection to the server at paXXXXXXXXus.onion:8888."
Yes, I mean the password settings field in the Haven app itself. I’ve also run into problems using Firefox Tor configs. Have you tested and reproduced the same using Orfox?
Sorry, can you explain why this password field, if functionning correctly when accessing localhost:8888, would no more work if using Tor ?
I think the issue here sounds like something at the Tor level, with @jidhub onion site ( paXXXXXXXXus.onion:8888) being unreachable.
wow
My tor browser[1] failed accessing Haven's logs[2] on the onion server hosted by "Orbot: proxy with tor" [3]. (On the point of reporting this, I discovered4 that Haven's servers was also accessible on localhost:8888. I suggested on a pull request[5] to document that in the help text hovering in the app.)
The server is running well on localhost:8888, and it is now serving me content through a port forwarding. I did never see orbot's warning "An app wants to open hidden server port 8888 to the Tor network. This is safe if you trust the app."[6].
[1]: linux64-7.5.3_en-US https://www.torproject.org/projects/torbrowser.html [2]: 0.1.0-RC-1 installed with google play on android 6.0 [3]: 16.0.0-RC-2-multi-SDK16 also installed with google play on android 6.0; it says "NOTICE: Tor has successfully opened a circuit. Looks ..."
[5] https://github.com/guardianproject/haven/pull/289 [6] https://github.com/guardianproject/haven/issues/175 ; it would be good to also document that message in a troubleshooting guide.