org.springframework.social.InternalServerErrorException: Something is broken at Twitter. Please see http://dev.twitter.com/pages/support to report the issue.

Spring JIRA | Max Göbel | 3 years ago
  1. 0

    Dear Spring Community, Since today (19.07.2013 14:20:07) we are facing serious Problems Publishing Tweets by the Spring-Framework / Twitter api. Our Customer ist not able to publish his tweet by the Application we built up for him with springframework.social. It worked in the past, even since Twitter has its API updated to Version 1.1. The following message can be seen in our log: {code} 19.07.2013 14:20:07 ERROR [impl.TwitterPublicationServiceImpl]: publish$ Verbindung zu Twitter ist fehlgeschlagen org.springframework.social.InternalServerErrorException: Something is broken at Twitter. Please see http://dev.twitter.com/pages/support to report the issue. at org.springframework.social.twitter.api.impl.TwitterErrorHandler.handleServerErrors(TwitterErrorHandler.java:128) at org.springframework.social.twitter.api.impl.TwitterErrorHandler.handleError(TwitterErrorHandler.java:56) at org.springframework.web.client.RestTemplate.handleResponseError(RestTemplate.java:494) at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:451) at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:423) at org.springframework.web.client.RestTemplate.getForObject(RestTemplate.java:221) at org.springframework.social.twitter.api.impl.UserTemplate.getUserProfile(UserTemplate.java:54) at com.babiel.socialmediaexport.dao.api.ApiTwitterDao.connect(ApiTwitterDao.java:46) {code} It occurs during connection attempt. {code} @Override public Twitter connect(String accessToken, String accessTokenSecret){ Twitter twitter = new TwitterTemplate(consumerKey, consumerSecret, accessToken, accessTokenSecret); if (log.isDebugEnabled()) { TwitterProfile profile = twitter.userOperations().getUserProfile(); log.debug("Verbunden mit: " + profile.getName()); log.debug("Profilurl: " + profile.getProfileUrl()); } return twitter; } {code} Do you know from any changes which would make it neccessary to upgrade one of the following libraries? {code} <org.springframework.social>1.0.3.RELEASE</org.springframework.social> <org.springframework.social.twitter>1.0.4.RELEASE</org.springframework.social.twitter> <org.springframework.version>3.0.5.RELEASE</org.springframework.version> <spring-security-crypto.version>3.1.0.RC2.crypto</spring-security-crypto.version {code} Best regards Max Göbel

    Spring JIRA | 3 years ago | Max Göbel
    org.springframework.social.InternalServerErrorException: Something is broken at Twitter. Please see http://dev.twitter.com/pages/support to report the issue.
  2. 0

    Dear Spring Community, Since today (19.07.2013 14:20:07) we are facing serious Problems Publishing Tweets by the Spring-Framework / Twitter api. Our Customer ist not able to publish his tweet by the Application we built up for him with springframework.social. It worked in the past, even since Twitter has its API updated to Version 1.1. The following message can be seen in our log: {code} 19.07.2013 14:20:07 ERROR [impl.TwitterPublicationServiceImpl]: publish$ Verbindung zu Twitter ist fehlgeschlagen org.springframework.social.InternalServerErrorException: Something is broken at Twitter. Please see http://dev.twitter.com/pages/support to report the issue. at org.springframework.social.twitter.api.impl.TwitterErrorHandler.handleServerErrors(TwitterErrorHandler.java:128) at org.springframework.social.twitter.api.impl.TwitterErrorHandler.handleError(TwitterErrorHandler.java:56) at org.springframework.web.client.RestTemplate.handleResponseError(RestTemplate.java:494) at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:451) at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:423) at org.springframework.web.client.RestTemplate.getForObject(RestTemplate.java:221) at org.springframework.social.twitter.api.impl.UserTemplate.getUserProfile(UserTemplate.java:54) at com.babiel.socialmediaexport.dao.api.ApiTwitterDao.connect(ApiTwitterDao.java:46) {code} It occurs during connection attempt. {code} @Override public Twitter connect(String accessToken, String accessTokenSecret){ Twitter twitter = new TwitterTemplate(consumerKey, consumerSecret, accessToken, accessTokenSecret); if (log.isDebugEnabled()) { TwitterProfile profile = twitter.userOperations().getUserProfile(); log.debug("Verbunden mit: " + profile.getName()); log.debug("Profilurl: " + profile.getProfileUrl()); } return twitter; } {code} Do you know from any changes which would make it neccessary to upgrade one of the following libraries? {code} <org.springframework.social>1.0.3.RELEASE</org.springframework.social> <org.springframework.social.twitter>1.0.4.RELEASE</org.springframework.social.twitter> <org.springframework.version>3.0.5.RELEASE</org.springframework.version> <spring-security-crypto.version>3.1.0.RC2.crypto</spring-security-crypto.version {code} Best regards Max Göbel

    Spring JIRA | 3 years ago | Max Göbel
    org.springframework.social.InternalServerErrorException: Something is broken at Twitter. Please see http://dev.twitter.com/pages/support to report the issue.

    Root Cause Analysis

    1. org.springframework.social.InternalServerErrorException

      Something is broken at Twitter. Please see http://dev.twitter.com/pages/support to report the issue.

      at org.springframework.social.twitter.api.impl.TwitterErrorHandler.handleServerErrors()
    2. Twitter API
      TwitterErrorHandler.handleError
      1. org.springframework.social.twitter.api.impl.TwitterErrorHandler.handleServerErrors(TwitterErrorHandler.java:128)
      2. org.springframework.social.twitter.api.impl.TwitterErrorHandler.handleError(TwitterErrorHandler.java:56)
      2 frames
    3. Spring
      RestTemplate.getForObject
      1. org.springframework.web.client.RestTemplate.handleResponseError(RestTemplate.java:494)
      2. org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:451)
      3. org.springframework.web.client.RestTemplate.execute(RestTemplate.java:423)
      4. org.springframework.web.client.RestTemplate.getForObject(RestTemplate.java:221)
      4 frames
    4. Twitter API
      UserTemplate.getUserProfile
      1. org.springframework.social.twitter.api.impl.UserTemplate.getUserProfile(UserTemplate.java:54)
      1 frame
    5. com.babiel.socialmediaexport
      ApiTwitterDao.connect
      1. com.babiel.socialmediaexport.dao.api.ApiTwitterDao.connect(ApiTwitterDao.java:46)
      1 frame