jcrodriguez-dis / moodle-mod_vpl

Virtual Programming Lab for Moodle (Module)
GNU General Public License v3.0
97 stars 84 forks source link

Evaluation error #190

Open bocanetcorneliu opened 1 month ago

bocanetcorneliu commented 1 month ago

I installed vpl-jail-system on the same server that runs the Moodle server. The server is a Fedora 35 Linux system. The installation was successful. I can access the system only from the internal network and I configured it on port 8081. I created tests for C++ programming, basic elements for beginners. Students enter the test, complete the tasks, press Pre-check, and if the task is completed correctly, "1 test run/ 1 test passed" appears and after completing all the tasks and sending the test, for some results the message appears for some tasks: "Details of assessment: Evaluation error: An error occurred during question grading (no grade obtained). Websocket handshake with server failed. [SERVER_HANDSHAKE_FIRSTLINE - "HTTP\/1.1 500 Internal Server Error\r\n"] Execution server was silent - no message received" even though the task is correctly solved. This happens to all the students in a class (almost 25). When I entered and tested the tasks, every time everything appears in rule, other times the above error appears!! Thank you. Sincerely, Corneliu Bocanet, Romania

jcrodriguez-dis commented 1 month ago

Dear @bocanetcorneliu,

To better identify the problem, please provide the logs from the VPL-Jail server using the command grep vpl /var/log/syslog. Make sure to remove any private information before sharing the logs.

Additionally, having the VPL-Jail server on the same server as Moodle is not ideal. For better isolation, consider using Docker to run the VPL-Jail server separately.

Best regards, Juan Carlos

bocanetcorneliu commented 1 month ago

Thanks for the reply. I looked for the syslog file in var/log but it doesn't exist. There is a vpl-jail-service.log file where the system configurations are. I mention that I work with the default configurations, except for the port, which I changed to 8081, in order not to conflict with the school's website. The bad part is that we are behind a router and I don't think that port forwarding can be done on the same internal IP with two different ports. The problem is that on the same test, on the same question for different students, some get a score and others don't even get that message posted on the forum. The VPL jail server is working because during the pre-check it displays ok for correct answers. I think the problem occurs when sending the tests/correcting the tests! I greet you. Sincerely, Corneliu Bocanet

Pe luni, 20 mai 2024 la 12:57:53 EEST, jcrodriguez-dis @.***> a scris:

Dear @bocanetcorneliu,

To better identify the problem, please provide the logs from the VPL-Jail server using the command grep vpl /var/log/syslog. Make sure to remove any private information before sharing the logs.

Additionally, having the VPL-Jail server on the same server as Moodle is not ideal. For better isolation, consider using Docker to run the VPL-Jail server separately.

Best regards, Juan Carlos

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>