Author Topic: Can't login with roundcube is using cloudflare [solved]  (Read 6052 times)

Offline bagu

  • Full Member
  • ***
  • Posts: 109
    • Bagu.biz
Can't login with roundcube is using cloudflare [solved]
« on: December 03, 2013, 06:00:05 AM »
Hello,

I see a similar post, but it's not really the same situation.

I use cloudflare, only as DNS for my host mail.bagu.fr
But, if i try to log in roundcube 0.9.5, i receive an apache error 500

If i switch to gandi DNS : no problem.

I've try to login with the entire mail (and %h in main.inc.php) but no success.
Do you have an idea ?
« Last Edit: December 04, 2013, 06:13:29 AM by bagu »

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,882
    • SKaero - Custom Roundcube development
Re: Can't login with roundcube is using cloudflare
« Reply #1 on: December 03, 2013, 06:47:43 AM »
What shows up in the RoundCube error log?

Offline bagu

  • Full Member
  • ***
  • Posts: 109
    • Bagu.biz
Re: Can't login with roundcube is using cloudflare
« Reply #2 on: December 03, 2013, 07:48:27 AM »
Nothing, the error log is empty


The only error i get is in apache :


[Tue Dec 03 12:11:31.839481 2013] [core:error] [pid 1764:tid 1416] [client 88.184.248.105:1981] End of script output before headers: index.php, referer: http://mail.bagu.fr/
« Last Edit: December 03, 2013, 07:50:17 AM by bagu »

Offline MidnightMonarch

  • Newbie
  • *
  • Posts: 1
Re: Can't login with roundcube is using cloudflare
« Reply #3 on: December 03, 2013, 08:58:18 AM »
Error message here too... using Firefox. All other websites/emails are working fine.

Offline bagu

  • Full Member
  • ***
  • Posts: 109
    • Bagu.biz
Re: Can't login with roundcube is using cloudflare
« Reply #4 on: December 03, 2013, 04:02:56 PM »
With firefox, i can see that the POST request for login fail.
I there something wrong to use roundcube and this free CDN ?

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,882
    • SKaero - Custom Roundcube development
Re: Can't login with roundcube is using cloudflare
« Reply #5 on: December 03, 2013, 05:42:31 PM »
Have you tried using the IP address of the mail server in the RoundCube config file?

Offline bagu

  • Full Member
  • ***
  • Posts: 109
    • Bagu.biz
Re: Can't login with roundcube is using cloudflare
« Reply #6 on: December 04, 2013, 06:02:55 AM »
If you talk about

$rcmail_config['default_host'] = '%d';

I'v try :

$rcmail_config['default_host'] = 127.0.0.1;

(mail server is on the same system), but i get an error in php log.


EDIT :
Ok, it seem it work with :

$rcmail_config['default_host'] = '127.0.0.1';