Hi Chris, Assuming your install is from before RB 1.5.2, you need to make a small change to your Apache configuration.
Try: http://www.reviewboard.org/docs/manual/dev/faq/#i-m-using-post-review-or-a-third-party-program-with-review-board-on-wsgi-and-can-t-log-in Christian -- Christian Hammond - [email protected] Review Board - http://www.reviewboard.org VMware, Inc. - http://www.vmware.com On Mon, Mar 7, 2011 at 10:48 AM, Chris Tandiono <[email protected]>wrote: > 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 <[email protected]> wrote: > > Hi Kevin, > > > > Are you using mod_wsgi on the server? > > > > Christian > > > > -- > > Christian Hammond - [email protected] > > Review Board -http://www.reviewboard.org > > VMware, Inc. -http://www.vmware.com > > > > > > > > > > > > > > > > On Fri, Mar 4, 2011 at 11:28 PM, Kevin <[email protected]> > wrote: > > > 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 info > > > >>> Using candidate path 'default': 'THE_HG_REP' > > > >>> repository info: Path: THE_HG_REP, Base path: , Supports > changesets: > > > False > > > >>> HTTP GETting api/ > > > >>> HTTP GETting THE_RB_SERVER.CORP.COM/api/info/ > > > >>> Using the new web API > > > >>> hg branch > > > >>> hg -q outgoing --template b:{branches} > > > r:{rev} > > > > > default > > > >>> Found outgoing changeset 53 for branch 'default' > > > >>> Found outgoing changeset 54 for branch 'default' > > > >>> hg diff -r 52 -r 54 > > > >>> Attempting to create review request on THE_HG_REP for None > > > >>> HTTP POSTing to THE_RB_SERVER.CORP.COM/api/review-requests/: > > > {'repository': 'THE_HG_REP'} > > > ==> HTTP Authentication Required > > > Enter authorization information for "Web API" at > > > THE_RB_SERVER.CORP.COM > > > Username: THE_USERNAME > > > Password: THE_PASSWORD > > > >>> Got API Error 103 (HTTP code 401): You are not logged in > > > >>> Error data: {u'stat': u'fail', u'err': {u'msg': u'You are not > logged > > > in', u'code': 103}} > > > >>> Attempting to create review request on THE_HG_REP for None > > > >>> HTTP POSTing to THE_RB_SERVER.CORP.COM/api/review-requests/: > > > {'repository': 'THE_HG_REP'} > > > >>> Got API Error 103 (HTTP code 401): You are not logged in > > > >>> Error data: {u'stat': u'fail', u'err': {u'msg': u'You are not > logged > > > in', u'code': 103}} > > > >>> Attempting to create review request on THE_HG_REP for None > > > >>> HTTP POSTing to THE_RB_SERVER.CORP.COM/api/review-requests/: > > > {'repository': 'THE_HG_REP'} > > > >>> Got API Error 103 (HTTP code 401): You are not logged in > > > >>> Error data: {u'stat': u'fail', u'err': {u'msg': u'You are not > logged > > > in', u'code': 103}} > > > >>> Attempting to create review request on THE_HG_REP for None > > > >>> HTTP POSTing to THE_RB_SERVER.CORP.COM/api/review-requests/: > > > {'repository': 'THE_HG_REP'} > > > >>> Got API Error 103 (HTTP code 401): You are not logged in > > > >>> Error data: {u'stat': u'fail', u'err': {u'msg': u'You are not > logged > > > in', u'code': 103}} > > > Error creating review request: You are not logged in > > > > > Also it seems the .post-review-cookies.txt doesn't get set: > > > # cat ~/.post-review-cookies.txt > > > # Netscape HTTP Cookie File > > > #http://www.netscape.com/newsref/std/cookie_spec.html > > > # This is a generated file! Do not edit. > > > > > All works fine from the web ui. > > > > > Thanks a lot for the help. > > > > > Kevin > > > > > On Jan 28, 3:02 pm, Christian Hammond <[email protected]> wrote: > > > > 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 - [email protected] > > > > Review Board -http://www.reviewboard.org > > > > VMware, Inc. -http://www.vmware.com > > > > > > On Fri, Jan 28, 2011 at 2:34 PM, Rohan Dhaimade < > [email protected] > > > >wrote: > > > > > > > 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 > > > > > ==> HTTP Authentication Required > > > > > Enter username and password for "Web API" at > > > > > reviewboard.indinerocorp.com > > > > > Username: > > > > > > > The weird thing is here is that even if I type in my username > wrong, I > > > > > still get the second prompt. > > > > > > > I am running ReviewBoard 1.5 > > > > > RGB Tools 0.2 > > > > > > > On Jan 28, 3:26 am, Christian Hammond <[email protected]> wrote: > > > > > > 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 it's Git/nightly build)? > > > > > > > > Christian > > > > > > > > On Thursday, January 27, 2011, Rohan Dhaimade < > [email protected] > > > > > > > wrote: > > > > > > > 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 post-review > > > wrong? > > > > > > > > > Any help would be appreciated, > > > > > > > > > Thanks, > > > > > > > > > Rohan > > > > > > > > > -- > > > > > > > Want to help the Review Board project? Donate today athttp:// > > > > >www.reviewboard.org/donate/ > > > > > > > Happy user? Let us know athttp://www.reviewboard.org/users/ > > > > > > > -~----------~----~----~----~------~----~------~--~--- > > > > > > > To unsubscribe from this group, send email to > > > > > [email protected] > > > <reviewboard%2Bunsubscribe@googlegr oups.com> > > > > > > > For more options, visit this group athttp:// > > > > > groups.google.com/group/reviewboard?hl=en > > > > > > > > -- > > > > > > -- > > > > > > Christian Hammond - [email protected] > > > > > > Review Board -http://www.reviewboard.org > > > > > > VMware, Inc. -http://www.vmware.com > > > > > > > -- > > > > > Want to help the Review Board project? Donate today at > > > > >http://www.reviewboard.org/donate/ > > > > > Happy user? Let us know athttp://www.reviewboard.org/users/ > > > > > -~----------~----~----~----~------~----~------~--~--- > > > > > To unsubscribe from this group, send email to > > > > > [email protected] > > > <reviewboard%2Bunsubscribe@googlegr oups.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 athttp://www.reviewboard.org/users/ > > > -~----------~----~----~----~------~----~------~--~--- > > > 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 > > -- > 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 > [email protected] > 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 [email protected] For more options, visit this group at http://groups.google.com/group/reviewboard?hl=en
