org.apache.http.client.HttpResponseException: Unauthorized

Appcelerator JIRA | Ping Wang | 5 years ago
  1. 0

    This issue is from community. {code} 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 {code}

    Appcelerator JIRA | 5 years ago | Ping Wang
    org.apache.http.client.HttpResponseException: Unauthorized
  2. 0

    This issue is from community. {code} 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 {code}

    Appcelerator JIRA | 5 years ago | Ping Wang
    org.apache.http.client.HttpResponseException: Unauthorized
  3. 0

    HttpResponseException issue with Titanium appcelerator

    Stack Overflow | 2 years ago
    org.apache.http.client.HttpResponseException: Unauthorized
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Discussion on Restaurant App Template (Page 3) | CodeCanyon

    codecanyon.net | 8 months ago
    org.apache.http.client.HttpResponseException: Unauthorized
  6. 0

    webservice call fails for second time - backbone.js

    Stack Overflow | 4 years ago | theJava
    org.apache.http.client.HttpResponseException: 596
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. org.apache.http.client.HttpResponseException

    Unauthorized

    at ti.modules.titanium.network.TiHTTPClient$LocalResponseHandler.handleResponse()
  2. ti.modules.titanium
    TiHTTPClient$LocalResponseHandler.handleResponse
    1. ti.modules.titanium.network.TiHTTPClient$LocalResponseHandler.handleResponse(TiHTTPClient.java:226)
    2. ti.modules.titanium.network.TiHTTPClient$LocalResponseHandler.handleResponse(TiHTTPClient.java:185)
    2 frames
  3. Apache HttpClient
    AbstractHttpClient.execute
    1. org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:657)
    2. org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:637)
    2 frames
  4. ti.modules.titanium
    TiHTTPClient$ClientRunnable.run
    1. ti.modules.titanium.network.TiHTTPClient$ClientRunnable.run(TiHTTPClient.java:1140)
    1 frame
  5. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:1096)
    1 frame