Details

    • Type: Bug
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: 5.6.0
    • Fix Version/s: 5.6.1
    • Component/s: None
    • Labels:
      None

      Description

      If during apt-get update command you get the following (happens in Ubuntu Trusty):

      E: Method https has died unexpectedly!
      E: Sub-process https received a segmentation fault.
      

      This is due to a bug fixed in Debian apt http method fixed in 2009: https://github.com/Debian/apt/commit/dda7233c5d3879f2580543ead0ad7cd76196a160#diff-c8367b0733401af8a29f502c70434b89
      that was never applied to the https method until recently.

      This means that all modern web servers (Tomcat 8.5, 9, Squid, ...) and the new HTTP/2 will stop sending the reason phrase in the HTTP status.

      The Tomcat dev team waited for more than a year before adding the flag back: https://bz.apache.org/bugzilla/show_bug.cgi?id=60362

        Attachments

          Issue Links

            Activity

            Hide
            freds Fred Simon added a comment - - edited

            We waited for version 8.5.23 of Tomcat to provide our users a way to fix this in the mean time.
            Please change the following flag in your tomcat/conf/server.xml file:

             sendReasonPhrase="true"
            

            And restart Artifactory.
            Be aware that not upgrading Apt and Debian to newer version supporting the empty reason phrase will be problematic with other web servers and reverse proxy in the near future as more and more servers are dropping the reason phrase support.

            Show
            freds Fred Simon added a comment - - edited We waited for version 8.5.23 of Tomcat to provide our users a way to fix this in the mean time. Please change the following flag in your tomcat/conf/server.xml file: sendReasonPhrase= " true " And restart Artifactory. Be aware that not upgrading Apt and Debian to newer version supporting the empty reason phrase will be problematic with other web servers and reverse proxy in the near future as more and more servers are dropping the reason phrase support.
            Hide
            freds Fred Simon added a comment -

            The upgrade to Tomcat 8.5 generated this

            Show
            freds Fred Simon added a comment - The upgrade to Tomcat 8.5 generated this

              People

              • Assignee:
                freds Fred Simon
                Reporter:
                freds Fred Simon
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: