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

Reverse proxy doesn't work

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • None
    • 2.1.3
    • Core
    • None

    Description

      Reverse proxy no longer works in ATS, it seems that it tries to proxy back to itself instead of the destination host. I see

      [Sep 3 12:36:17.745] Server

      {140386788771600} DEBUG: (http) [0] State Transition: CACHE_ISSUE_WRITE -> ORIGIN_SERVER_OPEN
      [Sep 3 12:36:17.745] Server {140386788771600}

      DEBUG: (http_track) entered inside do_http_server_open
      [Sep 3 12:36:17.745] Server

      {140386788771600} DEBUG: (http) [0] open connection to loki.ogre.com: 192.168.201.14
      [Sep 3 12:36:17.745] Server {140386788771600}

      DEBUG: (http_seq) [HttpSM::do_http_server_open] Sending request to server
      [Sep 3 12:36:17.745] Server

      {140386788771600} DEBUG: (http) calling netProcessor.connect_re
      [Sep 3 12:36:17.745] Server {140386788771600}

      DEBUG: (http) [0] [HttpSM::main_handler, NET_EVENT_OPEN]
      [Sep 3 12:36:17.745] Server

      {140386726496016}

      DEBUG: (http_tproxy) Marking accepted connect on 32f81e0 as not outbound transparent.
      [Sep 3 12:36:17.745] Server

      {140386788771600} DEBUG: (http_track) entered inside state_http_server_open
      [Sep 3 12:36:17.745] Server {140386788771600}

      DEBUG: (http) [0] [&HttpSM::state_http_server_open, NET_EVENT_OPEN]

      when I expect something like the below (the origin server, RHS of remap.config rule, is www.theorigin.com):

      [Sep 3 12:37:55.805] Server

      {140243282487056} DEBUG: (http) [0] State Transition: CACHE_ISSUE_WRITE -> ORIGIN_SERVER_OPEN
      [Sep 3 12:37:55.805] Server {140243282487056}

      DEBUG: (http_track) entered inside do_http_server_open
      [Sep 3 12:37:55.805] Server

      {140243282487056} DEBUG: (http) [0] open connection to l.yimg.com: 68.142.250.160
      [Sep 3 12:37:55.805] Server {140243282487056}

      DEBUG: (http_seq) [HttpSM::do_http_server_open] Sending request to server
      [Sep 3 12:37:55.805] Server

      {140243282487056} DEBUG: (http) calling netProcessor.connect_re
      [Sep 3 12:37:55.842] Server {140243282487056}

      DEBUG: (http) [0] [HttpSM::main_handler, NET_EVENT_OPEN]
      [Sep 3 12:37:55.842] Server

      {140243282487056} DEBUG: (http_track) entered inside state_http_server_open
      [Sep 3 12:37:55.842] Server {140243282487056}

      DEBUG: (http) [0] [&HttpSM::state_http_server_open, NET_EVENT_OPEN]
      [Sep 3 12:37:55.842] Server

      {140243282487056} DEBUG: (http_ss) [0] session born, netvc 0x7f8cd8012f40
      [Sep 3 12:37:55.842] Server {140243282487056}

      DEBUG: (http) [0] [HttpSM::main_handler, VC_EVENT_WRITE_COMPLETE]
      [Sep 3 12:37:55.842] Server

      {140243282487056}

      DEBUG: (http) [0] [&HttpSM::state_send_server_request_header, VC_EVENT_WRITE_COMPLETE]

      Attachments

        Activity

          People

            amc Alan M. Carroll
            zwoop Leif Hedstrom
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: