dodona-edu / judge-r

R judge for the Dodona learning environment
MIT License
0 stars 7 forks source link

'Cannot open connection to' error #75

Closed DieterPi closed 1 year ago

DieterPi commented 1 year ago

I've made an exercise where data is downloaded from KMI and analysed in R. However for the feedback the following error appears

Error while evaluating context: cannot open the connection to 'https://www.meteo.be/resources/climatology/uccle_month/Ukkel_waarnemingen.txt'

How can I resolve this?

chvp commented 1 year ago

Are you sure you enabled the network for your exercise? The error seems to point in the direction of no internet being available.

bmesuere commented 1 year ago

By default, network access is disabled for the docker containers where the tests are run. You should set network_enabled to true in the config. See https://docs.dodona.be/en/references/exercise-config/#config-file-structure-for-exercises for more information.

DieterPi commented 1 year ago

By default, network access is disabled for the docker containers where the tests are run. You should set network_enabled to true in the config. See https://docs.dodona.be/en/references/exercise-config/#config-file-structure-for-exercises for more information.

This fixed the issue, thanks for the quick response!