Uploaded image for project: 'serf'
  1. serf
  2. SERF-172

Versions of subversion which are using serf can not deal with certificate authentication

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • None

    Description

      What steps will reproduce the problem?
      1. use "svn co" on debian 8.1 (uses serf 1.8.3 and svn 1.8.10)
      2. use "svn co" on opensuse 13.2 (uses serf 1.8.3 and svn 1.8.13)
      3. use "svn co" 0.9.0 and serf 1.3.8
      4. use "svn co" 0.9.0 and serf 2.0.0

      What is the expected output? What do you see instead?
      For serf 1.8.3 I see:
      I expect the checkout of a svn tree. Instead it will give an error:
      svn: E120171: Error retrieving REPORT: An error occurred during SSL communication
      with debug enabled (svn 0.9.0):
      subversion/svn/checkout-cmd.c:175,
      subversion/libsvn_client/checkout.c:226,
      subversion/libsvn_client/checkout.c:193,
      subversion/libsvn_client/update.c:668,
      subversion/libsvn_client/update.c:508,
      subversion/libsvn_wc/adm_crawler.c:859,
      subversion/libsvn_ra_serf/update.c:2694,
      subversion/libsvn_ra_serf/update.c:2684,
      subversion/libsvn_ra_serf/update.c:2616,
      subversion/libsvn_ra_serf/util.c:914: (apr_err=120171)
      svn: E120171: Error running context: An error occurred during SSL communication

      For serf 2.0.0 nothing really works, certificate credentials are not read and after some time I get:
      subversion/svn/info-cmd.c:981,
      subversion/libsvn_client/info.c:390,
      subversion/libsvn_client/ra.c:547,
      subversion/libsvn_client/ra.c:424,
      subversion/libsvn_ra/ra_loader.c:395: (apr_err=SVN_ERR_RA_CANNOT_CREATE_SESSION)
      svn: E170013: Unable to connect to a repository at URL 'https://prace.osd.surfsara.nl/svn/trunk/pracewp6/AAA/LDAP_Check'
      subversion/libsvn_ra_serf/serf.c:609,
      subversion/libsvn_ra_serf/options.c:517,
      subversion/libsvn_ra_serf/util.c:988,
      subversion/libsvn_ra_serf/util.c:937,
      subversion/libsvn_ra_serf/util.c:914: (apr_err=120108)
      svn: E120108: Error running context: The server unexpectedly closed the connection.

      What version of the product are you using? On what operating system?
      See above

      Please provide any additional information below.
      Older versions of subversion which are using neon instead of serf are working correct.

      Original issue reported by srrbvdwl

      Attachments

        Activity

          People

            Unassigned Unassigned
            serf-importer Serf Importer
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: