kanikaanand / socialauth

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

TwitterException #22

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi, Im getting the following error on trying Twitter (Facebook successful). 
Have entered correct keys on properties files and have authorized localhost on 
twitter.

10:04:11,390 INFO  [STDOUT] TwitterException{statusCode=401, retryAfter=0, 
rateLimitStatus=null}
10:04:11,390 INFO  [STDOUT]     at 
twitter4j.internal.http.HttpClientImpl.request(HttpClientImpl.java:301)
10:04:11,390 INFO  [STDOUT]     at 
twitter4j.internal.http.HttpClientWrapper.request(HttpClientWrapper.java:68)
10:04:11,390 INFO  [STDOUT]     at 
twitter4j.internal.http.HttpClientWrapper.post(HttpClientWrapper.java:99)
10:04:11,390 INFO  [STDOUT]     at 
twitter4j.http.OAuthAuthorization.getOAuthRequestToken(OAuthAuthorization.java:1
21)
10:04:11,390 INFO  [STDOUT]     at 
twitter4j.Twitter.getOAuthRequestToken(Twitter.java:1605)
10:04:11,421 INFO  [STDOUT]     at 
org.brickred.socialauth.provider.TwitterImpl.getLoginRedirectURL(TwitterImpl.jav
a:78)
10:04:11,421 INFO  [STDOUT]     at 
com.auth.actions.SocialAuthenticationAction.execute(SocialAuthenticationAction.j
ava:85)
10:04:11,421 INFO  [STDOUT]     at 
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.
java:419)
10:04:11,421 INFO  [STDOUT]     at 
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:224)
10:04:11,421 INFO  [STDOUT]     at 
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1194)
10:04:11,421 INFO  [STDOUT]     at 
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
10:04:11,421 INFO  [STDOUT]     at 
javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
10:04:11,421 INFO  [STDOUT]     at 
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
10:04:11,421 INFO  [STDOUT]     at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilt
erChain.java:252)
10:04:11,421 INFO  [STDOUT]     at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.
java:173)
10:04:11,421 INFO  [STDOUT]     at 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:8
1)
10:04:11,421 INFO  [STDOUT]     at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilt
erChain.java:202)
10:04:11,421 INFO  [STDOUT]     at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.
java:173)
10:04:11,421 INFO  [STDOUT]     at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:2
13)
10:04:11,421 INFO  [STDOUT]     at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:1
78)
10:04:11,421 INFO  [STDOUT]     at 
org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.j
ava:39)
10:04:11,421 INFO  [STDOUT]     at 
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociatio
nValve.java:153)
10:04:11,421 INFO  [STDOUT]     at 
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)
10:04:11,421 INFO  [STDOUT]     at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
10:04:11,421 INFO  [STDOUT]     at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
10:04:11,421 INFO  [STDOUT]     at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107
)
10:04:11,421 INFO  [STDOUT]     at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
10:04:11,421 INFO  [STDOUT]     at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
10:04:11,421 INFO  [STDOUT]     at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnectio
n(Http11Protocol.java:744)
10:04:11,421 INFO  [STDOUT]     at 
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:52
7)
10:04:11,421 INFO  [STDOUT]     at 
org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.j
ava:112)
10:04:11,421 INFO  [STDOUT]     at java.lang.Thread.run(Thread.java:619)
10:04:11,421 INFO  [SocialAuthenticationAction] Redirecting to: null

Regards,
Yudhajit

Original issue reported on code.google.com by cosmic...@gmail.com on 17 Nov 2010 at 4:37

GoogleCodeExporter commented 9 years ago
1st error line says statuscode=401 (=unauthorized)... the keys are correct and 
localhost is authorized..

Original comment by cosmic...@gmail.com on 17 Nov 2010 at 4:41

GoogleCodeExporter commented 9 years ago
my bad ...solved...callback url ...please delete issue

Original comment by cosmic...@gmail.com on 17 Nov 2010 at 8:16

GoogleCodeExporter commented 9 years ago
Great to know that, closing the issue

Original comment by tsg.bric...@gmail.com on 18 Nov 2010 at 7:22