首页 新闻 会员 周边 捐助

OAuth认证问题

0
悬赏园豆:10 [待解决问题]

oauth.signpost.exception.OAuthCommunicationException: Communication with the service provider failed: Service provider responded in error: 400 (Bad Request)求解。。。

东懂的主页 东懂 | 初学一级 | 园豆:110
提问于:2011-12-16 19:18
< >
分享
所有回答(1)
0

我也遇到类似问题,对问题补充下,求解:

01-07 03:05:16.036: WARN/System.err(31479): oauth.signpost.exception.OAuthCommunicationException: Communication with the service provider failed: Host is unresolved: api.t.sina.com.cn:80
01-07 03:05:16.046: WARN/System.err(31479):     at oauth.signpost.AbstractOAuthProvider.retrieveToken(AbstractOAuthProvider.java:214)
01-07 03:05:16.046: WARN/System.err(31479):     at oauth.signpost.AbstractOAuthProvider.retrieveRequestToken(AbstractOAuthProvider.java:69)
01-07 03:05:16.046: WARN/System.err(31479):     at cn.com.hh.oauth.OAuth.RequestAccessToken(OAuth.java:80)
01-07 03:05:16.046: WARN/System.err(31479):     at cn.com.hh.view.AuthorizeActivity$1.onClick(AuthorizeActivity.java:47)
01-07 03:05:16.056: WARN/System.err(31479):     at android.view.View.performClick(View.java:2364)
01-07 03:05:16.056: WARN/System.err(31479):     at android.view.View.onTouchEvent(View.java:4179)
01-07 03:05:16.056: WARN/System.err(31479):     at android.view.View.dispatchTouchEvent(View.java:3709)
01-07 03:05:16.056: WARN/System.err(31479):     at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:884)
01-07 03:05:16.056: WARN/System.err(31479):     at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:884)
01-07 03:05:16.066: WARN/System.err(31479):     at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:884)
01-07 03:05:16.066: WARN/System.err(31479):     at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:884)
01-07 03:05:16.066: WARN/System.err(31479):     at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:884)
01-07 03:05:16.066: WARN/System.err(31479):     at com.android.internal.policy.impl.PhoneWindow$DecorView.superDispatchTouchEvent(PhoneWindow.java:1659)
01-07 03:05:16.066: WARN/System.err(31479):     at com.android.internal.policy.impl.PhoneWindow.superDispatchTouchEvent(PhoneWindow.java:1107)
01-07 03:05:16.066: WARN/System.err(31479):     at android.app.Dialog.dispatchTouchEvent(Dialog.java:643)
01-07 03:05:16.076: WARN/System.err(31479):     at com.android.internal.policy.impl.PhoneWindow$DecorView.dispatchTouchEvent(PhoneWindow.java:1643)
01-07 03:05:16.076: WARN/System.err(31479):     at android.view.ViewRoot.handleMessage(ViewRoot.java:1691)
01-07 03:05:16.076: WARN/System.err(31479):     at android.os.Handler.dispatchMessage(Handler.java:99)
01-07 03:05:16.076: WARN/System.err(31479):     at android.os.Looper.loop(Looper.java:123)
01-07 03:05:16.076: WARN/System.err(31479):     at android.app.ActivityThread.main(ActivityThread.java:4363)
01-07 03:05:16.086: WARN/System.err(31479):     at java.lang.reflect.Method.invokeNative(Native Method)
01-07 03:05:16.086: WARN/System.err(31479):     at java.lang.reflect.Method.invoke(Method.java:521)
01-07 03:05:16.086: WARN/System.err(31479):     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:860)
01-07 03:05:16.086: WARN/System.err(31479):     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)
01-07 03:05:16.086: WARN/System.err(31479):     at dalvik.system.NativeStart.main(Native Method)
01-07 03:05:16.096: WARN/System.err(31479): Caused by: java.net.UnknownHostException: Host is unresolved: api.t.sina.com.cn:80
01-07 03:05:16.106: WARN/System.err(31479):     at java.net.Socket.connect(Socket.java:1037)
01-07 03:05:16.116: WARN/System.err(31479):     at org.apache.http.conn.scheme.PlainSocketFactory.connectSocket(PlainSocketFactory.java:117)
01-07 03:05:16.116: WARN/System.err(31479):     at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:129)
01-07 03:05:16.116: WARN/System.err(31479):     at org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:164)
01-07 03:05:16.116: WARN/System.err(31479):     at org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:119)
01-07 03:05:16.116: WARN/System.err(31479):     at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:348)
01-07 03:05:16.116: WARN/System.err(31479):     at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:555)
01-07 03:05:16.126: WARN/System.err(31479):     at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:487)
01-07 03:05:16.126: WARN/System.err(31479):     at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:465)
01-07 03:05:16.126: WARN/System.err(31479):     at oauth.signpost.commonshttp.CommonsHttpOAuthProvider.sendRequest(CommonsHttpOAuthProvider.java:64)
01-07 03:05:16.126: WARN/System.err(31479):     at oauth.signpost.AbstractOAuthProvider.retrieveToken(AbstractOAuthProvider.java:177)
01-07 03:05:16.136: WARN/System.err(31479):     ... 24 more
01-07 03:05:18.536: WARN/InputManagerService(52): Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy@608e17c0

快门儿 | 园豆:205 (菜鸟二级) | 2012-01-07 12:04
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册