Hi Peter,

Do you have Review Board hosted in a subdirectory off of a domain?

What happens if you go to http://yoururl/api/ ?

Christian

-- 
Christian Hammond - chip...@chipx86.com
Review Board - http://www.reviewboard.org
VMware, Inc. - http://www.vmware.com


On Thu, Jun 28, 2012 at 2:32 PM, Peter Konneker <pkonne...@wahoo.com> wrote:

> Seen several threads on this but no resolution.
>
> We set up reviweboard on a server and are trying to post from a different
> one with an svn server from a post-commit hook, but it's not authenticating
> in when we try to post.
>
> Here's the output when running on debug. Any help is much appreciated.
>
> Thanks!
>
> -Peter
>
> >>> RBTools 0.4.1
> >>> Home = /root
> >>> HTTP GETting api/
> >>> Got HTTP error: 404: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
> Transitional//EN"
>  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
>
>
>
> <html xmlns="http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en">
>  <head>
>   <meta http-equiv="X-UA-Compatible" content="IE=10; IE=9; IE=8; IE=7;
> IE=EDGE" />
>   <title>404 - Page Does Not Exist | Review Board</title>
>   <script type="text/javascript">
>     var AJAX_SERIAL = "1337036178";
>     var MEDIA_SERIAL = "1337036243";
>     var MEDIA_URL = "/media/";
>     var SITE_ROOT = "/";
>     var gUserAuthenticated = false;
>
>   </script>
>   <link rel="shortcut icon" type="image/x-icon"
> href="/media/rb/images/favicon.ico?1337036243" />
>   <link rel="apple-touch-icon-precomposed" type="image/png"
> href="/media/rb/images/apple-home-icon.png?1337036243" />
>   <link rel="stylesheet" type="text/css"
> href="/media/rb/css/common.css?1337036243" />
>   <!--[if lt IE 7.]>
>   <style type="text/css">
>     body {
>       behavior: url("/media/rb/js/csshover2.htc?1337036243");
>     }
>     img,
>     table.sidebyside .commentflag,
>     .box.important .box-inner {
>       behavior: url("/media/rb/js/pngfix.htc?1337036243");
>     }
>   </style>
>   <![endif]-->
>   <!--[if lt IE 8.]>
>   <link rel="stylesheet" type="text/css"
> href="/media/rb/css/ie_hacks.css?1337036243"></script>
>   <![endif]-->
> <script type="text/javascript"
> src="/media/rb/js/jquery-1.3.2.min.js"></script>
>
>  </head>
>  <body>
>   <div id="container">
>    <div id="headerbar">
>     <ul id="accountnav">
>      <li><a href="/account/login/?next_page=/192.168.0.55/api/">Log
> in</a></li>
>
>
>      <li>- <a href="/account/register/">Register</a></li>
>
>      <li>- <a href="http://www.reviewboard.org/docs/manual/1.6/
> ">Documentation</a></li>
>      <li>- <a href="http://www.reviewboard.org/bugs/";>Bugs</a></li>
>      <li>- <a href="http://www.reviewboard.org/bugs/new/";>Report
> bug</a></li>
>     </ul>
>     <br />
>     <div id="rbinfo">
>      <a href="/"><img id="logo" src="/media/rb/images/logo.png?1337036243"
> alt="" border="0" /></a>
>      <h1 id="title">
>   <a href="/">Review Board</a>
>   <span class="version">1.6.6</span>
>  </h1>
>     </div>
>    </div>
>    <div id="page-container">
>
>
>      <div id="navbar-outer">
>       <ul id="navbar">
>        <li><a href="/r/">All review requests</a></li>
>        <li><a href="/groups/">Groups</a></li>
>        <li><a href="/users/">Submitters</a></li>
>        <li id="searchbar">
>        <input type="text" name="q" id="search_field"  />
>
>        </li>
>       </ul>
>      </div>
>
>
>
>     <noscript>
> <div class="box-container">
>  <div class="box important">
>   <div class="box-inner">
>      <h1>JavaScript is turned off</h1>
>      <p>Review Board requires JavaScript in order to function.
>      Please turn it on in your browser preferences.
>      <p>Firefox users: if you prefer to turn on JavaScript only
>      for specific sites, we recommend the
>      <a href="https://addons.mozilla.org/en-US/firefox/addon/722";>NoScript
>      extension</a>.</p>
>   </div>
>  </div>
> </div>
>     </noscript>
>     <div id="error"></div>
>     <div id="content">
> <div class="box-container">
>  <div class="box important">
>   <div class="box-inner">
> <h1>The page you were looking for does not exist.</h1>
> <p>
>  If you're pretty sure this page <i>does</i> exist, try
>  <a href="/account/login/">logging in</a> and trying again.
> </p>
>   </div>
>  </div>
> </div>
>
>     </div>
>    </div>
>   </div>
>   <script type="text/javascript"
> src="/media/rb/js/jquery-ui-1.6rc5.min.js"></script>
>   <script type="text/javascript"
> src="/media/rb/js/datastore.js?1337036243"></script>
>   <script type="text/javascript"
> src="/media/djblets/js/jquery.gravy.js?1337036243"></script>
>   <script type="text/javascript"
> src="/media/rb/js/ui.autocomplete.min.js?1337036243"></script>
>   <script type="text/javascript"
> src="/media/rb/js/common.js?1337036243"></script>
>  </body>
> </html>
> >>> Using the deprecated Review Board 1.0 web API
> ==> Review Board Login Required
> Enter username and password for Review Board at 192.168.0.55/
> >>> Logging in with username "rbcommit"
> >>> HTTP POSTing to
> http://192.168.0.55/192.168.0.55/api/json/accounts/login/: {'username':
> 'rbcommit', 'password': '**************'}
> >>> Got HTTP error: 404: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
> Transitional//EN"
>  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
>
>
>
> <html xmlns="http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en">
>  <head>
>   <meta http-equiv="X-UA-Compatible" content="IE=10; IE=9; IE=8; IE=7;
> IE=EDGE" />
>   <title>404 - Page Does Not Exist | Review Board</title>
>   <script type="text/javascript">
>     var AJAX_SERIAL = "1337036178";
>     var MEDIA_SERIAL = "1337036243";
>     var MEDIA_URL = "/media/";
>     var SITE_ROOT = "/";
>     var gUserAuthenticated = false;
>
>   </script>
>   <link rel="shortcut icon" type="image/x-icon"
> href="/media/rb/images/favicon.ico?1337036243" />
>   <link rel="apple-touch-icon-precomposed" type="image/png"
> href="/media/rb/images/apple-home-icon.png?1337036243" />
>   <link rel="stylesheet" type="text/css"
> href="/media/rb/css/common.css?1337036243" />
>   <!--[if lt IE 7.]>
>   <style type="text/css">
>     body {
>       behavior: url("/media/rb/js/csshover2.htc?1337036243");
>     }
>     img,
>     table.sidebyside .commentflag,
>     .box.important .box-inner {
>       behavior: url("/media/rb/js/pngfix.htc?1337036243");
>     }
>   </style>
>   <![endif]-->
>   <!--[if lt IE 8.]>
>   <link rel="stylesheet" type="text/css"
> href="/media/rb/css/ie_hacks.css?1337036243"></script>
>   <![endif]-->
> <script type="text/javascript"
> src="/media/rb/js/jquery-1.3.2.min.js"></script>
>
>  </head>
>  <body>
>   <div id="container">
>    <div id="headerbar">
>     <ul id="accountnav">
>      <li><a href="/account/login/?next_page=/
> 192.168.0.55/api/json/accounts/login/">Log in</a></li>
>
>
>      <li>- <a href="/account/register/">Register</a></li>
>
>      <li>- <a href="http://www.reviewboard.org/docs/manual/1.6/
> ">Documentation</a></li>
>      <li>- <a href="http://www.reviewboard.org/bugs/";>Bugs</a></li>
>      <li>- <a href="http://www.reviewboard.org/bugs/new/";>Report
> bug</a></li>
>     </ul>
>     <br />
>     <div id="rbinfo">
>      <a href="/"><img id="logo" src="/media/rb/images/logo.png?1337036243"
> alt="" border="0" /></a>
>      <h1 id="title">
>   <a href="/">Review Board</a>
>   <span class="version">1.6.6</span>
>  </h1>
>     </div>
>    </div>
>    <div id="page-container">
>
>
>      <div id="navbar-outer">
>       <ul id="navbar">
>        <li><a href="/r/">All review requests</a></li>
>        <li><a href="/groups/">Groups</a></li>
>        <li><a href="/users/">Submitters</a></li>
>        <li id="searchbar">
>        <input type="text" name="q" id="search_field"  />
>
>        </li>
>       </ul>
>      </div>
>
>
>
>     <noscript>
> <div class="box-container">
>  <div class="box important">
>   <div class="box-inner">
>      <h1>JavaScript is turned off</h1>
>      <p>Review Board requires JavaScript in order to function.
>      Please turn it on in your browser preferences.
>      <p>Firefox users: if you prefer to turn on JavaScript only
>      for specific sites, we recommend the
>      <a href="https://addons.mozilla.org/en-US/firefox/addon/722";>NoScript
>      extension</a>.</p>
>   </div>
>  </div>
> </div>
>     </noscript>
>     <div id="error"></div>
>     <div id="content">
> <div class="box-container">
>  <div class="box important">
>   <div class="box-inner">
> <h1>The page you were looking for does not exist.</h1>
> <p>
>  If you're pretty sure this page <i>does</i> exist, try
>  <a href="/account/login/">logging in</a> and trying again.
> </p>
>   </div>
>  </div>
> </div>
>
>     </div>
>    </div>
>   </div>
>   <script type="text/javascript"
> src="/media/rb/js/jquery-ui-1.6rc5.min.js"></script>
>   <script type="text/javascript"
> src="/media/rb/js/datastore.js?1337036243"></script>
>   <script type="text/javascript"
> src="/media/djblets/js/jquery.gravy.js?1337036243"></script>
>   <script type="text/javascript"
> src="/media/rb/js/ui.autocomplete.min.js?1337036243"></script>
>   <script type="text/javascript"
> src="/media/rb/js/common.js?1337036243"></script>
>  </body>
> </html>
> Unable to log in: HTTP 404
>
>
>
>  --
> Want to help the Review Board project? Donate today at
> http://www.reviewboard.org/donate/
> Happy user? Let us know at http://www.reviewboard.org/users/
> -~----------~----~----~----~------~----~------~--~---
> To unsubscribe from this group, send email to
> reviewboard+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/reviewboard?hl=en

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~----------~----~----~----~------~----~------~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en

Reply via email to