0 Replies Latest reply: Aug 15, 2013 6:01 AM by Tamer Shawky RSS

    Integrating with Twitter

    Tamer Shawky

      I need help in the Sites integration with Twitter. I already succeeded in the integration with Facebook but for Twitter I followed the steps in the developer guide and now when i try to login the Twitter icon shown to me and we I press on it it opens my Twitter application and i write my username and password then it redirects me again to my site but it give "Internal Server error"  below is the exception shown in the server logs.

       

       

      <13/08/2013 AST 11:57:05 ╪╡> <Notice> <Security> <BEA-090898> <Ignoring the trusted CA certificate "CN=t

      hawte Primary Root CA - G3,OU=(c) 2008 thawte\, Inc. - For authorized use only,OU=Certification Services

      Division,O=thawte\, Inc.,C=US". The loading of the trusted certificate list raised a certificate parsin

      g exception PKIX: Unsupported OID in the AlgorithmIdentifier object: 1.2.840.113549.1.1.11.>

      <13/08/2013 AST 11:57:05 ╪╡> <Notice> <Security> <BEA-090898> <Ignoring the trusted CA certificate "CN=T

      -TeleSec GlobalRoot Class 3,OU=T-Systems Trust Center,O=T-Systems Enterprise Services GmbH,C=DE". The lo

      ading of the trusted certificate list raised a certificate parsing exception PKIX: Unsupported OID in th

      e AlgorithmIdentifier object: 1.2.840.113549.1.1.11.>

      <13/08/2013 AST 11:57:05 ╪╡> <Notice> <Security> <BEA-090898> <Ignoring the trusted CA certificate "CN=T

      -TeleSec GlobalRoot Class 2,OU=T-Systems Trust Center,O=T-Systems Enterprise Services GmbH,C=DE". The lo

      ading of the trusted certificate list raised a certificate parsing exception PKIX: Unsupported OID in th

      e AlgorithmIdentifier object: 1.2.840.113549.1.1.11.>

      <13/08/2013 AST 11:57:05 ╪╡> <Notice> <Security> <BEA-090898> <Ignoring the trusted CA certificate "CN=G

      lobalSign,O=GlobalSign,OU=GlobalSign Root CA - R3". The loading of the trusted certificate list raised a

      certificate parsing exception PKIX: Unsupported OID in the AlgorithmIdentifier object: 1.2.840.113549.1

      .1.11.>

      <13/08/2013 AST 11:57:05 ╪╡> <Notice> <Security> <BEA-090898> <Ignoring the trusted CA certificate "OU=S

      ecurity Communication RootCA2,O=SECOM Trust Systems CO.\,LTD.,C=JP". The loading of the trusted certific

      ate list raised a certificate parsing exception PKIX: Unsupported OID in the AlgorithmIdentifier object:

      1.2.840.113549.1.1.11.>

      <13/08/2013 AST 11:57:05 ╪╡> <Notice> <Security> <BEA-090898> <Ignoring the trusted CA certificate "CN=V

      eriSign Universal Root Certification Authority,OU=(c) 2008 VeriSign\, Inc. - For authorized use only,OU=

      VeriSign Trust Network,O=VeriSign\, Inc.,C=US". The loading of the trusted certificate list raised a cer

      tificate parsing exception PKIX: Unsupported OID in the AlgorithmIdentifier object: 1.2.840.113549.1.1.1

      1.>

      <13/08/2013 AST 11:57:05 ╪╡> <Notice> <Security> <BEA-090898> <Ignoring the trusted CA certificate "CN=K

      EYNECTIS ROOT CA,OU=ROOT,O=KEYNECTIS,C=FR". The loading of the trusted certificate list raised a certifi

      cate parsing exception PKIX: Unsupported OID in the AlgorithmIdentifier object: 1.2.840.113549.1.1.11.>

       

       

      <13/08/2013 AST 11:57:05 ╪╡> <Notice> <Security> <BEA-090898> <Ignoring the trusted CA certificate "CN=G

      eoTrust Primary Certification Authority - G3,OU=(c) 2008 GeoTrust Inc. - For authorized use only,O=GeoTr

      ust Inc.,C=US". The loading of the trusted certificate list raised a certificate parsing exception PKIX:

      Unsupported OID in the AlgorithmIdentifier object: 1.2.840.113549.1.1.11.>

      2013-08-13 11:57:14,807 [[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)']

      ERROR com.fatwire.cos.sso.external.dispatcher.ExternalAuthDispatcher - Failed external authentication

      java.lang.RuntimeException: 410:

      Relevant discussions can be on the Internet at:

              http://www.google.co.jp/search?q=a1259409 or

              http://www.google.co.jp/search?q=07023d51

      TwitterException{exceptionCode=[a1259409-07023d51], statusCode=410, retryAfter=0, rateLimitStatus=null,

      version=2.2.2}

              at com.fatwire.cos.sso.external.dispatcher.twitter.DataReaderProcessor.processRequest(DataReader

      Processor.java:84)

              at com.fatwire.cos.sso.external.dispatcher.ExternalAuthenticatorImpl.authenticate(ExternalAuthen

      ticatorImpl.java:43)

              at com.fatwire.cos.sso.external.dispatcher.ExternalAuthDispatcher.processAuthenticationRequest(E

      xternalAuthDispatcher.java:70)

              at com.fatwire.cos.sso.external.dispatcher.supportservlet.ExternalAuthDispatcherServlet.doGet(Ex

      ternalAuthDispatcherServlet.java:38)

              at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)

              at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)

              at com.google.inject.servlet.ServletDefinition.doService(ServletDefinition.java:263)

              at com.google.inject.servlet.ServletDefinition.service(ServletDefinition.java:178)

              at com.google.inject.servlet.ManagedServletPipeline.service(ManagedServletPipeline.java:91)

              at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:62)

              at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168)

              at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)

              at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168)

              at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)

              at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168)

              at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)

              at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168)

              at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)

              at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168)

              at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)

              at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168)

              at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)

              at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168)

              at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)

              at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168)

              at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)

              at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168)

              at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)

              at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168)

              at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)

              at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168)

              at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)

              at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168)

              at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)

              at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168)

              at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)

              at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168)

              at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)

              at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168)

              at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)

              at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168)

              at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)

              at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168)

              at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)

              at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168)

              at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)

              at com.fatwire.cos.comments.service.filters.RestFilter.doFilter(RestFilter.java:141)

              at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:163)

              at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)

              at com.fatwire.cos.core.i18n.ResourceFilter.doFilter(ResourceFilter.java:45)

              at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:163)

              at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)

              at com.fatwire.cos.core.sso.SSOContextFilter.doFilter(SSOContextFilter.java:64)

              at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:163)

              at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)

              at com.fatwire.wem.sso.cas.filter.CASFilter.doFilter(CASFilter.java:509)

              at com.fatwire.wem.sso.SSOFilter.doFilter(SSOFilter.java:51)

              at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:163)

              at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)

              at com.fatwire.cos.core.sso.GeneralPreparationsFilter.doFilter(GeneralPreparationsFilter.java:68

      )

              at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:163)

              at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)

              at com.fatwire.cos.core.util.web.StartupGuardFilter.doFilter(StartupGuardFilter.java:42)

              at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:163)

              at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)

              at com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:118)

              at com.google.inject.servlet.GuiceFilter.doFilter(GuiceFilter.java:113)

              at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

              at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletC

      ontext.java:3730)

              at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletConte

      xt.java:3696)

              at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)

              at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)

              at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2273)

       

       

              at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)

              at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1490)

              at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)

              at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)

      Caused by: 410:

      Relevant discussions can be on the Internet at:

              http://www.google.co.jp/search?q=a1259409 or

              http://www.google.co.jp/search?q=07023d51

      TwitterException{exceptionCode=[a1259409-07023d51], statusCode=410, retryAfter=0, rateLimitStatus=null,

      version=2.2.2}

              at twitter4j.internal.http.HttpClientImpl.request(HttpClientImpl.java:189)

              at twitter4j.internal.http.HttpClientWrapper.request(HttpClientWrapper.java:65)

              at twitter4j.internal.http.HttpClientWrapper.get(HttpClientWrapper.java:93)

              at twitter4j.TwitterBaseImpl.fillInIDAndScreenName(TwitterBaseImpl.java:131)

              at twitter4j.TwitterBaseImpl.getId(TwitterBaseImpl.java:123)

              at com.fatwire.cos.sso.external.dispatcher.twitter.DataReaderProcessor.processRequest(DataReader

      Processor.java:68)

              ... 76 more

      2013-08-13 11:57:29,547 INFO [org.jasig.cas.services.DefaultServicesManagerImpl] - <Reloading registered

      services.>

      2013-08-13 11:57:29,547 INFO [org.jasig.cas.services.DefaultServicesManagerImpl] - <Loaded 0 services.>

      2013-08-13 11:59:29,551 INFO [org.jasig.cas.services.DefaultServicesManagerImpl] - <Reloading registered

      services.>

      2013-08-13 11:59:29,552 INFO [org.jasig.cas.services.DefaultServicesManagerImpl] - <Loaded 0 services.>