rsilva8 / decentralized-row-means

Decentralized Row Means for COINSTAC
0 stars 1 forks source link

unhandledRejection when running coinstac-simulator #1

Open rsilva8 opened 5 years ago

rsilva8 commented 5 years ago

$ sudo coinstac-simulator --silly debug: Starting decentralized simulator run with 1 client(s) debug: remote ---- {"pipelineStep":0,"mode":"remote","totalSteps":1} debug: remote ---- {"controllerState":"started","pipelineStep":0,"mode":"remote","totalSteps":1} debug: remote ---- {"currentIteration":0,"controllerState":"started","pipelineStep":0,"mode":"remote","totalSteps":1} debug: remote ---- {"currentIteration":0,"controllerState":"running","pipelineStep":0,"mode":"remote","totalSteps":1} debug: remote ---- {"currentIteration":0,"controllerState":"waiting on local users","pipelineStep":0,"mode":"remote","totalSteps":1} debug: local-0 ---- {"pipelineStep":0,"mode":"local","totalSteps":1} debug: local-0 ---- {"controllerState":"started","pipelineStep":0,"mode":"local","totalSteps":1} debug: local-0 ---- {"currentIteration":0,"controllerState":"started","pipelineStep":0,"mode":"local","totalSteps":1} debug: local-0 ---- {"currentIteration":0,"controllerState":"running","pipelineStep":0,"mode":"local","totalSteps":1} debug: local-0 ---- {"currentIteration":1,"controllerState":"running","pipelineStep":0,"mode":"local","totalSteps":1} debug: local-0 ---- {"currentIteration":1,"controllerState":"waiting on computation","pipelineStep":0,"mode":"local","totalSteps":1} debug: local-1 ---- {"pipelineStep":0,"mode":"local","totalSteps":1} debug: local-1 ---- {"controllerState":"started","pipelineStep":0,"mode":"local","totalSteps":1} debug: local-1 ---- {"currentIteration":0,"controllerState":"started","pipelineStep":0,"mode":"local","totalSteps":1} debug: local-1 ---- {"currentIteration":0,"controllerState":"running","pipelineStep":0,"mode":"local","totalSteps":1} debug: local-1 ---- {"currentIteration":1,"controllerState":"running","pipelineStep":0,"mode":"local","totalSteps":1} debug: local-1 ---- {"currentIteration":1,"controllerState":"waiting on computation","pipelineStep":0,"mode":"local","totalSteps":1} debug: local-2 ---- {"pipelineStep":0,"mode":"local","totalSteps":1} debug: local-2 ---- {"controllerState":"started","pipelineStep":0,"mode":"local","totalSteps":1} debug: local-2 ---- {"currentIteration":0,"controllerState":"started","pipelineStep":0,"mode":"local","totalSteps":1} debug: local-2 ---- {"currentIteration":0,"controllerState":"running","pipelineStep":0,"mode":"local","totalSteps":1} debug: local-2 ---- {"currentIteration":1,"controllerState":"running","pipelineStep":0,"mode":"local","totalSteps":1} debug: local-2 ---- {"currentIteration":1,"controllerState":"waiting on computation","pipelineStep":0,"mode":"local","totalSteps":1} debug: local-1 ---- {"currentIteration":1,"controllerState":"finished iteration with error","pipelineStep":0,"mode":"local","totalSteps":1} debug: local-2 ---- {"currentIteration":1,"controllerState":"finished iteration with error","pipelineStep":0,"mode":"local","totalSteps":1} debug: local-0 ---- {"currentIteration":1,"controllerState":"finished iteration with error","pipelineStep":0,"mode":"local","totalSteps":1} debug: local-1 ---- {"currentIteration":1,"controllerState":"waiting on central node","pipelineStep":0,"mode":"local","totalSteps":1} debug: local-2 ---- {"currentIteration":1,"controllerState":"waiting on central node","pipelineStep":0,"mode":"local","totalSteps":1} debug: local-0 ---- {"currentIteration":1,"controllerState":"waiting on central node","pipelineStep":0,"mode":"local","totalSteps":1} silly: ############ CLIENT local0 silly: { "id": "local0", "runId": "simulatorRun", "error": { "message": "connect ENOENT /var/run/docker.sock", "error": "connect ENOENT /var/run/docker.sock", "name": "Error" } } silly: ############ END CLIENT local0 debug: remote ---- {"currentIteration":0,"controllerState":"error","pipelineStep":0,"mode":"remote","totalSteps":1} error: unhandledRejection silly: ############ CLIENT local1 silly: { "id": "local1", "runId": "simulatorRun", "error": { "message": "connect ENOENT /var/run/docker.sock", "error": "connect ENOENT /var/run/docker.sock", "name": "Error" } } silly: ############ END CLIENT local1 silly: ############ CLIENT local2 silly: { "id": "local2", "runId": "simulatorRun", "error": { "message": "connect ENOENT /var/run/docker.sock", "error": "connect ENOENT /var/run/docker.sock", "name": "Error" } } silly: ############ END CLIENT local2 debug: local-0 ---- {"currentIteration":1,"controllerState":"error","pipelineStep":0,"mode":"local","totalSteps":1} error: unhandledRejection debug: local-1 ---- {"currentIteration":1,"controllerState":"error","pipelineStep":0,"mode":"local","totalSteps":1} error: unhandledRejection debug: local-2 ---- {"currentIteration":1,"controllerState":"error","pipelineStep":0,"mode":"local","totalSteps":1} error: unhandledRejection

rsilva8 commented 5 years ago

This error occurred after building docker image and running from WSL (Ubuntu on Windows) with Docker running on Windows and connecting to WSL via HTTP.

Need to test on Mac OS to verify it is an issue with this particular setup.