Https://api.twitter.com/oauth/request_token : Connection Timeout


#1

org.springframework.web.client.ResourceAccessException: I/O error on POST request for “https://api.twitter.com/oauth/request_token”:Connection timed out; nested exception is java.net.SocketException: Connection timed out
at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:607)
at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:572)
at org.springframework.web.client.RestTemplate.exchange(RestTemplate.java:493)
at org.springframework.social.oauth1.OAuth1Template.exchangeForToken(OAuth1Template.java:192)