Debugging 404 error

Message boards : Server programs : Debugging 404 error
Message board moderation

To post messages, you must log in.

AuthorMessage
ryeterrell

Send message
Joined: 25 Aug 09
Posts: 23
United States
Message 27033 - Posted: 3 Sep 2009, 15:46:42 UTC

I'm hosting a project on one of our servers and am having trouble with my clients connecting. The root of the problem appears to be a 404 error from my server when they try to connect to the project. Here's the log with http_debug enabled:



Thu 03 Sep 2009 10:33:55 AM CDT|foobar|Sending schxxxler request: Project initialization.  Requesting 1 seconds of work, reporting 0 completed tasks
Thu 03 Sep 2009 10:33:55 AM CDT||[http_debug] HTTP_OP::init_post(): http://xxx.xxx.xxx.xxx/foobar/foobar_cgi/cgi
Thu 03 Sep 2009 10:33:56 AM CDT||[http_debug] [ID#0] info: About to connect() to xxx.xxx.xxx.xxx port 80 (#0)
Thu 03 Sep 2009 10:33:56 AM CDT||[http_debug] [ID#0] info:   Trying xxx.xxx.xxx.xxx... 
Thu 03 Sep 2009 10:33:56 AM CDT||[http_debug] [ID#0] info: connected
Thu 03 Sep 2009 10:33:56 AM CDT||[http_debug] [ID#0] info: Connected to xxx.xxx.xxx.xxx (xxx.xxx.xxx.xxx) port 80 (#0)
Thu 03 Sep 2009 10:33:56 AM CDT||[http_debug] [ID#0] Sent header to server: POST /foobar/foobar_cgi/cgi HTTP/1.1
User-Agent: BOINC client (x86_64-pc-linux-gnu 5.10.45)
Host: xxx.xxx.xxx.xxx
Accept: */*
Accept-Encoding: deflate, gzip
Content-Type: application/x-www-form-urlencoded
Content-Length: 3858
Expect: 100-continue

Thu 03 Sep 2009 10:33:56 AM CDT||[http_debug] [ID#0] Received header from server: HTTP/1.1 100 Continue
Thu 03 Sep 2009 10:33:56 AM CDT||[http_debug] [ID#0] info: Expire cleared
Thu 03 Sep 2009 10:33:56 AM CDT||[http_debug] [ID#0] Received header from server: HTTP/1.1 404 Not Found
Thu 03 Sep 2009 10:33:56 AM CDT||[http_debug] [ID#0] Received header from server: Date: Thu, 03 Sep 2009 15:33:56 GMT
Thu 03 Sep 2009 10:33:56 AM CDT||[http_debug] [ID#0] Received header from server: Server: Apache/2.2.8 (Ubuntu) PHP/5.2.4-2ubuntu5.7 with Suhosin-Patch
Thu 03 Sep 2009 10:33:56 AM CDT||[http_debug] [ID#0] Received header from server: Content-Length: 337
Thu 03 Sep 2009 10:33:56 AM CDT||[http_debug] [ID#0] Received header from server: Content-Type: text/html; charset=iso-8859-1
Thu 03 Sep 2009 10:33:56 AM CDT||[http_debug] [ID#0] Received header from server: 
Thu 03 Sep 2009 10:33:56 AM CDT||[http_debug] [ID#0] info: Connection #0 to host xxx.xxx.xxx.xxx left intact
Thu 03 Sep 2009 10:34:00 AM CDT|foobar|Schxxxler request failed: HTTP file not found


I've xxx'ed out the location information of the server because I have not secured it. (I appear to have xxx'ed 'edu' in 'Scheduler', too, so that's not a bug)

If anyone could give me some idea of what might be causing this, I'd be much obliged. Wild speculation is just fine; I'm all out of ideas at the moment.

Thanks again for any help!

-Rye
ID: 27033 · Report as offensive
ryeterrell

Send message
Joined: 25 Aug 09
Posts: 23
United States
Message 27034 - Posted: 3 Sep 2009, 18:05:06 UTC - in response to Message 27033.  

For some reason, the client is trying to query http://xxx.xxx.xxx.xxx/foobar/foobar_cgi/cgi instead of http://xxx.xxx.xxx.xxx/foobar_cgi/cgi. I've looked at the configuration files I'm aware of and don't see where I've messed it up. Anyone have an idea?

Thanks!

-Rye
ID: 27034 · Report as offensive
ryeterrell

Send message
Joined: 25 Aug 09
Posts: 23
United States
Message 27035 - Posted: 3 Sep 2009, 19:11:37 UTC - in response to Message 27034.  

Problem solved: I had added the project name to the --url_base option when I called the make_project script.
ID: 27035 · Report as offensive

Message boards : Server programs : Debugging 404 error

Copyright © 2024 University of California.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.