I figured out what I was doing wrong. I was using the local IP address
to log on to the site. But in the config I actually had another
setting for gitourious_host. Using the right address when accessing
gitorious solved it.

On Apr 1, 12:53 pm, moleculezz <[email protected]> wrote:
> I am having the same issue here. Also running debian 6.0.
>
> When trying to login as administrator for the first time I get the
> same problem.
> I did set a random value for cookie_secret using apg.
>
> On Mar 21, 4:42 pm, Marius Mårnes Mathiesen
>
>
>
>
>
>
>
> <[email protected]> wrote:
> > On Fri, Mar 18, 2011 at 3:46 PM, Philip <[email protected]> wrote:
> > > Hello,
> > > I'm trying to setup a gitorious server in our network using a OpenVZ
> > > VE with debian 6.0 x64.
>
> > > I followedhttp://gitorious.org/gitorious/pages/DebianSqueezeInstallation
> > > but when I tried to login i get a 500 error and the production.log
> > > shows the following error:
>
> > > ActionController::InvalidAuthenticityToken
>
> > Philip,
> > This is the CSRF protection Rails provides, which is meant to ensure user
> > data is posted from pages generated by Gitorious itself, not a random HTML
> > page. Did you enter a random value in the cookie_secret section of
> > config/gitorious.yml? Are you trying to post from a form generated by the
> > app itself?
>
> > Cheers
> > - Marius

-- 
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]

Reply via email to