Author Topic: Login not working/ no errors but page just refreshes and shows the same login page  (Read 2377 times)

Offline ovidiukp

  • Newbie
  • *
  • Posts: 2
Hello,

I wonder if anyone has any ideas on what the cause of this weird behavior could be- as once I enter the IMAP user credentials in the login page, it just refreshes to http://10.10.10.89/roundcubemail/?_task=mail and just shows the login page again. (the IP address is the NAT'ed IP of the web server...)

Some info on how I got things set up: I have the a FreeBSD 8.1 jail for the mail server (postfix/ dovecot/ spamassasin/ postgresql) and a web server jail (with apache / also tried nginx/ php 5.3 /roundcube). Now I initially installed roundcube 5.1 from ports and later downloaded the latest version because of this issue but no luck as I got the same problem of not being able to log in.

There is nothing in the logs; I have checked the database and it's setup correctly, has the user entries and shows the last login correctly... I see roundcube making a successful login and the subsequently a logout in dovecot logs. There are no errors of any kind in http-error.log or any other logs for that matter. I've tried it with SSL and without and options in the config files to no avail. I've checked the install section and everything is fine as far as those checks are concerned; also checked it from a machine on the same subnet to avoid any translations and no dice...

At this point I've hit a dead end and would appreciate any suggestions/ help. Thank you,
Ovidiu K.

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,566
    • http://SKaero.com/
Have you tried logging on different browsers/computers?

Offline ovidiukp

  • Newbie
  • *
  • Posts: 2
I did previously try Firefox, IE and Chrome and got the same results. I also cleared cookies, cache and that didn't help either.

However, when I tried the connection via the FQDN as in https://www.tialov.ca/roundcubemail - it works :)

Pretty stupid of me not to try that before, but I was so sure this should work via the IP address and that there was a problem with my setup somewhere...

Thanks skaero!

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,566
    • http://SKaero.com/
Interesting, I can use RoundCube on a IP. Maybe its a PHP configuration or Apache problem.