Results 1 to 3 of 3

Thread: ResourceAccessException: I/O error: Timeout while fetching: RestTemplate

  1. #1
    Join Date
    Nov 2011
    Posts
    1

    Default ResourceAccessException: I/O error: Timeout while fetching: RestTemplate

    Hi All,

    I'm facing an issue with RestTemplate in Spring 3.0.
    When i'm trying to request other app which is in google appengine application it is timeout for 5 secs.

    My Client application and server application both are in Google App Engine,

    Here is Client Code:

    HTML Code:
    RestTemplate restTemplate = new RestTemplate();
    restTemplate.postForObject( pUrl , paramObj , String.class )
    Exception :

    HTML Code:
    org.springframework.web.client.ResourceAccessException: I/O error: Timeout while fetching: http://naresh-app.appspot.com/HistoryAction/getHistory.json; nested exception is java.net.SocketTimeoutException: Timeout while fetching: http://naresh-app.appspot.com/HistoryAction/getHistory.json
    Any help?

    Thanks in advance.

  2. #2
    Join Date
    Dec 2011
    Posts
    1

    Default

    Hi,
    Have you found the solution? I have the same problem above, please help.

  3. #3
    Join Date
    May 2012
    Posts
    2

    Default Time out while making a rest call

    Quote Originally Posted by Dat Nguyen View Post
    Hi,
    Have you found the solution? I have the same problem above, please help.
    Having the same issue

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •