1

I installed CKAN from the package then reconfigured it to serve only through Apache. Everything worked great at first, but now I can't log into the web interface. I can create a user, but they get an error:

Login failed. Bad username or password.

Password reset works, but they still can't log in. Repoze.who is not logging anything at all, so I don't know what's up. The weird thing is I can use the REST API with the api-key for the user (obtained through paster) and get a response.

Grant Winney
  • 65,241
  • 13
  • 115
  • 165
mattva01
  • 23
  • 5

1 Answers1

0

This is very tough to answer without more information. There is a real possibility that the password is somehow being submitted wrong.

One suggestion would be to reset the password from the command line with a specific password and see what happens (use paster user -h to see options for managing users from command line).

Rufus Pollock
  • 2,295
  • 21
  • 20
  • I've tried that, but I think I've narrowed down the problem to an issue with WSGI (it works properly if the page is served via 'ckan serve'). I'm using the standard configuration that comes with the package, except with the port value changed to 80 and ServerName changed to my FQDN – mattva01 May 31 '13 at 23:24
  • Are you proxying the app? You may need to make sure credentials are forwarded appropriately. – Rufus Pollock Jun 04 '13 at 16:54
  • Just remembered that I never actually posted to this when I figured it out. It turns out the server was mangling requests due to hardware issues. An install on a different box worked perfectly. – mattva01 Sep 20 '14 at 22:09