TheProjecter / socialauth

Automatically exported from code.google.com/p/socialauth
0 stars 1 forks source link

Twitter Error while fetching Request Token #249

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I have a problem using twitter, everything works great for facebook, but I can 
not find the problem in twitter.

I'm running the application in Windows tomcat7 with example configurations 
works well, but not the app on twitter.

What version of the product are you using? On what operating system? SocialAuth 
4.0, Winxp , Tomcat 7 JDK 1.6

Please provide any additional information below.

2013-02-26 15:30:18,861 DEBUG [org.brickred.socialauth.SocialAuthConfig] - 
<Loading application configuration from file oauth_consumer.properties>
2013-02-26 15:30:18,861 DEBUG [org.brickred.socialauth.SocialAuthConfig] - 
<Loading application configuration from file oauth_consumer.properties>
2013-02-26 15:30:18,861 DEBUG [org.brickred.socialauth.SocialAuthConfig] - 
<Loading application configuration through input stream.>
2013-02-26 15:30:18,877 INFO [org.brickred.socialauth.SocialAuthConfig] - 
<Loading application configuration>
2013-02-26 15:30:18,877 DEBUG [org.brickred.socialauth.SocialAuthConfig] - 
<Loading application configuration through properties. Given properties are 
:{twitter.com.consumer_secret=LADyRUAOW5XTReqCbAU2Ipq0ggqa3UNwJgxjFYqh0c, 
twitter.com.consumer_key=PvqLBlyiPWFZcpeCO2ng}>
2013-02-26 15:30:18,877 DEBUG [org.brickred.socialauth.SocialAuthConfig] - 
<Loading configuration for provider : twitter>
2013-02-26 15:30:18,877 DEBUG [org.brickred.socialauth.SocialAuthConfig] - 
<Configuration for provider runkeeper is not available>
2013-02-26 15:30:18,877 DEBUG [org.brickred.socialauth.SocialAuthConfig] - 
<Configuration for provider google is not available>
2013-02-26 15:30:18,877 DEBUG [org.brickred.socialauth.SocialAuthConfig] - 
<Configuration for provider linkedin is not available>
2013-02-26 15:30:18,877 DEBUG [org.brickred.socialauth.SocialAuthConfig] - 
<Configuration for provider yammer is not available>
2013-02-26 15:30:18,877 DEBUG [org.brickred.socialauth.SocialAuthConfig] - 
<Configuration for provider hotmail is not available>
2013-02-26 15:30:18,877 DEBUG [org.brickred.socialauth.SocialAuthConfig] - 
<Loading configuration for provider : facebook>
2013-02-26 15:30:18,877 DEBUG [org.brickred.socialauth.SocialAuthConfig] - 
<Configuration for provider salesforce is not available>
2013-02-26 15:30:18,877 DEBUG [org.brickred.socialauth.SocialAuthConfig] - 
<Configuration for provider mendeley is not available>
2013-02-26 15:30:18,877 DEBUG [org.brickred.socialauth.SocialAuthConfig] - 
<Configuration for provider myspace is not available>
2013-02-26 15:30:18,877 DEBUG [org.brickred.socialauth.SocialAuthConfig] - 
<Configuration for provider foursquare is not available>
2013-02-26 15:30:18,877 DEBUG [org.brickred.socialauth.SocialAuthConfig] - 
<Configuration for provider yahoo is not available>
2013-02-26 15:30:18,877 DEBUG [org.brickred.socialauth.SocialAuthManager] - 
<Setting socialauth config>
2013-02-26 15:30:20,439 DEBUG [org.brickred.socialauth.SocialAuthManager] - 
<Getting Authentication URL for provider twitter, with success url : 
http://testsocial.com/AuthSocial/SocialAuthSuccess>
2013-02-26 15:30:20,486 INFO [org.brickred.socialauth.provider.TwitterImpl] - 
<Loading plugins>
2013-02-26 15:30:20,486 INFO [org.brickred.socialauth.provider.TwitterImpl] - 
<Loading plugin :: org.brickred.socialauth.plugin.twitter.FeedPluginImpl>
2013-02-26 15:30:20,486 INFO [org.brickred.socialauth.provider.TwitterImpl] - 
<Loading plugin :: org.brickred.socialauth.plugin.twitter.AlbumsPluginImpl>
2013-02-26 15:30:20,486 INFO [org.brickred.socialauth.provider.TwitterImpl] - 
<Determining URL for redirection>
2013-02-26 15:30:20,486 INFO [org.brickred.socialauth.oauthstrategy.OAuth1] - 
<Determining URL for redirection>
2013-02-26 15:30:20,486 DEBUG [org.brickred.socialauth.oauthstrategy.OAuth1] - 
<Call to fetch Request Token>
2013-02-26 15:30:20,486 DEBUG [org.brickred.socialauth.util.OAuthConsumer] - 
<Preparing to get Request Token>
2013-02-26 15:30:20,486 DEBUG [org.brickred.socialauth.util.OAuthConsumer] - 
<Given Request Token URL : http://api.twitter.com/oauth/request_token>
2013-02-26 15:30:20,486 DEBUG [org.brickred.socialauth.util.OAuthConsumer] - 
<Given CallBack URL : http://testsocial.com/AuthSocial/SocialAuthSuccess>
2013-02-26 15:30:20,486 DEBUG [org.brickred.socialauth.util.OAuthConsumer] - 
<Generating OAUTH Signature>
2013-02-26 15:30:20,486 DEBUG [org.brickred.socialauth.util.OAuthConsumer] - 
<Given Signature Type : HMAC-SHA1>
2013-02-26 15:30:20,486 DEBUG [org.brickred.socialauth.util.OAuthConsumer] - 
<Given Method Type : GET>
2013-02-26 15:30:20,486 DEBUG [org.brickred.socialauth.util.OAuthConsumer] - 
<Given URL : http://api.twitter.com/oauth/request_token>
2013-02-26 15:30:20,486 DEBUG [org.brickred.socialauth.util.OAuthConsumer] - 
<Given Parameters : 
{oauth_callback=http://testsocial.com/AuthSocial/SocialAuthSuccess, 
oauth_nonce=1361903420486, oauth_version=1.0, oauth_signature_method=HMAC-SHA1, 
oauth_consumer_key=PvqLBlyiPWFZcpeCO2ng, oauth_timestamp=1361903420}>
2013-02-26 15:30:20,705 DEBUG [org.brickred.socialauth.util.OAuthConsumer] - 
<Signature data : 
GET&http%3A%2F%2Fapi.twitter.com%2Foauth%2Frequest_token&oauth_callback%3Dhttp%2
53A%252F%252Ftestsocial.com%252FAuthSocial%252FSocialAuthSuccess%26oauth_consume
r_key%3DPvqLBlyiPWFZcpeCO2ng%26oauth_nonce%3D1361903420486%26oauth_signature_met
hod%3DHMAC-SHA1%26oauth_timestamp%3D1361903420%26oauth_version%3D1.0>
2013-02-26 15:30:20,705 DEBUG [org.brickred.socialauth.util.OAuthConsumer] - 
<Encoding raw HMAC to Base64>
2013-02-26 15:30:20,705 DEBUG [org.brickred.socialauth.util.OAuthConsumer] - 
<HMAC-SHA1 Signature for request token : g+L47bkdRsabK6TorzvEjhfwDKY=>
2013-02-26 15:30:20,721 DEBUG [org.brickred.socialauth.util.OAuthConsumer] - 
<URL to get Request Token : 
http://api.twitter.com/oauth/request_token?oauth_callback=http%3A%2F%2Ftestsocia
l.com%2FAuthSocial%2FSocialAuthSuccess&oauth_consumer_key=PvqLBlyiPWFZcpeCO2ng&o
auth_nonce=1361903420486&oauth_signature=g%2BL47bkdRsabK6TorzvEjhfwDKY%3D&oauth_
signature_method=HMAC-SHA1&oauth_timestamp=1361903420&oauth_version=1.0>
2013-02-26 15:30:31,018 DEBUG [org.brickred.socialauth.util.OAuthConsumer] - 
<Error while fetching Request Token>
2013-02-26 15:30:32,674 ERROR [neo.eventos.servlet.socialauth] - 
<org.brickred.socialauth.exception.SocialAuthConfigurationException: 
Application keys are not correct. The server running the application should be 
same that was registered to get the keys.>

Original issue reported on code.google.com by jcmonsa...@neoingen.cl on 26 Feb 2013 at 6:35

GoogleCodeExporter commented 9 years ago
Can you please check you key/secret again. And make sure you have register your 
key/secret using the domain testsocial.com.

Please revert if this is not the reason of this error.

Original comment by tarun.na...@3pillarglobal.com on 5 Mar 2013 at 11:33

GoogleCodeExporter commented 9 years ago
Hi... anyone has found a solution?

Original comment by hugoTest...@gmail.com on 5 Apr 2013 at 1:38

GoogleCodeExporter commented 9 years ago
Hugo, What error you are getting?

Original comment by tarun.na...@3pillarglobal.com on 9 Apr 2013 at 8:11

GoogleCodeExporter commented 9 years ago
Closing this issue.
Please provide me details if you are still facing the same problem.

Original comment by tarun.na...@3pillarglobal.com on 1 May 2013 at 10:43