jcrodriguez-dis / moodle-mod_vpl

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

'error connection to database' when jailserver unreachable #184

Open buddy1234567 opened 3 months ago

buddy1234567 commented 3 months ago

My jailserver was shutdown and Moodle provided the error message 'Error connecting to database' when it was unable to reach the jailserver. I thought perhaps changing the text to 'unable to connect to jailserver' might be helpful.

jcrodriguez-dis commented 3 months ago

Dear @buddy1234567,

I was unable to replicate the exact message you described. Instead, the error message I encountered upon shutting down a jail server while it was in use stated, "No execution server available: jail-serverxxx.com request failed: Failed to connect to jail-serverxxx.com port 443 after 3063 ms: No route to host."

Could you please confirm if the issue is reproducible and provide any additional steps that might help in reproducing the error message you received? This information will help in further investigating to offer a solution.

Best regards,

Juan Carlos

cp