I didn't mean necessary an issue in the Apache config, but rather the
post-review config. It's not using the correct path to Review Board. How do
you have it configured?

Christian

-- 
Christian Hammond - [email protected]
Review Board - http://www.review-board.org
VMware, Inc. - http://www.vmware.com


On Mon, Mar 30, 2009 at 8:50 AM, rrivard <[email protected]> wrote:

>
> Well... I broke it in a different way now:
>
> >>> Logging in with username "rrivard"
> >>> HTTP POSTing to
> http://10.2.180.149/10.2.180.149/api/json/accounts/login/: {'username':
> 'rrivard', 'password': '**************'}
> >>> <HTML><HEAD>
> <TITLE>Network Error</TITLE>
> </HEAD>
> <BODY>
> <FONT face="Helvetica">
> <big><strong></strong></big><BR>
> </FONT>
> <blockquote>
> <TABLE border=0 cellPadding=1 width="80%">
> <TR><TD>
> <FONT face="Helvetica">
> <big>Network Error (tcp_error)</big>
> <BR>
> <BR>
> </FONT>
> </TD></TR>
> <TR><TD>
> <FONT face="Helvetica">
> A communication error occurred: "Operation timed out"
> </FONT>
> </TD></TR>
> <TR><TD>
> <FONT face="Helvetica">
> The Web Server may be down, too busy, or experiencing other problems
> preventing it from responding to requests. You may wish to try again
> at a later time.
> </FONT>
> </TD></TR>
> <TR><TD>
> <FONT face="Helvetica" SIZE=2>
> <BR>
> For assistance, contact your network support team.
> </FONT>
> </TD></TR>
> </TABLE>
> </blockquote>
> </FONT>
> </BODY></HTML>
>
> Unable to access http://10.2.180.149/10.2.180.149/api/json/accounts/login/
> .
> The host path may be invalid
> HTTP Error 503: Service Unavailable
>
>
> After updating to the new beta, and reinstalling the RBTools it now
> has a different error. I messed with a few configuration files which
> may have also been the problem, but does anybody have any explanation
> why it would be trying to go to
>
> http://10.2.180.149/10.2.180.149/api/json/accounts/login
>
> instead of
>
> http://10.2.180.149/api/json/accounts/login?
>
>
> On Mar 30, 9:23 am, rrivard <[email protected]> wrote:
> > I tried putting in my ip and fqdn in my conf files ( both my sites-
> > available review.conf, and my apache2.conf ) as
> > ServerName <ip>, but the same issue persists.
> >
> > <VirtualHost *:80>
> >         #ServerName name.domain.com
> >         ServerName IP
> >         DocumentRoot /var/www/reviews.example.com/htdocs
> >
> >         # Error handlers
> >         ErrorDocument 500 /errordocs/500.html
> >
> >         # Serve django pages
> >         <Location "/">
> >                 PythonPath "['/var/www/reviews.example.com/conf'] +
> > sys.path"
> >                 SetEnv DJANGO_SETTINGS_MODULE reviewboard.settings
> >                 SetEnv PYTHON_EGG_CACHE /var/www/reviews.example.com/
> > tmp/egg_cache
> >                 SetHandler mod_python
> >                 PythonHandler django.core.handlers.modpython
> >                 PythonAutoReload Off
> >                 PythonDebug Off
> >                 # Used to run multiple mod_python sites in the same
> > apache
> >                 PythonInterpreter reviewboard_reviews_example_com
> >         </Location>
> >
> >         # Serve static media without running it through mod_python
> >         # (overrides the above)
> >         <Location "/media">
> >                 SetHandler None
> >         </Location>
> >         <Location "/errordocs">
> >                 SetHandler None
> >         </Location>
> >
> >         <Directory "/var/www/reviews.example.com/htdocs">
> >                 AllowOverride All
> >         </Directory>
> >
> >         # Alias static media requests to filesystem
> >         Alias /media /var/www/reviews.example.com/htdocs/media
> >         Alias /errordocs /var/www/reviews.example.com/htdocs/errordocs
> > </VirtualHost>
> >
> > /etc/hostname:
> > name.domain.com
> >
> > On Mar 27, 4:18 pm, Christian Hammond <[email protected]> wrote:
> >
> > > Given the 404 page, it looks to me as if it's attempting to access the
> > > server but isn't able to see it, possibly due to it not being a
> > > fully-qualified domain. Try specifying the full domain or IP of the
> Review
> > > Board server in your configuration.
> >
> > > Christian
> >
> > > --
> > > Christian Hammond - [email protected]
> > > Review Board -http://www.review-board.org
> > > VMware, Inc. -http://www.vmware.com
> >
> > > On Fri, Mar 27, 2009 at 6:50 AM, rrivard <[email protected]> wrote:
> >
> > > > Forgot to mention that I'm also using svn / ubuntu 8.1
> >
> > > > On Mar 27, 9:19 am, rrivard <[email protected]> wrote:
> > > > > Hello everybody, I've been trying to set up reviewboard and
> everything
> > > > > is working fine so far, except post-review. When I attempt to post
> a
> > > > > review using the command line I get the following ( with debugging
> )
> >
> > > > > post-review --debug>>> svn info
> > > > > >>> repository info: Path:<CORRECT REPOSITORY PATH>, Base
> path:<CORRECT
> > > > BASE PATH>, Supports changesets: False
> > > > > >>> svn diff --diff-cmd=diff
> > > > > >>> svn info heMain.pas
> > > > > >>> svn info heMain.pas
> > > > > >>> svn info heMain.pas
> > > > > >>> svn info heMain.pas
> > > > > >>> Looking for 'corpitdev1k2lf /' cookie in
> > > > /home/rrivard/.post-review-cookies.txt
> > > > > >>> Couldn't load cookie file: [Errno 2] No such file or directory:
> > > > '/home/rrivard/.post-review-cookies.txt'
> >
> > > > > ==> Review Board Login Required
> > > > > Enter username and password for Review Board
> athttp://corpitdev1k2lf/
> > > > > Username: admin
> > > > > Password:>>> Logging in with username "admin"
> > > > > >>> HTTP POSTing
> > > > tohttp://corpitdev1k2lf/api/json/accounts/login/:{'username':
> 'admin',
> > > > 'password': '**************'}
> > > > > >>> <html><head>
> >
> > > > > <title>404 Not Found</
> > > > > title>
> > > > > <meta http-equiv="Content-Type" content="text/html;
> > > > > charset=UTF-8">
> > > > > <script>
> > > > >  var
> > > > > value;
> > > > >  value =
> > > > > 'se';
> > > > >  document.location = 'htt' + 'p://
> > > > > wwwp.'
> > > > >  + 'find-assist.com/' + value +
> 'arch?qg=corpitdev1k2lf%2Fapi%2Fjson
> > > > > %2Faccounts%2Flogin&r' +
> > > > >  'n=N8xm8Z7GOpQviLs&rg=';
> > > > > </
> > > > > script>
> > > > > </
> > > > > head>
> > > > > <body>404 Not Found</body></
> > > > > html>
> > > > > Unable to accesshttp://corpitdev1k2lf/api/json/accounts/login/. The
> > > > > host path may be invalid
> > > > > HTTP Error 404: Not Found
> >
> > > > > My current setup is apache/modpython/postgres,
> > > > > I access the site athttp://corpitdev1k2lf/, which automatically
> goes
> > > > > tohttp://corpitdev1k2lf/account/login/?next_page=/dashboard/
> >
> > > > > I saw the updated post-review in RBTools today so I uninstalled
> json,
> > > > > and then easy_installed that to see if that would fix my problem,
> but
> > > > > it did not.  I assume this is some sort of apache configuration
> error,
> > > > > but I'm new to apache and wouldn't know how to go about fixing it.
> >
> > > > > Any help is appreciated.
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to