mark.hamm...@bto.org writes:

> Git was set up by a former colleague for us here and had been working fine.
>
> I can still GIT PULL/PUSH from within Netbeans, however I needed to do some
> operations from GIT BASH shell, and upon GIT PUSHing, it prompted me for my
> password.
> This is where the trouble started.
>
> Couldn't remember what my password was, so went to the web interface. Tried
> a password, rather than saying the password wasn't recognised, it freaked
> out with the "Sorry, something went wrong" page - it also sent a a massive
> turd email to the admin email address recorded it had been set up for.
>
> I tried to have a password reset email sent, but upon entering my email
> address and clicking SEND, I got to the same "Sorry, something went wrong"
> page.
>
> Find attached the email that was dumped out. I have edited this email
> because it contained the password I entered in PLAIN TEXT, which didn't
> strike me as terribly safe....
> As far as I know, nothing has been changed or updated on the server in some
> time, so I'm at a loss to explain this sudden failure.

Mark,
First of all: the email you forwarded suggests that there's a mismatch
between the CSRF (Cross Site Request Forgery) token stored in your user
session and the one rendered in the form in your browser. I see that you
used "http://git/"; in the URL, which means that you probably didn't get
a session cookie at all; Gitorious needs a fully qualified domain name
(ie. containing at least one period) for sessions to work.

I would assume your server has a fully qualified address, you should use
that one in your browser. The config/gitorious.yml file on your server
specifies which FQDN your server is configured as, this value should
match the hostname you use when connecting.

Are you sure it was the Gitorious server prompting you for a password,
not the ssh client asking you for the SSH passphrase? If it's not the
password, try running SSH directly:

ssh git@<your server>

Cheers,
- Marius

-- 
-- 
To post to this group, send email to gitorious@googlegroups.com
To unsubscribe from this group, send email to
gitorious+unsubscr...@googlegroups.com

--- 
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 gitorious+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to