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

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web68

  • Stack trace

    • 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) at org.springframework.social.oauth1.OAuth1Template.fetchRequestToken(OAuth1Template.java:117) at org.springframework.social.connect.web.ConnectSupport.fetchRequestToken(ConnectSupport.java:212) at org.springframework.social.connect.web.ConnectSupport.buildOAuth1Url(ConnectSupport.java:199) at org.springframework.social.connect.web.ConnectSupport.buildOAuthUrl(ConnectSupport.java:126) at org.springframework.social.connect.web.ProviderSignInController.signIn(ProviderSignInController.java:180) at sun.reflect.GeneratedMethodAccessor286.invoke(Unknown Source)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    wendellpereirawendellpereira
    32 times, last one
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitor2 times, last one
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    11 more bugmates