Spring for Android
  1. Spring for Android
  2. ANDROID-31

HTTPS connection problems with RestTemplate

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Complete
    • Affects Version/s: 1.0.0.M2
    • Fix Version/s: 1.0.0.RC1
    • Component/s: None
    • Labels:
      None

      Description

      From discussion in the Spring-Mobile forums, users are reporting slow performance with the HttpComponents client over SSL. And additionally there are some other connectivity problems over SSL.

      http://forum.springsource.org/showthread.php?s=c1c6bab8e7be2f8741d2b4dbb5d080c7&t=105618

        Activity

        Hide
        Felix added a comment -

        Is this issue still unresolved? We are planning to use android rest in production and we have to use https connections.

        Any updates on this bug?

        Show
        Felix added a comment - Is this issue still unresolved? We are planning to use android rest in production and we have to use https connections. Any updates on this bug?
        Hide
        Roy Clarkson added a comment -

        It seems the performance issues are related to the HttpComponents client and using J2SE facilities improve the situation. I've modified RestTemplate to default to the SimpleClientHttpRequestFactory, which uses HttpURLConnection, on Gingerbread and newer, per Google's recommendations. I'm going to close the defect since it does not include any specific details or problems. When a new issue is identified, please add a JIRA with the details. Thanks.

        Show
        Roy Clarkson added a comment - It seems the performance issues are related to the HttpComponents client and using J2SE facilities improve the situation. I've modified RestTemplate to default to the SimpleClientHttpRequestFactory, which uses HttpURLConnection, on Gingerbread and newer, per Google's recommendations. I'm going to close the defect since it does not include any specific details or problems. When a new issue is identified, please add a JIRA with the details. Thanks.

          People

          • Assignee:
            Roy Clarkson
            Reporter:
            Roy Clarkson
          • Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: