A little more on what you’re trying to do and what stage of it? Also, which OAuth provider you’re trying to talk to? To diagnose these things it’s really helpful to see the auth URIs and so on.
OAuth authentication depends on browser redirects, not sure how that’s going to work with Tor. But once you’ve authenticated, it’s just an HTTP header so should be fine. On Thu, Jun 12, 2014 at 2:49 PM, Hans-Christoph Steiner < [email protected]> wrote: > > I'm working on getting the Tomdroid note taking app to support syncing via > .onion addresses. It users Apache HTTP Client for the connections. I was > able to set the HTTP proxy for the httpclient object that accesses the > service > itself, but I was not able to get the OAuth stuff working with an > httpclient > configured the same way. I got this exception: > > oauth.signpost.exception.OAuthCommunicationException: Communication with > the > service provider failed: Service provider responded in error: 500 (Internal > Privoxy Error) > at > > oauth.signpost.AbstractOAuthProvider.retrieveToken(AbstractOAuthProvider.java:218) > at > > oauth.signpost.AbstractOAuthProvider.retrieveRequestToken(AbstractOAuthProvider.java:74) > at > > org.tomdroid.sync.web.OAuthConnection.getAuthorizationUrl(OAuthConnection.java:172) > at org.tomdroid.sync.web.SnowySyncService$1.run(SnowySyncService.java:102) > at > > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080) > at > > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573) > at java.lang.Thread.run(Thread.java:856) > Caused by: oauth.signpost.exception.OAuthCommunicationException: Service > provider responded in error: 500 (Internal Privoxy Error) > at > > oauth.signpost.AbstractOAuthProvider.handleUnexpectedResponse(AbstractOAuthProvider.java:245) > at > > oauth.signpost.AbstractOAuthProvider.retrieveToken(AbstractOAuthProvider.java:193) > > Anyone have any advice on how to do this? Supporting an HTTP Proxy with > Apache HTTP Client is so damn simple, I was hoping to go that route. > Otherwise perhaps NetCipher/SOCKS... > > .hc > > -- > PGP fingerprint: 5E61 C878 0F86 295C E17D 8677 9F0F E587 374B BE81 > _______________________________________________ > Guardian-dev mailing list > > Post: [email protected] > List info: https://lists.mayfirst.org/mailman/listinfo/guardian-dev > > To Unsubscribe > Send email to: [email protected] > Or visit: > https://lists.mayfirst.org/mailman/options/guardian-dev/tbray%40textuality.com > > You are subscribed as: [email protected] > -- - Tim Bray (If you’d like to send me a private message, see https://keybase.io/timbray)
_______________________________________________ Guardian-dev mailing list Post: [email protected] List info: https://lists.mayfirst.org/mailman/listinfo/guardian-dev To Unsubscribe Send email to: [email protected] Or visit: https://lists.mayfirst.org/mailman/options/guardian-dev/archive%40mail-archive.com You are subscribed as: [email protected]
