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

Error: Failed to new the enclave. #631

Open
Lio101 opened this issue Mar 4, 2022 · 0 comments
Open

Error: Failed to new the enclave. #631

Lio101 opened this issue Mar 4, 2022 · 0 comments
Labels
good first issue Good for newcomers help wanted Extra attention is needed

Comments

@Lio101
Copy link

Lio101 commented Mar 4, 2022

Hi, I am getting error when running ./run-teaclave-services.sh.

Platform: Azure CC VM
OS: Ubuntu 18.04
Docker Image used: teaclave-build-ubuntu-1804-sgx-dcap-1.11:0.1.5

Error:
~/incubator-teaclave/docker$ ./run-teaclave-services.sh
/dev/isgx device detected.
/var/run/aesmd/aesm.socket socket detected.
Error: No such volume: aesmd-socket
COMMAND: docker-compose -f docker-compose-ubuntu-1804.yml -f docker-compose-isgx-dev.override.yml -f docker-compose-aesm-socket.override.yml up
Recreating teaclave-authentication-service ... done
Recreating teaclave-access-control-service ... done
Recreating teaclave-storage-service ... done
Starting teaclave-file-service ... done
Recreating teaclave-scheduler-service ... done
Recreating teaclave-management-service ... done
Recreating teaclave-execution-service ... done
Recreating teaclave-frontend-service ... done
Attaching to teaclave-file-service, teaclave-access-control-service, teaclave-storage-service, teaclave-authentication-service, teaclave-scheduler-service, teaclave-management-service, teaclave-execution-service, teaclave-frontend-service
teaclave-authentication-service | Error: Failed to new the enclave.
teaclave-authentication-service |
teaclave-authentication-service | Caused by:
teaclave-authentication-service | found SGX error: SGX_ERROR_UNEXPECTED
teaclave-access-control-service | Error: Failed to new the enclave.
teaclave-access-control-service |
teaclave-access-control-service | Caused by:
teaclave-access-control-service | found SGX error: SGX_ERROR_UNEXPECTED
teaclave-authentication-service exited with code 1
teaclave-access-control-service exited with code 1
teaclave-management-service | Error: Failed to new the enclave.
teaclave-management-service |
teaclave-management-service | Caused by:
teaclave-management-service | found SGX error: SGX_ERROR_UNEXPECTED
teaclave-storage-service | Error: Failed to new the enclave.
teaclave-storage-service |
teaclave-storage-service | Caused by:
teaclave-storage-service | found SGX error: SGX_ERROR_UNEXPECTED
teaclave-storage-service exited with code 1
teaclave-management-service exited with code 1
teaclave-scheduler-service | Error: Failed to new the enclave.
teaclave-scheduler-service |
teaclave-scheduler-service | Caused by:
teaclave-scheduler-service | found SGX error: SGX_ERROR_UNEXPECTED
teaclave-scheduler-service exited with code 1
teaclave-execution-service | Error: Failed to new the enclave.
teaclave-execution-service |
teaclave-execution-service | Caused by:
teaclave-execution-service | found SGX error: SGX_ERROR_SERVICE_UNAVAILABLE
teaclave-frontend-service | Error: Failed to new the enclave.
teaclave-frontend-service |
teaclave-frontend-service | Caused by:
teaclave-frontend-service | found SGX error: SGX_ERROR_SERVICE_UNAVAILABLE
teaclave-execution-service exited with code 1
teaclave-frontend-service exited with code 1
^Z
[1]+ Stopped ./run-teaclave-services.sh

I am following the instructions from: https://teaclave.apache.org/docs/azure-confidential-computing/
, just changed the docker image to use DCAP.

@ya0guang ya0guang added good first issue Good for newcomers help wanted Extra attention is needed labels Mar 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants