Hi
I'm trying to convince my organisation to use CodeRunner. I figure if I can make it work, it'll help my argument. I've setup Moodle and CodeRunner on Debian and that all works fine (2.5 hour install from scratch).
It works fine with : Jobe server: jobe2.cosc.canterbury.ac.nz
But this morning I'm trying to get Jobe working. The install is good I think.
The two VMs can ping each other.
When I do (from Moodle VM to Jobe VM): wget http://192.168.56.205/jobe/index.php/restapi/languages
I get: [["c","12.2.0"],["cpp","12.2.0"],["java","17.0.10"],["nodejs","18.19.0"],["pascal","3.2.2"],["php","8.2.7"],["python3","3.11.2"]]
But when I check my question in my quiz, I get:
Failed to run tests
Jobe server request failed. HTTP response from Jobe was -1: "\"The URL is blocked.\""
On Jobe:
root@debian:/var/www/html/jobe# python3 testsubmit.py
Supported languages:
c: 12.2.0
cpp: 12.2.0
java: 17.0.10
nodejs: 18.19.0
pascal: 3.2.2
php: 8.2.7
python3: 3.11.2
Valid Python3 OK
Python3 with stdin OK
Syntactically invalid Python3 OK
Python3 runtime error OK
Python3 file I/O OK
Testing use of interpreter args with Python3 OK
Testing use of runargs args with Python3 OK
What am I missing?
Is it the Jobe API-key?