1

I am seeing the issue in one of my web server access logs which is proxying to weblogic

...-0400] "GET /" 500 32

Can you suggest what this might mean. It is a sunone web server

1
  • 3
    Someone tried to access the root page for a domain, and got a 500 error.
    – ceejayoz
    May 10, 2012 at 20:40

2 Answers 2

1

as @ceejayoz said 500 indicates the error response code. 32 is the size of the response in bytes.

I generated an example log for the "common" format log entry that sunone uses by default;

127.0.0.1 - - [10/Ma...100] "GET /Bg.png HTTP/1.1" 200 2445 <--- correct formatted HTTP request
127.0.0.1 - - [10/Ma...100] "GET /" 200 11172   <--- HTTP/1.0 request

The example request is missing a HTTP/1.1 from the request line, so its an old style (HTTP/0.9 compatible) HTTP/1.0 request. So it unlikely to be a request from a browser. It could be a manual telnet request e.g. telnet localhost 80, or someone using wget/curl in HTTP/1.0 mode, or a http client library.

As @mgorven mentioned, its a server error, hence it is either being returned locally from the default virtual server (because thats where the HTTP/1.0 requests end up) or from the remote proxied server.

5
  • Thanks for your explanation, but would this be a 500 response from the web server to the source which was hitting, or a response that it got back from the server to which it was proxying to. May 10, 2012 at 23:47
  • the docs for sunone are not that revealing, indicating just a Server error. You can still match up the time of the log entry to the log files on the proxy-target instance, or if this is happening frequently from some host XXX then you could use tcpdump -s0 -w /tmp/hostXXX host XXX to capture the requests and inspect them fully.
    – Tom
    May 11, 2012 at 4:33
  • also, just try it and see. do telnet localhost 80 on the sunone server, and at the prompt type GET / and see what it puts in the logs
    – Tom
    May 11, 2012 at 4:33
  • An badly formatted request should return status code 400, so unless SunOne has a bug in this regard this doesn't explain what is happening.
    – mgorven
    May 13, 2012 at 0:43
  • @mgorven hmm. i just checked the rfc and it seems that a GET / request is a valid HTTP/1.0 request. So point taken about "badly formatted requests" .
    – Tom
    May 13, 2012 at 2:29
0

This means that the request failed with status code 500, which indicates that an error occurred in the server. It could have occurred in either SunOne or WebLogic, so you need to check the error logs of both to determine why it happened. (If SunOne encountered a network problem when communicating with WebLogic it should return a 502 or 504 status code, so this is an actual application error.)

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .