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/archive%40mail-archive.com

You are subscribed as: [email protected]

Reply via email to