Re: rbt post API Error HTTP 400 on new ReviewBoard 2.0.2 instance (Perforce repository)

2014-06-29 Thread David Trowbridge
Glad you figured it out! ALLOWED_HOSTS is a relatively new requirement in
django, so we're not yet familiar with all of its impact.

-David


On Sun, Jun 29, 2014 at 8:21 AM, Stephen  wrote:

>
> I did some more digging and it seems the
> /var/www/rbsite2/conf/settings_local.py needs to be updated to add all the
> host names expected to be used with rbtools and the browsers in the
> ALLOWED_HOSTS setting. I have now added the hostname and fully qualified
> domain name in this setting and I no longer see bad request.
>
> Stephen.
>
>
>  --
> Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
> ---
> Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
> ---
> Happy user? Let us know at http://www.reviewboard.org/users/
> ---
> You received this message because you are subscribed to the Google Groups
> "reviewboard" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to reviewboard+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: rbt post API Error HTTP 400 on new ReviewBoard 2.0.2 instance (Perforce repository)

2014-06-29 Thread Stephen

I did some more digging and it seems the 
/var/www/rbsite2/conf/settings_local.py needs to be updated to add all the 
host names expected to be used with rbtools and the browsers in the 
ALLOWED_HOSTS setting. I have now added the hostname and fully qualified 
domain name in this setting and I no longer see bad request.

Stephen.


-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: rbt post API Error HTTP 400 on new ReviewBoard 2.0.2 instance (Perforce repository)

2014-06-28 Thread Stephen

David,

I get a "Bad Request (400)" response to the curl command.
Any ideas? I think it must be my apache2 setup. 
Acccess to the RB 2.0.2 server via a browser into a normal or admin user 
account is fine.

Stephen.

-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: rbt post API Error HTTP 400 on new ReviewBoard 2.0.2 instance (Perforce repository)

2014-06-27 Thread David Trowbridge
Stephen,

Can you run `curl http://srv-team-web2.kl.imgtec.org/rbsite2/api/` and see
what the resulting page looks like? The API root should never give a 400
error.

-David

-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.