On Monday, November 3, 2014 12:00:14 PM UTC-5, Oliver Gerberding wrote: > Joaquin Morcate Jarillo <jmorcate <at> gmail.com> writes: > > > > > Hi all, > > > > I have just installed Gitorious in CentOS 6.6 and I can't log in with the > admin user providing the right > > credentials (uername/password): I'm always redirected to > > the initial page. In the production.log file I get the following message: > > > > WARNING: Can't verify CSRF token authenticity > > > > Can anybody help? Thank you. > > > > > I have the exact same problem. I installed Gitorious in CentOS 6.0 on a > virtual machine. I can access the server from another PC just fine, but I > can not log in. When I use the correct credentials for the admin I am > rerouted to the initial screen and my production.log file contains the above > described message: Can't verify CSRF token authenticity > > Any help is greatly appreciated!
This issue is most likely that you are accessing the server through a different hostname, or not accessing it via https. I'd guess you are accessing it via the ip address. Step by step instructions to fix this: 1. ensure host: is pointed to localhost.localdomain (or other valid hostname) 2. Ensure that your machines IP address is listed in the /etc/hosts file. It should end up looking something like this (replacing 192.168.1.150 with your actual server address): 127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4 192.168.1.150 localhost localhost.localdomain localhost4 localhost4.localdomain4 ::1 localhost localhost.localdomain localhost4 localhost4.localdomain4 3. restart the box. -- -- To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] --- You received this message because you are subscribed to the Google Groups "Gitorious" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
