I'm encountering an issue while trying to execute code using the Judge0 API. The response I receive from the API is as follows:
json
Copy code
{
"stdout": null,
"time": null,
"memory": null,
"stderr": null,
"token": "4957159e-0921-44fa-82a6-b9d4b202f276",
"compile_output": null,
"message": "No such file or directory @ rb_sysopen - /box/script.js",
"status": {
"id": 13,
"description": "Internal Error"
}
}
Setup
I set up Judge0 using the provided .config and docker-compose.yml files. There were no additional files included in the configuration.
Issue
When I use the following route: submissions/?base64_encoded=false&wait=false, I get the error mentioned above. It seems that the Judge0 server cannot find or create the script.js file.
Top comments (2)
Judge0 depends on (an older version of)
isolate
, which depends on the legacy cgroup support (cgroup v1). Add the following kernel parameters:and then reboot to enable legacy cgroup mode.
Same Issue. Have you sorted it ??
If yes can you help me