Uploaded image for project: 'Stratos'
  1. Stratos
  2. STRATOS-859

Unknown host name exception when accessing VM instances via LB

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 4.1.0 M1
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      "Unknown host name php106sajith.stratos.com" exception is printed in the web browser when accessing the php instance via LB.

      Even wire logs prints following information only

      TID: [0] [LB] [2014-10-01 15:41:30,199] DEBUG

      {org.apache.synapse.transport.http.wire} - >> "GET /www/ HTTP/1.1[\r][\n]"
      TID: [0] [LB] [2014-10-01 15:41:30,200] DEBUG {org.apache.synapse.transport.http.wire}

      - >> "Host: php106sajith.stratos.com[\r][\n]"
      TID: [0] [LB] [2014-10-01 15:41:30,200] DEBUG

      {org.apache.synapse.transport.http.wire} - >> "Connection: keep-alive[\r][\n]"
      TID: [0] [LB] [2014-10-01 15:41:30,200] DEBUG {org.apache.synapse.transport.http.wire}

      - >> "Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,/;q=0.8[\r][\n]"
      TID: [0] [LB] [2014-10-01 15:41:30,200] DEBUG

      {org.apache.synapse.transport.http.wire} - >> "User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2062.120 Safari/537.36[\r][\n]"
      TID: [0] [LB] [2014-10-01 15:41:30,200] DEBUG {org.apache.synapse.transport.http.wire}

      - >> "Accept-Encoding: gzip,deflate,sdch[\r][\n]"
      TID: [0] [LB] [2014-10-01 15:41:30,200] DEBUG

      {org.apache.synapse.transport.http.wire} - >> "Accept-Language: en-US,en;q=0.8[\r][\n]"
      TID: [0] [LB] [2014-10-01 15:41:30,200] DEBUG {org.apache.synapse.transport.http.wire}

      - >> "[\r][\n]"
      TID: [0] [LB] [2014-10-01 15:41:30,211] DEBUG

      {org.apache.synapse.transport.http.wire} - << "HTTP/1.1 404 Not Found[\r][\n]"
      TID: [0] [LB] [2014-10-01 15:41:30,211] DEBUG {org.apache.synapse.transport.http.wire}

      - << "Accept-Language: en-US,en;q=0.8[\r][\n]"
      TID: [0] [LB] [2014-10-01 15:41:30,211] DEBUG

      {org.apache.synapse.transport.http.wire} - << "Host: php106sajith.stratos.com[\r][\n]"
      TID: [0] [LB] [2014-10-01 15:41:30,211] DEBUG {org.apache.synapse.transport.http.wire}

      - << "Accept-Encoding: gzip,deflate,sdch[\r][\n]"
      TID: [0] [LB] [2014-10-01 15:41:30,211] DEBUG

      {org.apache.synapse.transport.http.wire} - << "Content-Type: text/html[\r][\n]"
      TID: [0] [LB] [2014-10-01 15:41:30,211] DEBUG {org.apache.synapse.transport.http.wire}

      - << "Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,/;q=0.8[\r][\n]"
      TID: [0] [LB] [2014-10-01 15:41:30,211] DEBUG

      {org.apache.synapse.transport.http.wire} - << "Date: Wed, 01 Oct 2014 10:11:30 GMT[\r][\n]"
      TID: [0] [LB] [2014-10-01 15:41:30,211] DEBUG {org.apache.synapse.transport.http.wire}

      - << "Server: WSO2-PassThrough-HTTP[\r][\n]"
      TID: [0] [LB] [2014-10-01 15:41:30,212] DEBUG

      {org.apache.synapse.transport.http.wire} - << "Transfer-Encoding: chunked[\r][\n]"
      TID: [0] [LB] [2014-10-01 15:41:30,212] DEBUG {org.apache.synapse.transport.http.wire}

      - << "Connection: keep-alive[\r][\n]"
      TID: [0] [LB] [2014-10-01 15:41:30,212] DEBUG

      {org.apache.synapse.transport.http.wire} - << "[\r][\n]"
      TID: [0] [LB] [2014-10-01 15:41:30,212] DEBUG {org.apache.synapse.transport.http.wire}

      - << "d7[\r][\n]"
      TID: [0] [LB] [2014-10-01 15:41:30,212] DEBUG

      {org.apache.synapse.transport.http.wire} - << "<?xml version="1.0" encoding="UTF-8"?><soapenv:Envelope xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope"><soapenv:Body><body>Unknown host name php106sajith.stratos.com</body></soapenv:Body></soapenv:Envelope>[\r][\n]"
      TID: [0] [LB] [2014-10-01 15:41:30,212] DEBUG {org.apache.synapse.transport.http.wire}

      - << "0[\r][\n]"
      TID: [0] [LB] [2014-10-01 15:41:30,212] DEBUG

      {org.apache.synapse.transport.http.wire} - << "[\r][\n]"
      TID: [0] [LB] [2014-10-01 15:41:30,307] DEBUG {org.apache.synapse.transport.http.wire}

      - >> "GET /favicon.ico HTTP/1.1[\r][\n]"
      TID: [0] [LB] [2014-10-01 15:41:30,308] DEBUG

      {org.apache.synapse.transport.http.wire} - >> "Host: php106sajith.stratos.com[\r][\n]"
      TID: [0] [LB] [2014-10-01 15:41:30,308] DEBUG {org.apache.synapse.transport.http.wire}

      - >> "Connection: keep-alive[\r][\n]"
      TID: [0] [LB] [2014-10-01 15:41:30,308] DEBUG

      {org.apache.synapse.transport.http.wire} - >> "Accept: /[\r][\n]"
      TID: [0] [LB] [2014-10-01 15:41:30,308] DEBUG {org.apache.synapse.transport.http.wire}

      - >> "User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2062.120 Safari/537.36[\r][\n]"
      TID: [0] [LB] [2014-10-01 15:41:30,308] DEBUG

      {org.apache.synapse.transport.http.wire} - >> "Accept-Encoding: gzip,deflate,sdch[\r][\n]"
      TID: [0] [LB] [2014-10-01 15:41:30,309] DEBUG {org.apache.synapse.transport.http.wire}

      - >> "Accept-Language: en-US,en;q=0.8[\r][\n]"
      TID: [0] [LB] [2014-10-01 15:41:30,309] DEBUG

      {org.apache.synapse.transport.http.wire} - >> "[\r][\n]"
      TID: [0] [LB] [2014-10-01 15:41:30,310] DEBUG {org.apache.synapse.transport.http.wire}

      - << "HTTP/1.1 200 OK[\r][\n]"
      TID: [0] [LB] [2014-10-01 15:41:30,310] DEBUG

      {org.apache.synapse.transport.http.wire} - << "Location: http://wso2.org/favicon.ico[\r][\n]"
      TID: [0] [LB] [2014-10-01 15:41:30,310] DEBUG {org.apache.synapse.transport.http.wire}

      - << "Date: Wed, 01 Oct 2014 10:11:30 GMT[\r][\n]"
      TID: [0] [LB] [2014-10-01 15:41:30,311] DEBUG

      {org.apache.synapse.transport.http.wire} - << "Transfer-Encoding: chunked[\r][\n]"
      TID: [0] [LB] [2014-10-01 15:41:30,311] DEBUG {org.apache.synapse.transport.http.wire}

      - << "Connection: keep-alive[\r][\n]"
      TID: [0] [LB] [2014-10-01 15:41:30,311] DEBUG

      {org.apache.synapse.transport.http.wire} - << "[\r][\n]"
      TID: [0] [LB] [2014-10-01 15:41:30,311] DEBUG {org.apache.synapse.transport.http.wire}

      - << "0[\r][\n]"
      TID: [0] [LB] [2014-10-01 15:41:30,311] DEBUG

      {org.apache.synapse.transport.http.wire}

      - << "[\r][\n]"

        Activity

        Hide
        rajkumarr Rajkumar Rajaratnam added a comment -

        Any update on this?
        This is a blocking issue for testing autoscaling containers.

        Thanks.

        Show
        rajkumarr Rajkumar Rajaratnam added a comment - Any update on this? This is a blocking issue for testing autoscaling containers. Thanks.
        Hide
        rajkumarr Rajkumar Rajaratnam added a comment - - edited

        Fixed by Imesh in df7db412d1cb0de2431e04ea96b2b9b79a8c8263

        Show
        rajkumarr Rajkumar Rajaratnam added a comment - - edited Fixed by Imesh in df7db412d1cb0de2431e04ea96b2b9b79a8c8263

          People

          • Assignee:
            Unassigned
            Reporter:
            sajith Sajith Kariyawasam
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development