Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Constantly Timing out #45

Open
justkrismanohar opened this issue Sep 13, 2017 · 4 comments
Open

Constantly Timing out #45

justkrismanohar opened this issue Sep 13, 2017 · 4 comments

Comments

@justkrismanohar
Copy link

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

@slidenerd
Copy link

slidenerd commented Sep 14, 2017

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

@denisorehovsky
Copy link

Same issue. Did anyone here solve it?

@pkatul
Copy link

pkatul commented Oct 5, 2018

same problem. did anyone face it?

@SatyaNagasriKarri
Copy link

SatyaNagasriKarri commented Nov 12, 2018

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".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants