Uploaded image for project: 'Traffic Server'
  1. Traffic Server
  2. TS-3897

Getting 404s with regex_map

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 6.0.0
    • 6.0.0
    • HTTP
    • None

    Description

      build pass on Debian 7 64bit,

      but ts behaved strangely with old config that previous work for v5.3.1 (reverse proxy):

      ats return HTTP/1.1 404 Not Found on Accelerator for all request ~

      remap.config:
      regex_map http://(.*).aa.com/ http://$1.aa.com/

      diag.log:
      [Sep 9 11:49:16.506] Server

      {0x2b6567a0e700}

      NOTE: cache enabled
      [Sep 9 11:49:17.890] Server

      {0x2b6568014700} WARNING: pcre_exec() failed with error code 0
      [Sep 9 11:49:17.892] Server {0x2b6566687e00} NOTE: traffic server running
      [Sep 9 11:53:32.954] Server {0x2b6568115700} WARNING: pcre_exec() failed with error code 0
      [Sep 9 11:53:38.587] Server {0x2b6566687e00} WARNING: pcre_exec() failed with error code 0
      [Sep 9 11:59:57.908] Server {0x2b6567c10700} WARNING: pcre_exec() failed with error code 0
      [Sep 9 12:04:42.012] Server {0x2b656770b700} WARNING: pcre_exec() failed with error code 0
      [Sep 9 12:05:30.299] Server {0x2b6567e12700} WARNING: pcre_exec() failed with error code 0

      traffic.out(debug)
      [Sep 9 12:23:43.091] Server {0x2b6567d11700} DEBUG: (dns) [HttpTransact::HandleRequest] Skipping DNS lookup for 127.0.0.1 because it's loopback
      [Sep 9 12:23:53.094] Server {0x2b6567e12700} DEBUG: (dns) [HttpTransact::HandleRequest] Skipping DNS lookup for 127.0.0.1 because it's loopback
      [Sep 9 12:24:03.098] Server {0x2b6567f13700} DEBUG: (dns) [HttpTransact::HandleRequest] Skipping DNS lookup for 127.0.0.1 because it's loopback
      [Sep 9 12:24:13.102] Server {0x2b6568014700}

      DEBUG: (dns) [HttpTransact::HandleRequest] Skipping DNS lookup for 127.0.0.1 because it's loopback
      [Sep 9 12:24:23.105] Server

      {0x2b6568115700}

      DEBUG: (dns) [HttpTransact::HandleRequest] Skipping DNS lookup for 127.0.0.1 because it's loopback
      [Sep 9 12:24:33.109] Server

      {0x2b6566687e00}

      DEBUG: (dns) [HttpTransact::HandleRequest] Skipping DNS lookup for 127.0.0.1 because it's loopback

      Attachments

        Activity

          People

            bcall Bryan Call
            bcall Bryan Call
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: