When retrying to OAuth log-in, I got the " 401 Unauthorized " error


#1

Dear guys,

I developed my Twitter apps, ( using OAuth too )
But today I got the error case.

When I was trying to log-in with OAuth, I can get request_token, -> access_token ,well.
But, If I try to log-in again immediately after log-out, I got the 401 Unauthorized error message in log file.

This error is occurring in POST /oauth/access_token HTTP/1.1 steps.
Also, this is second log-in trial case not first.

I doubt whether immediate re-trying log-in with OAuth is forbidden by twitter.
If I try to re-log-in 10 minutes later, I can success to get the access_token.

Please let me know why this error message was received.

  1. Success wap-log

[WEB-STK] POST /oauth/request_token HTTP/1.1
[WEB-STK] Host: api.twitter.com
[WEB-STK] HTTP/1.1 200 OK
[WEB-STK] X-Obigo-Status-Line: HTTP/1.1 200 OK
[WEB-STK] GET /oauth/authorize?oauth_token=plTTKAS8yPRzgnT7is3PxWIRYYrrDQoZFDrAAdx3DUI HTTP/1.1
[WEB-STK] Host: api.twitter.com
[WEB-STK] HTTP/1.1 200 OK
[WEB-STK] X-Obigo-Status-Line: HTTP/1.1 200 OK
[WEB-STK] GET /favicon.ico HTTP/1.1
[WEB-STK] Host: api.twitter.com
[WEB-STK] HTTP/1.1 200 OK
[WEB-STK] X-Obigo-Status-Line: HTTP/1.1 200 OK
[WEB-STK] POST /oauth/authorize HTTP/1.1
[WEB-STK] Host: api.twitter.com
[WEB-STK] HTTP/1.1 200 OK
[WEB-STK] X-Obigo-Status-Line: HTTP/1.1 200 OK
[WEB-STK] POST /oauth/access_token HTTP/1.1
[WEB-STK] Host: api.twitter.com
[WEB-STK] HTTP/1.1 200 OK
[WEB-STK] X-Obigo-Status-Line: HTTP/1.1 200 OK
[WEB-STK] POST /isa/tw/AuthStoreAccessToken HTTP/1.1
[WEB-STK] Host: isa-lg.1mo.com
[WEB-STK] HTTP/1.1 200 OK
[WEB-STK] X-Obigo-Status-Line: HTTP/1.1 200 OK

  1. Fail wap-log

[WEB-STK] POST /oauth/request_token HTTP/1.1
[WEB-STK] Host: api.twitter.com
[WEB-STK] HTTP/1.1 200 OK
[WEB-STK] X-Obigo-Status-Line: HTTP/1.1 200 OK
[WEB-STK] GET /oauth/authorize?oauth_token=qvqCWAU7EtPC3LPNYDnYT0t2sIHSWCPXzDUwThMWA HTTP/1.1
[WEB-STK] Host: api.twitter.com
[WEB-STK] HTTP/1.1 200 OK
[WEB-STK] X-Obigo-Status-Line: HTTP/1.1 200 OK
[WEB-STK] POST /oauth/authorize HTTP/1.1
[WEB-STK] Host: api.twitter.com
[WEB-STK] HTTP/1.1 200 OK
[WEB-STK] X-Obigo-Status-Line: HTTP/1.1 200 OK
[WEB-STK] POST /oauth/access_token HTTP/1.1
[WEB-STK] Host: api.twitter.com
[WEB-STK] HTTP/1.1 401 Unauthorized
[WEB-STK] X-Obigo-Status-Line: HTTP/1.1 401 Unauthorized