mc2-project / mc2

A Platform for Secure Analytics and Machine Learning
Apache License 2.0
297 stars 43 forks source link

appearing an error about grpc through installation via pulling an image #193

Open daveewang opened 2 years ago

daveewang commented 2 years ago

I install the mc2 through the way of installation via pulling an image. Installing the project through the default configuration, but appearing an error about grpc when executing "mc2 run" : image

chester-leung commented 2 years ago

Hi @daveewang , this is likely because the Opaque SQL listener is not up, so any attempt to connect to it results in this error. You may need to wait a little bit between when you run mc2 start and when you run mc2 run to allow Opaque SQL time to start up.

We do not yet have a built in function to check whether Opaque SQL has launched, but you can check to see if the port that Opaque SQL uses is occupied to check whether it has launched: lsof -i :50052

daveewang commented 2 years ago

Hi @chester-leung , when I check the detail of 'mc2 start', finding an error about 'build/sbt run'. image

chester-leung commented 2 years ago

Can you please paste more output? I see the CMake error but would be great to see some logs before that

daveewang commented 2 years ago

sorry, this is all error information: image image this is error in CmakeError.log: image

image

ryanleh commented 2 years ago

Could you try running: sudo apt install build-essential nghttp2 libnghttp2-dev libssl-dev? And see if you can ping github.com?

daveewang commented 2 years ago

hi, @ryanleh, I can't ping github.com

ryanleh commented 2 years ago

Can you ping github.com from outside of the container?

daveewang commented 2 years ago

Originally not, but after adding some configurations it is possible to ping github.com. the configurations: image

daveewang commented 2 years ago

hi,@ryahleh, I find a new error in the progress of "mc2 start": image