Re: post-reivew WEB API?

2011-03-30 Thread fede
Hi I'm facing a similar problem but I can not solve it with the fixes given above, is there something else I can try ? * Review Board: 1.5.4 * RBTools: 0.3.1 * SCM tool: Clearcase * I'm using mod_wsgi * I have the following setting on the conf/apache-wsgi.conf WSGIPassAuthorization On *

Re: post-reivew WEB API?

2011-03-30 Thread Christian Hammond
Hi, Just to be sure, is your Apache configuration directly including our conf/apache-wsgi.conf? Or did you copy the contents of that file elsewhere when setting up the server? What authentication backend are you using? Christian -- Christian Hammond - chip...@chipx86.com Review Board -

Re: post-reivew WEB API?

2011-03-30 Thread fede
Hi Christian, Thanks for your pormpt response, We are using LDAP, and it is working fine from the WEB UI (as before) Yes i'm including it directly, the apache-wsgi.conf, it looks like this 1 VirtualHost *:80 2 ServerName reviewboard.al.com.au 3 DocumentRoot

Re: post-reivew WEB API?

2011-03-30 Thread Christian Hammond
Hi Fede, The reason it's broken now is that we've moved to using Basic HTTP auth for the API. This is a standard protocol, and things have supported it forever, but wsgi (and fastcgi) by default actually specifically filter out any Authorization headers related to it. That's what that directive

Re: post-reivew WEB API?

2011-03-30 Thread fede
Hi Christian, I'm restarting the web server every time I do any change, and checking the httpd/error.logs to make sure it is restarted We added ldap to the apache conf., we are close but not there yet Here is the configuration, maybe you can spot something wrong 3 VirtualHost *:80

Re: post-reivew WEB API?

2011-03-30 Thread Christian Hammond
Hi, You actually shouldn't have any ldap or auth configuration in your Apache config. The wsgi directive you were using, though, is absolutely required. The reason is that we need Django and Review Board to handle all auth attempts. Can you go back to the prior configuration and rerun

Re: post-reivew WEB API?

2011-03-30 Thread fede
Hi Christian, You were right all along . I deleted the ldap bit and make sure that we have WSGIPassAuthorization On on the apache conf file we are using and now everything is working Previously I got confused because we had 2 apache conf files , and I thought we were

Re: post-reivew WEB API?

2011-03-30 Thread Christian Hammond
Not a problem. Glad it works :) Christian -- Christian Hammond - chip...@chipx86.com Review Board - http://www.reviewboard.org VMware, Inc. - http://www.vmware.com On Wed, Mar 30, 2011 at 10:42 PM, fede fede.n...@gmail.com wrote: Hi Christian, You were right all along . I

Re: post-reivew WEB API?

2011-03-08 Thread Kevin
I'm also seeing a similar problem and might have a few more details to add. Please let me know if there is anything else I can try to help debug this issue. I'm not a web guru, have no experience with Django, and am running short on things to try. Originally I had the problem with RB 1.5.3.1 and

Re: post-reivew WEB API?

2011-03-08 Thread Chris Tandiono
Oh huh, that seems like that'd be it. I couldn't try it earlier (building flooded, power was out, then drive in the RAID started to flake) but that worked perfectly. Thanks. Chris On Tue, 08 Mar 2011 01:33:07 -0800, Christian Hammond chip...@chipx86.com wrote: Hi Chris, Assuming your

Re: post-reivew WEB API?

2011-03-07 Thread Chris Tandiono
Sorry to interject: I'm having the same problem, and I am indeed using mod_wsgi. Specifically, if I go to https://wherever/rb/api/info/ I'm given the standard Basic Auth box by my browser, and nothing I type in there works... Thanks, Chris On Mar 5, 12:55 am, Christian Hammond

Re: post-reivew WEB API?

2011-03-05 Thread Kevin
Thanks for reviewboard! I am actually having the same issue it seems, did we find a resolution? Thanks a lot! I am using RB 1.5.4 and RBTools 0.3.2, and mercurial 1.8. # post-review --debug RBTools 0.3.2 Home = /Volumes/Home svn info git rev-parse --git-dir hg showconfig hg root hg svn

Re: post-reivew WEB API?

2011-03-05 Thread Christian Hammond
Hi Kevin, Are you using mod_wsgi on the server? Christian -- Christian Hammond - chip...@chipx86.com Review Board - http://www.reviewboard.org VMware, Inc. - http://www.vmware.com On Fri, Mar 4, 2011 at 11:28 PM, Kevin kevin.quennes...@gmail.com wrote: Thanks for reviewboard! I am

post-reivew WEB API?

2011-01-28 Thread Rohan Dhaimade
I'm a little confused on what this message means. Whenever I try to do post-review. I get this message Enter username and password for Web API at reviewboard.companyname.com But it doesn't seem to be any user that I know of What is WEB API? I couldn't find anything in the docs. Did I install

Re: post-reivew WEB API?

2011-01-28 Thread Christian Hammond
The message needs to be more clear, but it's like this for legacy reasons... Anyhow, you should be using your standard username and password for Review Board. If it's not working with your standard account, can you tell me what version of Review Board and RBTools you're using (including whether

Re: post-reivew WEB API?

2011-01-28 Thread Rohan Dhaimade
Well. I first logged in with my current information. But then it asked for this immediately. The full flow is this I run post-review == Review Board Login Required Enter username and password for Review Board at http://reviewboard.indinerocorp.com/ Username: rohan password: Then it asks ==

Re: post-reivew WEB API?

2011-01-28 Thread Christian Hammond
Is this exactly 1.5.0? And is it the RBTools 0.2 release, or a nightly? Can you try with --debug and e-mail me the output? Christian -- Christian Hammond - chip...@chipx86.com Review Board - http://www.reviewboard.org VMware, Inc. - http://www.vmware.com On Fri, Jan 28, 2011 at 2:34 PM,