saravanan-vdg / oauth-signpost

Automatically exported from code.google.com/p/oauth-signpost
0 stars 0 forks source link

Received authentication challenge is null #21

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. If you use the FireEagle example, but instead of not having a callback, 
you do have a callback in the line authUrl = provider.retrieveRequestToken
(Callback);

What is the expected output? What do you see instead?
Signpost throws an error when trying to do this:
10-20 09:53:11.736: WARN/System.err(809): Caused by: java.io.IOException: 
Received authentication challenge is null

This is the same as issue 20.

What version of the product are you using? On what operating system?
I am using the source files for the August 2009 release. I am using it on 
Android 1.6.

Please provide any additional information below.
The call appears to work properly when there is no callback. Ignoring the 
exception results in nulls for everything coming back.

Original issue reported on code.google.com by dfel...@yahoo.com on 20 Oct 2009 at 1:56

GoogleCodeExporter commented 8 years ago
Please don't add duplicate tickets. I see and read all the tickets so this 
doesn't
help getting them fixed more quickly.

Original comment by m.kaepp...@gmail.com on 20 Oct 2009 at 2:00

GoogleCodeExporter commented 8 years ago
I am using the latest version (signpost-core-1.2-SNAPSHOT.jar) from Dec 30th 
2009.
Still running into the same issue as the original report (using Android) When I 
go
back and use version from June (Included in OAuthFireExample), there is no 
issue. 

Original comment by spot...@gmail.com on 13 Jan 2010 at 8:17

GoogleCodeExporter commented 8 years ago
I am using signpost-core-1.2.1.1.jar from Mar 21, 2010.I am using it on 
Android 1.5

Original comment by jorgesy...@gmail.com on 7 Jul 2010 at 9:37

GoogleCodeExporter commented 8 years ago
Ok mr Kaeppler i have fixed the problem in my code with...
1)catch the IOException( this avoid this message).
2)use the CommonsHttpOAuth* classes instead the DefaultOAuth* classes since 
there's a bug in Android's java.net.HttpURLConnection.
=) thanks 

Original comment by jorgesy...@gmail.com on 7 Jul 2010 at 10:17

GoogleCodeExporter commented 8 years ago
Hi All,

I am trying to integrate the Twitter in to my App. I registered the app and got 
the consumer key as well as the secret key too. Whenever i tried to refer those 
in the code and execute the app, it gives me the following error.

Seems like a some communication exception

05-15 13:57:37.988: WARN/System.err(488): 
oauth.signpost.exception.OAuthCommunicationException: Communication with the 
service provider failed: http://twitter.com/oauth/request_token
05-15 13:57:37.988: WARN/System.err(488):     at 
oauth.signpost.AbstractOAuthProvider.retrieveToken(AbstractOAuthProvider.java:21
4)
05-15 13:57:37.998: WARN/System.err(488):     at 
oauth.signpost.AbstractOAuthProvider.retrieveRequestToken(AbstractOAuthProvider.
java:69)
05-15 13:57:37.998: WARN/System.err(488):     at 
net.xxx.android.TwitterApp$2.run(TwitterApp.java:117)
05-15 13:57:37.998: WARN/System.err(488): Caused by: 
java.io.FileNotFoundException: http://twitter.com/oauth/request_token
05-15 13:57:38.007: WARN/System.err(488):     at 
org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnection.getInpu
tStream(HttpURLConnection.java:1061)
05-15 13:57:38.007: WARN/System.err(488):     at 
oauth.signpost.basic.HttpURLConnectionResponseAdapter.getContent(HttpURLConnecti
onResponseAdapter.java:18)
05-15 13:57:38.017: WARN/System.err(488):     at 
oauth.signpost.AbstractOAuthProvider.handleUnexpectedResponse(AbstractOAuthProvi
der.java:228)
05-15 13:57:38.017: WARN/System.err(488):     at 
oauth.signpost.AbstractOAuthProvider.retrieveToken(AbstractOAuthProvider.java:18
9)
05-15 13:57:38.017: WARN/System.err(488):     ... 2 more

Original comment by nandagop...@gmail.com on 15 May 2011 at 9:21