Re: [guardian-dev] help with netcipher

2017-01-22 Thread Mark Murphy
On Sun, Jan 22, 2017, at 12:21, arrase wrote: > i can not find a place at orbot code where the > app waits for Polipo before broadcast the state I do not know what Polipo is, sorry. If Orbot is sending STATUS_OK without being ready to accept connections, then either I misunderstood what

Re: [guardian-dev] help with netcipher

2017-01-22 Thread arrase
With the sample apps it works. I added .withTorValidation() to my source and now onConnectionException is raised: 01-22 18:06:45.353 7690 7827 W System.err: java.net.ConnectException: Failed to connect to /127.0.0.1:8118 I think is a race condition, the sample apps starts orbothelper at

Re: [guardian-dev] help with netcipher

2017-01-22 Thread Mark Murphy
On Sun, Jan 22, 2017, at 11:21, arrase wrote: > How do you deal with the lag between onEnabled callback of OrbotHelper > and onConnected callback of okhttp3 and the real available state of > 127.0.0.1:8118? There should be no lag. > I init orbothelper, when onEnabled is called i init >

Re: [guardian-dev] help with netcipher

2017-01-22 Thread arrase
Printing the trace was enough, I already have the base of the project working, I had too many hours programming and forget something so simple http://onpanic.org El 21 ene. 2017 22:33, "Mark Murphy" escribió: On Sat, Jan 21, 2017, at 16:14, arrase wrote: > Ouch!