[TIMOB-7489] Android: Errors on posting to Twitter
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Cannot Reproduce |
Resolution Date | 2012-03-20T08:52:27.000+0000 |
Affected Version/s | Release 1.8.1 |
Fix Version/s | n/a |
Components | Android |
Labels | parity |
Reporter | Ping Wang |
Assignee | Hieu Pham |
Created | 2012-01-31T15:33:48.000+0000 |
Updated | 2017-03-10T00:06:52.000+0000 |
Description
This issue is from community.
Basically need help reading a stack trace when posting a message to twitter.
While iOS posts the message, in Android receive "There's no request token for this page ... "
I know we talked about this earlier but any inputs are greatly appreciated -
the code I'm using is the social plugin in the repo: https://gist.github.com/2eabc31db388144b3abc
/TiHttpClient( 1593): (TiHttpClient-1) [4097,10862] Setting ready state to 2
D/TiHttpClient( 1593): (TiHttpClient-1) [0,10862] Setting ready state to 3
D/TiHttpClient( 1593): (TiHttpClient-1) [4,10866] clearing the expired and idle connections
W/IdleConnectionHandler( 1593): Removing a connection that never existed!
E/TiHttpClient( 1593): (TiHttpClient-1) [2,10868] HTTP Error (org.apache.http.client.HttpResponseException): Unauthorized
E/TiHttpClient( 1593): org.apache.http.client.HttpResponseException: Unauthorized
E/TiHttpClient( 1593): at ti.modules.titanium.network.TiHTTPClient$LocalResponseHandler.handleResponse(TiHTTPClient.java:226)
E/TiHttpClient( 1593): at ti.modules.titanium.network.TiHTTPClient$LocalResponseHandler.handleResponse(TiHTTPClient.java:185)
E/TiHttpClient( 1593): at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:657)
E/TiHttpClient( 1593): at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:637)
E/TiHttpClient( 1593): at ti.modules.titanium.network.TiHTTPClient$ClientRunnable.run(TiHTTPClient.java:1140)
E/TiHttpClient( 1593): at java.lang.Thread.run(Thread.java:1096)
I/TiHttpClient( 1593): (TiHttpClient-1) [2,10870] Sending error Unauthorized
Here is the stack trace to have a wider look: https://gist.github.com/1712746
I'm not able to reproduce the Unauthorized crash, but there was a V8 native crash, which I have a PR ready for.
Marking as unabled to reproduce
Closing this ticket as the issue cannot be reproduced.