Re: post-reivew WEB API?
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 * Also tried adding this and restarting the httpd service Directory / Options FollowSymLinks AllowOverride None Order deny,allow /Directory but still getting Error creating review request: You are not logged in (HTTP 401, API Error 103) Notes : * As other people and I can log properly on the web ui using the same user/passw * using -n I can see that the diff are well formed Thanks in advance fede On Mar 9, 11:56 am, Chris Tandiono chris.tandi...@gmail.com wrote: 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 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... Christian -- 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
Re: post-reivew WEB API?
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 - http://www.reviewboard.org VMware, Inc. - http://www.vmware.com On Tue, Mar 29, 2011 at 11:08 PM, fede fede.n...@gmail.com wrote: 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 * Also tried adding this and restarting the httpd service Directory / Options FollowSymLinks AllowOverride None Order deny,allow /Directory but still getting Error creating review request: You are not logged in (HTTP 401, API Error 103) Notes : * As other people and I can log properly on the web ui using the same user/passw * using -n I can see that the diff are well formed Thanks in advance fede On Mar 9, 11:56 am, Chris Tandiono chris.tandi...@gmail.com wrote: 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 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. .. Christian -- 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
Re: post-reivew WEB API?
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 /var/www/reviewboard/rnd/htdocs 4 5 # Error handlers 6 ErrorDocument 500 /errordocs/500.html 7 8 WSGIPassAuthorization On 9 WSGIScriptAlias / /var/www/reviewboard/rnd/htdocs/ reviewboard.wsgi 10 11 Directory /var/www/reviewboard/rnd/htdocs 12 AllowOverride All 13 /Directory 14 15 # Alias static media requests to filesystem 16 Alias /media /var/www/reviewboard/rnd/htdocs/media 17 Alias /errordocs /var/www/reviewboard/rnd/htdocs/ errordocs 18 /VirtualHost We had it working before with RB 1.0.8, so we have not changed the apache conf, we just upgrade to 1.5.4 and RBTools: 0.3.1 and the post- review stop working There is no message in the httpd.erro.log when I try to submit the post-review We upgrade RB and started with a clean DB, so we did the rb-site install. This is the only error on the http/error.log But I think it is not related [error] /var/virtualenv/REVIEWBOARD-1/lib/python2.5/site-packages/ Crypto/Util/randpool.py:40: RandomPool_DeprecationWarning: This application uses RandomPool, which is BROKEN in older releases. See http://www.pycrypto.org/randpool-broken Fede On Mar 30, 5:46 pm, Christian Hammond chip...@chipx86.com wrote: 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 -http://www.reviewboard.org VMware, Inc. -http://www.vmware.com On Tue, Mar 29, 2011 at 11:08 PM, fede fede.n...@gmail.com wrote: 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 * Also tried adding this and restarting the httpd service Directory / Options FollowSymLinks AllowOverride None Order deny,allow /Directory but still getting Error creating review request: You are not logged in (HTTP 401, API Error 103) Notes : * As other people and I can log properly on the web ui using the same user/passw * using -n I can see that the diff are well formed Thanks in advance fede On Mar 9, 11:56 am, Chris Tandiono chris.tandi...@gmail.com wrote: 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 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. .. Christian -- 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 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
Re: post-reivew WEB API?
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 is meant to prevent. The web UI itself doesn't use Basic HTTP auth, which is why you're not seeing the problem there. I don't know why it's not working for you. If that's the Apache file that your main Apache config is directly including, or those contents are in the main Apache config directly, then it should be solving the problem. The only other thing at this point that I can think of is if the web server actually wasn't restarted. Can you provide the full debug log (pass --debug) on post-review, with a login attempt? Christian -- Christian Hammond - chip...@chipx86.com Review Board - http://www.reviewboard.org VMware, Inc. - http://www.vmware.com On Wed, Mar 30, 2011 at 5:08 PM, fede fede.n...@gmail.com wrote: 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 /var/www/reviewboard/rnd/htdocs 4 5 # Error handlers 6 ErrorDocument 500 /errordocs/500.html 7 8 WSGIPassAuthorization On 9 WSGIScriptAlias / /var/www/reviewboard/rnd/htdocs/ reviewboard.wsgi 10 11 Directory /var/www/reviewboard/rnd/htdocs 12 AllowOverride All 13 /Directory 14 15 # Alias static media requests to filesystem 16 Alias /media /var/www/reviewboard/rnd/htdocs/media 17 Alias /errordocs /var/www/reviewboard/rnd/htdocs/ errordocs 18 /VirtualHost We had it working before with RB 1.0.8, so we have not changed the apache conf, we just upgrade to 1.5.4 and RBTools: 0.3.1 and the post- review stop working There is no message in the httpd.erro.log when I try to submit the post-review We upgrade RB and started with a clean DB, so we did the rb-site install. This is the only error on the http/error.log But I think it is not related [error] /var/virtualenv/REVIEWBOARD-1/lib/python2.5/site-packages/ Crypto/Util/randpool.py:40: RandomPool_DeprecationWarning: This application uses RandomPool, which is BROKEN in older releases. See http://www.pycrypto.org/randpool-broken Fede On Mar 30, 5:46 pm, Christian Hammond chip...@chipx86.com wrote: 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 -http://www.reviewboard.org VMware, Inc. -http://www.vmware.com On Tue, Mar 29, 2011 at 11:08 PM, fede fede.n...@gmail.com wrote: 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 * Also tried adding this and restarting the httpd service Directory / Options FollowSymLinks AllowOverride None Order deny,allow /Directory but still getting Error creating review request: You are not logged in (HTTP 401, API Error 103) Notes : * As other people and I can log properly on the web ui using the same user/passw * using -n I can see that the diff are well formed Thanks in advance fede On Mar 9, 11:56 am, Chris Tandiono chris.tandi...@gmail.com wrote: 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 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. .. Christian -- 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 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
Re: post-reivew WEB API?
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 4 ServerName reviewboard.al.com.au 5 ServerAlias reviewboard 6 7 ServerAdmin @@ 8 DocumentRoot /var/www/reviewboard 9 10 HostNameLookups Off 11 UseCanonicalName On 12 ServerSignature On 13 14 # Alias static media requests to filesystem 15 Alias /media /var/www/reviewboard/rnd/htdocs/media 16 Alias /errordocs /var/www/reviewboard/rnd/htdocs/ errordocs 17 18 WSGIScriptAlias / /var/www/reviewboard.wsgi 19 20 Location /api 21 AuthType Basic 22 AuthName AL ReviewBoard Repositories 23 AuthBasicProvider ldap 24 AuthzLDAPAuthoritative off 25 AuthLDAPBindDN ** 26 AuthLDAPBindPassword * 27 AuthLDAPUrl ldap://ldap.al.com.au:389/ou=Active Accounts,dc=al,dc=com,dc=au?sAMAccountName?sub?(objectClass=*) 28 Require valid-user 29 /Location 30 31 Directory /var/www/reviewboard/rnd/htdocs 32 AllowOverride All 33 /Directory 34 35 /VirtualHost Here are the logs I'm getting (NOTE it is passing the GETting http://reviewboard.al.com.au/api/info/) HTTP GETting api/ == HTTP Authentication Required Enter authorization information for AL ReviewBoard Repositories at reviewboard.al.com.au Username: federicon Password: HTTP GETting http://reviewboard.al.com.au/api/info/ Using the new web API Attempting to create review request on None for None HTTP POSTing to http://reviewboard.al.com.au/api/review-requests/: {'repository': None} Got API Error 103 (HTTP code 401): You are not logged in Error data: {'stat': 'fail', 'err': {'msg': 'You are not logged in', 'code': 103}} Attempting to create review request on None for None HTTP POSTing to http://reviewboard.al.com.au/api/review-requests/: {'repository': None} Got HTTP error: 401: !DOCTYPE HTML PUBLIC -//IETF//DTD HTML 2.0//EN htmlhead title401 Authorization Required/title /headbody h1Authorization Required/h1 pThis server could not verify that you are authorized to access the document requested. Either you supplied the wrong credentials (e.g., bad password), or your browser doesn't understand how to supply the credentials required./p hr addressApache/2.2.3 (CentOS) Server at reviewboard.al.com.au Port 80/address /body/html Error creating review request: HTTP 401 Looks like Django/RB is not picking the user:passw ?? If I try a GET to this page, it is successful curl -u federicon http://reviewboard.al.com.au/api/review-requests/ Enter host password for user 'federicon': {total_results: 0, stat: ok, review_requests: [], links: {self: {href: http://reviewboard.al.com.au/api/review-requests/;, method: GET}, create: {href: http://reviewboard.al.com.au/api/ review-requests/, method: POST}}} If I try a POST I get he Your are not Logged in error curl --data sdf -u federicon http://reviewboard.al.com.au/api/review-requests/ Enter host password for user 'federicon': {stat: fail, err: {msg: You are not logged in, code: 103}} we run out of ideas in what to try On Mar 31, 11:16 am, Christian Hammond chip...@chipx86.com wrote: 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 is meant to prevent. The web UI itself doesn't use Basic HTTP auth, which is why you're not seeing the problem there. I don't know why it's not working for you. If that's the Apache file that your main Apache config is directly including, or those contents are in the main Apache config directly, then it should be solving the problem. The only other thing at this point that I can think of is if the web server actually wasn't restarted. Can you provide the full debug log (pass --debug) on post-review, with a login attempt? Christian -- Christian Hammond - chip...@chipx86.com Review Board -http://www.reviewboard.org VMware, Inc. -http://www.vmware.com On Wed, Mar 30, 2011 at 5:08 PM, fede fede.n...@gmail.com wrote: 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 /var/www/reviewboard/rnd/htdocs 4 5 # Error handlers 6
Re: post-reivew WEB API?
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 post-review --debug? Christian On Wednesday, March 30, 2011, fede fede.n...@gmail.com wrote: 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 4 ServerName reviewboard.al.com.au 5 ServerAlias reviewboard 6 7 ServerAdmin @@ 8 DocumentRoot /var/www/reviewboard 9 10 HostNameLookups Off 11 UseCanonicalName On 12 ServerSignature On 13 14 # Alias static media requests to filesystem 15 Alias /media /var/www/reviewboard/rnd/htdocs/media 16 Alias /errordocs /var/www/reviewboard/rnd/htdocs/ errordocs 17 18 WSGIScriptAlias / /var/www/reviewboard.wsgi 19 20 Location /api 21 AuthType Basic 22 AuthName AL ReviewBoard Repositories 23 AuthBasicProvider ldap 24 AuthzLDAPAuthoritative off 25 AuthLDAPBindDN ** 26 AuthLDAPBindPassword * 27 AuthLDAPUrl ldap://ldap.al.com.au:389/ou=Active Accounts,dc=al,dc=com,dc=au?sAMAccountName?sub?(objectClass=*) 28 Require valid-user 29 /Location 30 31 Directory /var/www/reviewboard/rnd/htdocs 32 AllowOverride All 33 /Directory 34 35 /VirtualHost Here are the logs I'm getting (NOTE it is passing the GETting http://reviewboard.al.com.au/api/info/) HTTP GETting api/ == HTTP Authentication Required Enter authorization information for AL ReviewBoard Repositories at reviewboard.al.com.au Username: federicon Password: HTTP GETting http://reviewboard.al.com.au/api/info/ Using the new web API Attempting to create review request on None for None HTTP POSTing to http://reviewboard.al.com.au/api/review-requests/: {'repository': None} Got API Error 103 (HTTP code 401): You are not logged in Error data: {'stat': 'fail', 'err': {'msg': 'You are not logged in', 'code': 103}} Attempting to create review request on None for None HTTP POSTing to http://reviewboard.al.com.au/api/review-requests/: {'repository': None} Got HTTP error: 401: !DOCTYPE HTML PUBLIC -//IETF//DTD HTML 2.0//EN htmlhead title401 Authorization Required/title /headbody h1Authorization Required/h1 pThis server could not verify that you are authorized to access the document requested. Either you supplied the wrong credentials (e.g., bad password), or your browser doesn't understand how to supply the credentials required./p hr addressApache/2.2.3 (CentOS) Server at reviewboard.al.com.au Port 80/address /body/html Error creating review request: HTTP 401 Looks like Django/RB is not picking the user:passw ?? If I try a GET to this page, it is successful curl -u federicon http://reviewboard.al.com.au/api/review-requests/ Enter host password for user 'federicon': {total_results: 0, stat: ok, review_requests: [], links: {self: {href: http://reviewboard.al.com.au/api/review-requests/;, method: GET}, create: {href: http://reviewboard.al.com.au/api/ review-requests/, method: POST}}} If I try a POST I get he Your are not Logged in error curl --data sdf -u federicon http://reviewboard.al.com.au/api/review-requests/ Enter host password for user 'federicon': {stat: fail, err: {msg: You are not logged in, code: 103}} we run out of ideas in what to try On Mar 31, 11:16 am, Christian Hammond chip...@chipx86.com wrote: 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 is meant to prevent. The web UI itself doesn't use Basic HTTP auth, which is why you're not seeing the problem there. I don't know why it's not working for you. If that's the Apache file that your main Apache config is directly including, or those contents are in the main Apache config directly, then it should be solving the problem. The only other thing at this point that I can think of is if the web server actually wasn't restarted. Can you provide the full debug log (pass --debug) on post-review, with a login attempt? Christian -- Christian Hammond - chip...@chipx86.com Review Board -http://www.reviewboard.org VMware, Inc.
Re: post-reivew WEB API?
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 using the one from the RB installation, but l was wrong. just with your first answer I should have had this working Thanks millions for you help. I really appreciate it Fede On Mar 31, 3:48 pm, Christian Hammond chip...@chipx86.com wrote: 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 post-review --debug? Christian On Wednesday, March 30, 2011, fede fede.n...@gmail.com wrote: Hi Christian, I'm restarting thewebserver 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 4 ServerName reviewboard.al.com.au 5 ServerAlias reviewboard 6 7 ServerAdmin @@ 8 DocumentRoot /var/www/reviewboard 9 10 HostNameLookups Off 11 UseCanonicalName On 12 ServerSignature On 13 14 # Alias static media requests to filesystem 15 Alias /media /var/www/reviewboard/rnd/htdocs/media 16 Alias /errordocs /var/www/reviewboard/rnd/htdocs/ errordocs 17 18 WSGIScriptAlias / /var/www/reviewboard.wsgi 19 20 Location /api 21 AuthType Basic 22 AuthName AL ReviewBoard Repositories 23 AuthBasicProvider ldap 24 AuthzLDAPAuthoritative off 25 AuthLDAPBindDN ** 26 AuthLDAPBindPassword * 27 AuthLDAPUrl ldap://ldap.al.com.au:389/ou=Active Accounts,dc=al,dc=com,dc=au?sAMAccountName?sub?(objectClass=*) 28 Require valid-user 29 /Location 30 31 Directory /var/www/reviewboard/rnd/htdocs 32 AllowOverride All 33 /Directory 34 35 /VirtualHost Here are the logs I'm getting (NOTE it is passing the GETting http://reviewboard.al.com.au/api/info/) HTTP GETtingapi/ == HTTP Authentication Required Enter authorization information for AL ReviewBoard Repositories at reviewboard.al.com.au Username: federicon Password: HTTP GETtinghttp://reviewboard.al.com.au/api/info/ Using the newwebAPI Attempting to create review request on None for None HTTP POSTing tohttp://reviewboard.al.com.au/api/review-requests/:{'repository': None} GotAPIError 103 (HTTP code 401): You are not logged in Error data: {'stat': 'fail', 'err': {'msg': 'You are not logged in', 'code': 103}} Attempting to create review request on None for None HTTP POSTing tohttp://reviewboard.al.com.au/api/review-requests/:{'repository': None} Got HTTP error: 401: !DOCTYPE HTML PUBLIC -//IETF//DTD HTML 2.0//EN htmlhead title401 Authorization Required/title /headbody h1Authorization Required/h1 pThis server could not verify that you are authorized to access the document requested. Either you supplied the wrong credentials (e.g., bad password), or your browser doesn't understand how to supply the credentials required./p hr addressApache/2.2.3 (CentOS) Server at reviewboard.al.com.au Port 80/address /body/html Error creating review request: HTTP 401 Looks like Django/RB is not picking the user:passw ?? If I try a GET to this page, it is successful curl -u federiconhttp://reviewboard.al.com.au/api/review-requests/ Enter host password for user 'federicon': {total_results: 0, stat: ok, review_requests: [], links: {self: {href: http://reviewboard.al.com.au/api/review-requests/;, method: GET}, create: {href: http://reviewboard.al.com.au/api/ review-requests/, method: POST}}} If I try a POST I get he Your are not Logged in error curl --data sdf -u federiconhttp://reviewboard.al.com.au/api/review-requests/ Enter host password for user 'federicon': {stat: fail, err: {msg: You are not logged in, code: 103}} we run out of ideas in what to try On Mar 31, 11:16 am, Christian Hammond chip...@chipx86.com wrote: Hi Fede, The reason it's broken now is that we've moved to using Basic HTTP auth for theAPI. 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 is meant to prevent. ThewebUI
Re: post-reivew WEB API?
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 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 using the one from the RB installation, but l was wrong. just with your first answer I should have had this working Thanks millions for you help. I really appreciate it Fede On Mar 31, 3:48 pm, Christian Hammond chip...@chipx86.com wrote: 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 post-review --debug? Christian On Wednesday, March 30, 2011, fede fede.n...@gmail.com wrote: Hi Christian, I'm restarting thewebserver 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 4 ServerName reviewboard.al.com.au 5 ServerAlias reviewboard 6 7 ServerAdmin @@ 8 DocumentRoot /var/www/reviewboard 9 10 HostNameLookups Off 11 UseCanonicalName On 12 ServerSignature On 13 14 # Alias static media requests to filesystem 15 Alias /media /var/www/reviewboard/rnd/htdocs/media 16 Alias /errordocs /var/www/reviewboard/rnd/htdocs/ errordocs 17 18 WSGIScriptAlias / /var/www/reviewboard.wsgi 19 20 Location /api 21 AuthType Basic 22 AuthName AL ReviewBoard Repositories 23 AuthBasicProvider ldap 24 AuthzLDAPAuthoritative off 25 AuthLDAPBindDN ** 26 AuthLDAPBindPassword * 27 AuthLDAPUrl ldap://ldap.al.com.au:389/ou=Active Accounts,dc=al,dc=com,dc=au?sAMAccountName?sub?(objectClass=*) 28 Require valid-user 29 /Location 30 31 Directory /var/www/reviewboard/rnd/htdocs 32 AllowOverride All 33 /Directory 34 35 /VirtualHost Here are the logs I'm getting (NOTE it is passing the GETting http://reviewboard.al.com.au/api/info/) HTTP GETtingapi/ == HTTP Authentication Required Enter authorization information for AL ReviewBoard Repositories at reviewboard.al.com.au Username: federicon Password: HTTP GETtinghttp://reviewboard.al.com.au/api/info/ Using the newwebAPI Attempting to create review request on None for None HTTP POSTing tohttp:// reviewboard.al.com.au/api/review-requests/:{'repositoryhttp://reviewboard.al.com.au/api/review-requests/:%7B%27repository': None} GotAPIError 103 (HTTP code 401): You are not logged in Error data: {'stat': 'fail', 'err': {'msg': 'You are not logged in', 'code': 103}} Attempting to create review request on None for None HTTP POSTing tohttp:// reviewboard.al.com.au/api/review-requests/:{'repositoryhttp://reviewboard.al.com.au/api/review-requests/:%7B%27repository': None} Got HTTP error: 401: !DOCTYPE HTML PUBLIC -//IETF//DTD HTML 2.0//EN htmlhead title401 Authorization Required/title /headbody h1Authorization Required/h1 pThis server could not verify that you are authorized to access the document requested. Either you supplied the wrong credentials (e.g., bad password), or your browser doesn't understand how to supply the credentials required./p hr addressApache/2.2.3 (CentOS) Server at reviewboard.al.com.au Port 80/address /body/html Error creating review request: HTTP 401 Looks like Django/RB is not picking the user:passw ?? If I try a GET to this page, it is successful curl -u federiconhttp://reviewboard.al.com.au/api/review-requests/ Enter host password for user 'federicon': {total_results: 0, stat: ok, review_requests: [], links: {self: {href: http://reviewboard.al.com.au/api/review-requests/;, method: GET}, create: {href: http://reviewboard.al.com.au/api/ review-requests/, method: POST}}} If I try a POST I get he Your are not Logged in error curl --data sdf -u federiconhttp:// reviewboard.al.com.au/api/review-requests/ Enter host password for user 'federicon': {stat: fail, err: {msg: You are not logged
Re: post-reivew WEB API?
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 RBTools 0.3.2. Since then I've upgraded to RB 1.5.4 and still see a similar problem. A few more details: *I'm running Apache/2.2.16, Django-1.2.5, Djblets-0.6.7, django_evolution-0.6.2, python 2.6, PostgreSQL 9.0.3, mod_fastcgi 2.4.7 *I modified the following in my apache config (as per http://www.mail-archive.com/reviewboard@googlegroups.com/msg03636.html): Directory / Options FollowSymLinks AllowOverride None Order deny,allow /Directory *Set 'DEBUG = True' and don't see anything interesting in the server logs *Web access to the server works fine *Checking Allow anonymous read-only access gets post-review to progress further *Looking at the wire traffic I see 3 tcp connections: 1) GET /api/ - 200 OK 2) GET /api/info/ - 401 UNAUTHORIZED 3) GET /api/info/ (with Authorization: Basic [credentials]) - 401 UNAUTHORIZED *The RB unit tests fail to run 1) Initially I got (Required Python Imaging Library). Strace showed a search for PIL.py, but PIL-1.1.7-py2.6 doesn't have such a file. I edited manage.py to remove the import check. 2) Then the database setup in the tests fails at: File /usr/lib64/python2.6/site-packages/Django-1.2.5- py2.6.egg/django/db/backends/postgresql_psycopg2/base.py, line 44, in execute return self.cursor.execute(query, args) django.db.utils.DatabaseError: no such savepoint ~Kevin On Mar 8, 3:33 am, Christian Hammond chip...@chipx86.com wrote: 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... Christian -- Christian Hammond - chip...@chipx86.com Review Board -http://www.reviewboard.org VMware, Inc. -http://www.vmware.com On Mon, Mar 7, 2011 at 10:48 AM, Chris Tandiono chris.tandi...@gmail.comwrote: Sorry to interject: I'm having the same problem, and I am indeed using mod_wsgi. Specifically, if I go tohttps://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 chip...@chipx86.com wrote: 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 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
Re: post-reivew WEB API?
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 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 -- 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
Re: post-reivew WEB API?
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 chip...@chipx86.com wrote: 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 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 chip...@chipx86.com 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 - chip...@chipx86.com Review Board -http://www.reviewboard.org VMware, Inc. -http://www.vmware.com On Fri, Jan 28, 2011 at 2:34 PM, Rohan Dhaimade halo.zer...@gmail.com 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 chip...@chipx86.com 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 halo.zer...@gmail.com 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
Re: post-reivew WEB API?
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 chip...@chipx86.com 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 - chip...@chipx86.com Review Board -http://www.reviewboard.org VMware, Inc. -http://www.vmware.com On Fri, Jan 28, 2011 at 2:34 PM, Rohan Dhaimade halo.zer...@gmail.comwrote: 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 chip...@chipx86.com 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 halo.zer...@gmail.com 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 reviewboard+unsubscr...@googlegroups.comreviewboard%2Bunsubscribe@googlegr oups.com For more options, visit this group athttp:// groups.google.com/group/reviewboard?hl=en -- -- Christian Hammond - chip...@chipx86.com Review Board -http://www.reviewboard.org VMware, Inc. -http://www.vmware.com -- Want to help the Review Board project? Donate today at
Re: post-reivew WEB API?
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 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 chip...@chipx86.com 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 - chip...@chipx86.com Review Board -http://www.reviewboard.org VMware, Inc. -http://www.vmware.com On Fri, Jan 28, 2011 at 2:34 PM, Rohan Dhaimade halo.zer...@gmail.com 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 chip...@chipx86.com 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 halo.zer...@gmail.com 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
post-reivew WEB API?
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 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
Re: post-reivew WEB API?
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 halo.zer...@gmail.com 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 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 -- -- Christian Hammond - chip...@chipx86.com 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 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
Re: post-reivew WEB API?
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 chip...@chipx86.com 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 halo.zer...@gmail.com 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 reviewboard+unsubscr...@googlegroups.com For more options, visit this group athttp://groups.google.com/group/reviewboard?hl=en -- -- Christian Hammond - chip...@chipx86.com 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 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
Re: post-reivew WEB API?
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, Rohan Dhaimade halo.zer...@gmail.comwrote: 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 chip...@chipx86.com 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 halo.zer...@gmail.com 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 reviewboard+unsubscr...@googlegroups.comreviewboard%2bunsubscr...@googlegroups.com For more options, visit this group athttp:// groups.google.com/group/reviewboard?hl=en -- -- Christian Hammond - chip...@chipx86.com 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 at http://www.reviewboard.org/users/ -~--~~~~--~~--~--~--- To unsubscribe from this group, send email to reviewboard+unsubscr...@googlegroups.comreviewboard%2bunsubscr...@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