compilebox
compilebox copied to clipboard
Constantly Timing out
Hey guys,
ran Install_16_.04.sh on digital ocean x64 droplet, installed node etc. When I use the sample client api to do Hello word C file, it keeps timing out the following is the console output when I click the compile button. Extremely weird. Please help!
C/C++ file was saved! Input file was saved! /root/compilebox/API/DockerTimeout.sh 20s -u mysql -e 'NODE_PATH=/usr/local/lib/node_modules' -i -t -v "/root/compilebox/API/temp/9589feeead5a4a99db8f":/usercode virtual_machine /usercode/script.sh 'g++ -o /usercode/a.out' file.cpp /usercode/a.out
ATTEMPTING TO REMOVE: temp/9589feeead5a4a99db8f
Timed Out: temp/9589feeead5a4a99db8f C/C++ Time: undefined
I double this issue, on Mac OSX 64 bit latest version El Capitan
Input file was saved! /Users/vivz/Desktop/work/Examples/nodeexamples/compilebox/API/DockerTimeout.sh 20s -u mysql -e 'NODE_PATH=/usr/local/lib/node_modules' -i -t -v "/Users/vivz/Desktop/work/Examples/nodeexamples/compilebox/API/temp/4d0d78f4e4d817131eae":/usercode virtual_machine /usercode/script.sh python file.py
ATTEMPTING TO REMOVE: temp/4d0d78f4e4d817131eae
Timed Out: temp/4d0d78f4e4d817131eae Python Time: undefined Python file was saved! Input file was saved! /Users/vivz/Desktop/work/Examples/nodeexamples/compilebox/API/DockerTimeout.sh 20s -u mysql -e 'NODE_PATH=/usr/local/lib/node_modules' -i -t -v "/Users/vivz/Desktop/work/Examples/nodeexamples/compilebox/API/temp/e1a54ead717d4c39f941":/usercode virtual_machine /usercode/script.sh python file.py
ATTEMPTING TO REMOVE: temp/e1a54ead717d4c39f941
Timed Out: temp/e1a54ead717d4c39f941 Python Time: undefined
Same issue. Did anyone here solve it?
same problem. did anyone face it?
Hi, guys just comment " code=$(timeout "$to" docker wait "$cont" || true)" this line in DockerTimeout.sh file in the API folder.but, you're unable to run the infinite loops. One more thing make sure that you have a docker image names as "virtual-machine".