- Posts: 19
- Thank you received: 1
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Cloudflare 524 when save the survey for resume later
- rizkiheryandi
- Topic Author
- Offline
- New Member
I got cloudflare 524 when save the survey partially for resume later
I using cloudflare for my production limesurvey, and using Flexible SSL with force SSH and always SS activate in settings
There's no error except of this one in production
But, although it's created cloudflare 524, but the credential for resume later was saved, and i can use it
So the problem is,
1. it's show CloudFlare 524 instead of success message
2. Email was unsent
For info :
1. Save the survey partially for resume later is working great in my localhost, and the email was sent
2. I using mailgun for SMTP for localhost and production too
What i have done :
1. Turn off the SSL in cloudflare, but still there's no affect
2. Turn on debug in automation email to "always" but i don't understand how the debug system is working , beacause there's no debug message appear in my screen and i don't know where's the log file of email debugging system
3. Change SMTP encryption to "off" and "ssl", but "TLS" not yet
That's all
Help me please, i will very appreciate for your help
Thanks
- DenisChenu
- Offline
- LimeSurvey Community Team
- Posts: 13597
- Thank you received: 2487
Maybe starting to log what's happen …
Starting by tracking error , update config.php file
// Uncomment the following line if you need table-based sessions // 'session' => array ( // 'class' => 'application.core.web.DbHttpSession', // 'connectionID' => 'db', // 'sessionTableName' => '{{sessions}}', // ), 'log' => array( 'routes' => array( 'fileError' => array( 'class' => 'CFileLogRoute', 'levels' => 'info,warning, error', 'except' => 'exception.CHttpException.404', ), 'fileVardump' => array( 'class' => 'CFileLogRoute', 'categories' => 'vardump', // tracevar function 'logFile' => 'dump.log', ), ) ), 'urlManager' => array(
If nothing are shown : must hack code and add some tracevar (then dump.log is updated), starting by here : github.com/LimeSurvey/LimeSurvey/blob/4d...timeHelper.php#L1026
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
- rizkiheryandi
- Topic Author
- Offline
- New Member
- Posts: 19
- Thank you received: 1
rizkiheryandi wrote: Hello
I got cloudflare 524 when save the survey partially for resume later
I using cloudflare for my production limesurvey, and using Flexible SSL with force SSH and always SS activate in settings
There's no error except of this one in production
But, although it's created cloudflare 524, but the credential for resume later was saved, and i can use it
So the problem is,
1. it's show CloudFlare 524 instead of success message
2. Email was unsent
For info :
1. Save the survey partially for resume later is working great in my localhost, and the email was sent
2. I using mailgun for SMTP for localhost and production too
What i have done :
1. Turn off the SSL in cloudflare, but still there's no affect
2. Turn on debug in automation email to "always" but i don't understand how the debug system is working , beacause there's no debug message appear in my screen and i don't know where's the log file of email debugging system
3. Change SMTP encryption to "off" and "ssl", but "TLS" not yet
That's all
Help me please, i will very appreciate for your help
Thanks
Typo here, i means "and using Flexible SSL with Automatic HTTPS Rewrites and Always Use HTTPS in enable mode"
- rizkiheryandi
- Topic Author
- Offline
- New Member
- Posts: 19
- Thank you received: 1
DenisChenu wrote: Ouch … need tracking what happen here …
Maybe starting to log what's happen …
Starting by tracking error , update config.php fileHere : a file was created (if error happen) in tmp/runtime name application.log. See if you have something when it happen.Code:// Uncomment the following line if you need table-based sessions // 'session' => array ( // 'class' => 'application.core.web.DbHttpSession', // 'connectionID' => 'db', // 'sessionTableName' => '{{sessions}}', // ), 'log' => array( 'routes' => array( 'fileError' => array( 'class' => 'CFileLogRoute', 'levels' => 'info,warning, error', 'except' => 'exception.CHttpException.404', ), 'vardump' => array( 'class' => 'CWebLogRoute', 'categories' => 'vardump', // tracevar function 'logFile' => 'dump.log', ), ) ), 'urlManager' => array(
If nothing are shown : must hack code and add some tracevar (then dump.log is updated), starting by here : github.com/LimeSurvey/LimeSurvey/blob/4d...timeHelper.php#L1026
Ok, i will try it ASAP
- DenisChenu
- Offline
- LimeSurvey Community Team
- Posts: 13597
- Thank you received: 2487
(and please don't quote all pots each time …)
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
- rizkiheryandi
- Topic Author
- Offline
- New Member
- Posts: 19
- Thank you received: 1
And i got this message in application.log
[warning] [application] Failed to set unsafe attribute "settings" of "Tutorial".
I don't undestand with that message
- DenisChenu
- Offline
- LimeSurvey Community Team
- Posts: 13597
- Thank you received: 2487
error 524 from cloudfare hide the real error … since we can get real error … no way to fix it.
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
- rizkiheryandi
- Topic Author
- Offline
- New Member
- Posts: 19
- Thank you received: 1