1 Reply Latest reply on Dec 3, 2005 4:56 PM by starksm64

    HTTP 1.1 Not Supported?

    orbwave

      Our production guys recently reported that their load balancer was not properly moving requests between our servers and it was discovered that when it was pinging the web server, the following reponse was received:

      HTTP/1.1 505 HTTP Version Not Supported
      Date: Wed, 30 Nov 2005 15:25:02 GMT
      Server: Apache-Coyote/1.1
      Connection: close
      


      I have verified that I also get this reponse from my local development machine by connecting via telnet and requesting GET / HTTP/1.1

      We're running JBoss 4.0.1 SP1

      In the logs, I see messages such as...

      INFO 2005-11-30 10:24:09,791 [org.apache.coyote.http11.Http11Protocol] Initializing Coyote HTTP/1.1 on http-0.0.0.0-80
      


      So I simply assumed that HTTP/1.1 was supported. Is this not the case?

        • 1. Re: HTTP 1.1 Not Supported?
          starksm64

          HTTP 1.1 is supported.

          [starksm@banshee9100 ~]$ wget -d http://localhost:8080/
          DEBUG output created by Wget 1.10.2 on cygwin.
          
          --13:52:27-- http://localhost:8080/
           => `index.html'
          Resolving localhost... 127.0.0.1
          Caching localhost => 127.0.0.1
          Connecting to localhost|127.0.0.1|:8080... connected.
          Created socket 3.
          Releasing 0x10010ba0 (new refcount 1).
          
          ---request begin---
          GET / HTTP/1.0
          User-Agent: Wget/1.10.2
          Accept: */*
          Host: localhost:8080
          Connection: Keep-Alive
          
          ---request end---
          HTTP request sent, awaiting response...
          ---response begin---
          HTTP/1.1 200 OK
          X-Powered-By: Servlet 2.4; Tomcat-5.0.28/JBoss-4.0.1sp1 (build: CVSTag=JBoss_4_0_1_SP1 date=200502160314)
          ETag: W/"1472-1108552896000"
          Last-Modified: Wed, 16 Feb 2005 11:21:36 GMT
          Content-Type: text/html
          Content-Length: 1472
          Date: Sat, 03 Dec 2005 21:52:27 GMT
          Server: Apache-Coyote/1.1
          Connection: Keep-Alive
          
          ---response end---
          200 OK
          Registered socket 3 for persistent reuse.
          Length: 1,472 (1.4K) [text/html]
          
          100%[====================================>] 1,472 --.--K/s
          
          13:52:27 (9.85 MB/s) - `index.html' saved [1472/1472]
          


          I doubt your talking to a jboss-4.0.1SP1 instance given the lack of the X-Powered-By shown above.