Unexpected error while executing your code. The sandbox server may be down or overloaded. Perhaps try again shortly?

Re: Unexpected error while executing your code. The sandbox server may be down or overloaded. Perhaps try again shortly?

von Richard Lobb -
Anzahl Antworten: 0
Have you resolved this? If turning off ufw solves the problem then the only explanation I can think of is that you've got some other rule that's denying access or you have the wrong IP address for your moodle server. Have you run the command

sudo ufw status
to see the full configuration? You can use the command

sudo ufw --force reset
to start with a fresh configuration if necessary. You might also want to try simpler versions of the allow command, such as

sudo ufw allow from 123.45.67.8