View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
17168 | Bug reports | _ Unknown | public | 2021-03-09 12:45 | 2021-08-30 11:53 |
Reporter | kpmg | Assigned To | p_teichmann | ||
Priority | none | Severity | block | ||
Status | closed | Resolution | reopened | ||
Product Version | 4.4.7 | ||||
Summary | 17168: 500: Internal Server Error Argument 1 must be at least CRYPTO_SIGN_BYTES long | ||||
Description | We get CRYPTO_SIGN_BYTES must be argument 1 long on posting answers to questions, and send email requests to users. | ||||
Steps To Reproduce | Notify users of a new survey. | ||||
Additional Information | Server has been upgraded to MySQL 8 hosted by Microsoft Azure. | ||||
Tags | No tags attached. | ||||
Attached Files | |||||
Bug heat | 8 | ||||
Complete LimeSurvey version number (& build) | 4.4.12 210308 | ||||
I will donate to the project if issue is resolved | No | ||||
Browser | Chrome | ||||
Database type & version | MySQL 8.0.15 (Windows) | ||||
Server OS (if known) | Appservice Debian Buster - Database Win64 hosted | ||||
Webserver software & version (if known) | Apache/2.4.38 (Debian) | ||||
PHP Version | 7.4.15 | ||||
Duplicate of https://bugs.limesurvey.org/view.php?id=16499 |
|
Or wait, maybe similar issue but in other context? |
|
For us to be able to investigate this issue please attach a 2 question sample survey demonstrating the issue, either as .lss file (survey structure) or (even better) as .lsa file (survey archive). Just attach it to this issue and we will have a look. |
|
Yes, I've had a look at that other issue as it seemed relevant, but the solution is not the same. I've also tired an earlier container with 4.4.8 and same issue as in 4.4.12. I suspect some setting is wrong for communicating with MySQL 8.0.16. In Limesurvey the MySQL version gets reported wrongly as 5.6.47.0. |
|
For the second issue, can you enable debug = 2 in application/config/config.php and try again, please? Paste the complete error message here. |
|
Cannot reproduce. What I did:
No problem. Can you give me a list of the PHP extensions that are installed on your system? E.g. "php -m" from the command-line. |
|
This is just an interface issue, though. |
|
Ok, thanks for trying. My php modules output [Zend Modules] |
|
I enabled the debug mode, but I noticed that the comfortupdate process changes the config-defaults.php file. Before hitting "finish" I went in to the console and changed the Mysql storage engine back to InnoDB, and set my memory back to 2Gb from the default 256Mb. Now it didn't complain about sql errors. Might be just luck. I'll retry my survey now and see if the error still persists. |
|
Sodium is the PHP extension that matters for this error. I don't have it installed right now, that's probably why I get another result. Are you using encryption for any question or participant attribute? |
|
We have tried both options. Same error message. |
|
Are you using encryption for any question or participant attribute? |
|
Yes, I tested that with the one example I sent you. |
|
Cannot reproduce, even with sodium installed as php extension. Exactly what did you enter as answers to the questions? Does it matter? I did not test with MySQL 8. |
|
Do you suspect MySQL version beeing an issue? |
|
Not sure. Can you enable debug = 2 in application/config/config.php and try again, please? Paste the complete error message here. |
|
SodiumException /var/www/html/limesurvey/application/third_party/sodium_compat/src/Compat.php(2069) 2057 @psalm-suppress MixedArgument Same as in the PDF posted earlier |
|
Hello, we have done multiple fixes to the encryption. If this is still an issue for you, please let us know. |
|
Hello kpmg, |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2021-03-09 12:45 | kpmg | New Issue | |
2021-03-09 12:45 | kpmg | File Added: Skjermbilde 2021-03-09 kl. 12.43.59.png | |
2021-03-09 12:48 | ollehar | Assigned To | => ollehar |
2021-03-09 12:48 | ollehar | Status | new => closed |
2021-03-09 12:48 | ollehar | Resolution | open => duplicate |
2021-03-09 12:48 | ollehar | Note Added: 62920 | |
2021-03-09 12:49 | ollehar | Note Added: 62921 | |
2021-03-09 12:49 | ollehar | Status | closed => feedback |
2021-03-09 12:49 | ollehar | Resolution | duplicate => reopened |
2021-03-09 12:49 | ollehar | Note Added: 62922 | |
2021-03-09 13:25 | kpmg | Note Added: 62923 | |
2021-03-09 13:25 | kpmg | File Added: survey_archive_838884.lsa | |
2021-03-09 13:25 | kpmg | File Added: Skjermbilde 2021-03-09 kl. 12.57.54.png | |
2021-03-09 13:25 | kpmg | Status | feedback => assigned |
2021-03-09 13:28 | ollehar | Note Added: 62924 | |
2021-03-09 14:04 | ollehar | Note Added: 62928 | |
2021-03-09 14:04 | ollehar | Status | assigned => feedback |
2021-03-09 14:06 | ollehar | Note Added: 62929 | |
2021-03-10 11:35 | kpmg | Note Added: 62988 | |
2021-03-10 11:35 | kpmg | Status | feedback => assigned |
2021-03-10 11:43 | kpmg | Note Added: 62989 | |
2021-03-10 12:00 | ollehar | Note Added: 62991 | |
2021-03-10 12:19 | kpmg | Note Added: 62994 | |
2021-03-10 14:26 | ollehar | Note Added: 62996 | |
2021-03-10 15:33 | kpmg | Note Added: 62997 | |
2021-03-10 16:09 | ollehar | Note Added: 63008 | |
2021-03-10 16:10 | ollehar | Status | assigned => feedback |
2021-03-11 09:56 | kpmg | Note Added: 63286 | |
2021-03-11 09:56 | kpmg | Status | feedback => assigned |
2021-03-11 11:39 | ollehar | Note Added: 63295 | |
2021-03-11 13:12 | ollehar | Status | assigned => feedback |
2021-03-11 15:08 | kpmg | Note Added: 63310 | |
2021-03-11 15:08 | kpmg | Status | feedback => assigned |
2021-05-17 14:06 | p_teichmann | Assigned To | ollehar => p_teichmann |
2021-05-17 14:06 | p_teichmann | Status | assigned => feedback |
2021-05-17 14:06 | p_teichmann | Note Added: 64427 | |
2021-08-30 11:53 | galads | Status | feedback => closed |
2021-08-30 11:53 | galads | Note Added: 66168 | |
2021-08-30 11:53 | galads | Bug heat | 6 => 8 |