- Posts: 14
- Thank you received: 5
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
504 after survey submission with participants/tokens table
- QuoTil
- Topic Author
- Offline
- New Member
We're experiencing a major issue after the update to 3.14:
If it is a closed survey with participants/ tokens the submission of the survey ends with a 504. The user never reaches the "Completed View". This LS-behavior is not seen when the survey is open to everybody (without participants table).
Immediate help is needed.
- DenisChenu
- Offline
- LimeSurvey Community Team
- Posts: 13684
- Thank you received: 2497
Check your webserver log, can be different things …
Try to activate debug mode, and try with a little survey.
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.
- QuoTil
- Topic Author
- Offline
- New Member
- Posts: 14
- Thank you received: 5
2018/09/03 15:32:29 [error] 19940#19940: *4751 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 10.1.0.27, server: domain, request: "GET /index.php?r=admin/survey/sa/getAjaxMenuArray&surveyid=522165&YII_CSRF_TOKEN=YWFBOWZxUU9NWjdWMFFaTE41azY5eDRmY0FKTE9nNUiwiO1Q6P-cAP8onXWStshcU4Aoem1d58mtI2NP0EG7tA%3D%3D&position=collapsed HTTP/1.1", upstream: "fastcgi://unix:/var/run/php/php7.0-fpm.sock", host: "myDomain", referrer: "https://myDomain/index.php?r=admin/tokens/sa/browse/surveyid/522165"
Any idea?
- jelo
- Offline
- Platinum Member
- Posts: 5033
- Thank you received: 1257
1. Which version was used before the update to 3.14?QuoTil wrote: We're experiencing a major issue after the update to 3.14:
2. Nginx error. Can you post nginx.conf and tell us a bit about your setup. You can click on the version number at the bottom of your LimeSurvey installation to get systeminfos.
The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
- QuoTil
- Topic Author
- Offline
- New Member
- Posts: 14
- Thank you received: 5
DevOps did cut off the email configuration (server/firewall-side). It seems that this blocked the completion of the survey. As much as I could see the debug mode did not report this as an error - which would be nice. Also maybe it would be an option to let LS complete a tokenized survey even if the email configuration fails.
Anyway. Sorry again and thank you for your great work.
- jelo
- Offline
- Platinum Member
- Posts: 5033
- Thank you received: 1257
That might be the case. I guess you wanted to get an email after each completed survey sent to you? To me this looks like a timing issue. The email couldn't be sent and is causing a delay (still room for improvement for LS devs). The NGINX timeout is lower than the delay caused by LimeSurvey handling the email error.QuoTil wrote: Also maybe it would be an option to let LS complete a tokenized survey even if the email configuration fails.
The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
- QuoTil
- Topic Author
- Offline
- New Member
- Posts: 14
- Thank you received: 5
Yes indeed.I guess you wanted to get an email after each completed survey sent to you?
- DenisChenu
- Offline
- LimeSurvey Community Team
- Posts: 13684
- Thank you received: 2497
No, because it can be easily fixed with a good mail server.jelo wrote: (still room for improvement for LS devs).
You can use your own server as a relay, mail is send by your server but it take really less time to send via PHP
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.
- jelo
- Offline
- Platinum Member
- Posts: 5033
- Thank you received: 1257
No room for improvement, really? The error handling, when a survey is submitted and an email is triggered for the admin, might not slow down the submitting itself.DenisChenu wrote:
No, because it can be easily fixed with a good mail server.jelo wrote: (still room for improvement for LS devs).
You can use your own server as a relay, mail is send by your server but it take really less time to send via PHP
The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
- holch
- Offline
- LimeSurvey Community Team
- Posts: 11683
- Thank you received: 2748
No room for improvement, really? The error handling, when a survey is submitted and an email is triggered for the admin, might not slow down the submitting itself.
It might, but it shouldn't.
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
- jelo
- Offline
- Platinum Member
- Posts: 5033
- Thank you received: 1257
This comes from trying to be more politeholch wrote: It might, but it shouldn't.
When a mail cannot be sent, the submitprocess should continue. Without having a task queue a bit difficult to implement. Experience of survey respondent is more import than a missing email for the LS user.
The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
- holch
- Offline
- LimeSurvey Community Team
- Posts: 11683
- Thank you received: 2748
Experience of survey respondent is more import than a missing email for the LS user.
Agreed.
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.