Uploaded image for project: 'CernVM'
  1. CernVM
  2. CVM-1675

Failure after Redirection does not switch hosts

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Medium
    • Resolution: Fixed
    • None
    • CernVM-FS 2.7.1
    • CVMFS
    • None
    • Sprint "Signal des Voirons"
    • ANY

    Description

      After a 302 redirect, the redirection is correctly handled.  But, if the redirected host fails to respond, CVMFS will not switch servers from the original redirection host.

      The debug log looks like this:

      (download) escaped http://osg-chicago-stashcache.nrp.internet2.edu:8000//user/cwalter/public/02442068/phosim_cat_2442068.txt to http://osg-chicago-stashcache.nrp.internet2.edu:8000//user/cwalter/public/02442068/phosim_cat_2442068.txt    [01-16-2019 10:24:00 CST]
      (download) http redirect: HTTP/1.1 302 Redirect
          [01-16-2019 10:24:00 CST]
      (download) Location: http://osg.chic.nrp.internet2.edu:9001/user/cwalter/public/02442068/phosim_cat_2442068.txt
          [01-16-2019 10:24:00 CST]
      (download) Verify downloaded url /user/cwalter/public/02442068/phosim_cat_2442068.txt, proxy DIRECT (curl error 28)    [01-16-2019 10:24:10 CST]
      (download) Trying again on same curl handle, same url: 1, error code 7    [01-16-2019 10:24:10 CST]
      (download) backing off for 433 ms    [01-16-2019 10:24:10 CST]
      (download) Verify downloaded url /user/cwalter/public/02442068/phosim_cat_2442068.txt, proxy DIRECT (curl error 28)    [01-16-2019 10:24:20 CST]
      (download) Trying again on same curl handle, same url: 0, error code 7    [01-16-2019 10:24:20 CST]
      (download) don't switch host, effective url: http://osg.chic.nrp.internet2.edu:9001/user/cwalter/public/02442068/phosim_cat_2442068.txt, current host: http://osg-chicago-stashcache.nrp.internet2.edu:8000/    [01-16-2019 10:24:20 CST]
      (download) escaped http://osg-chicago-stashcache.nrp.internet2.edu:8000//user/cwalter/public/02442068/phosim_cat_2442068.txt to http://osg-chicago-stashcache.nrp.internet2.edu:8000//user/cwalter/public/02442068/phosim_cat_2442068.txt    [01-16-2019 10:24:20 CST]
      (download) http redirect: HTTP/1.1 302 Redirect
          [01-16-2019 10:24:20 CST]
      (download) Location: http://osg.chic.nrp.internet2.edu:9001/user/cwalter/public/02442068/phosim_cat_2442068.txt
          [01-16-2019 10:24:20 CST]
      (download) Verify downloaded url /user/cwalter/public/02442068/phosim_cat_2442068.txt, proxy DIRECT (curl error 28)    [01-16-2019 10:24:31 CST]

      Attachments

        Issue Links

          Activity

            People

              jpriessn Jan Priessnitz (Inactive)
              dweitzel Derek Weitzel
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: