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

Unknown host name exception when accessing VM instances via LB

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 4.1.0 M1
    • None
    • None
    • 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]"

      Attachments

        Activity

          People

            Unassigned Unassigned
            sajith Sajith
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: