After following the instructions: at my-first-function, I get the following 
error when running the services from docker-compose
```
$ (cd docker && docker-compose -f docker-compose-ubuntu-1804.yml up)
Recreating teaclave-authentication-service ... done
Recreating teaclave-access-control-service ... done
Recreating teaclave-storage-service        ... done
Recreating teaclave-management-service     ... done
Recreating teaclave-scheduler-service      ... done
Recreating teaclave-execution-service      ... done
Recreating teaclave-frontend-service       ... done
Attaching to teaclave-access-control-service, teaclave-storage-service, 
teaclave-scheduler-service, teaclave-execution-service, 
teaclave-authentication-service, teaclave-management-service, 
teaclave-frontend-service
teaclave-execution-service         | [2020-07-01T18:57:07Z ERROR 
teaclave_execution_service_enclave] Failed to start the service: Failed to 
initialize quote : SGX_ERROR_SERVICE_UNAVAILABLE
teaclave-access-control-service    | [2020-07-01T18:57:06Z ERROR 
teaclave_access_control_service_enclave] Failed to start the service: Failed to 
initialize quote : SGX_ERROR_SERVICE_UNAVAILABLE
teaclave-authentication-service    | [2020-07-01T18:57:07Z ERROR 
teaclave_authentication_service_enclave] Failed to start the service: Failed to 
initialize quote : SGX_ERROR_SERVICE_UNAVAILABLE
teaclave-execution-service exited with code 0
teaclave-access-control-service exited with code 0
teaclave-scheduler-service         | [2020-07-01T18:57:06Z ERROR 
teaclave_scheduler_service_enclave] Failed to start the service: Failed to 
initialize quote : SGX_ERROR_SERVICE_UNAVAILABLE
teaclave-storage-service           | [2020-07-01T18:57:05Z ERROR 
teaclave_storage_service_enclave] Failed to start the service: Failed to 
initialize quote : SGX_ERROR_SERVICE_UNAVAILABLE
teaclave-scheduler-service exited with code 0
teaclave-storage-service exited with code 0
teaclave-management-service        | [2020-07-01T18:57:08Z ERROR 
teaclave_management_service_enclave] Failed to start the service: Failed to 
initialize quote : SGX_ERROR_SERVICE_UNAVAILABLE
teaclave-authentication-service exited with code 0
teaclave-management-service exited with code 0
teaclave-frontend-service          | [2020-07-01T18:57:08Z ERROR 
teaclave_frontend_service_enclave] Failed to start the service: Failed to 
initialize quote : SGX_ERROR_SERVICE_UNAVAILABLE
teaclave-frontend-service exited with code 0
```
The code indicates this relates to the AESM service, but as far as I can tell 
the AESM service is running, `/var/run/aesmd/aesm.socket` is vailable
```
$ sudo service aesmd status
● aesmd.service - Intel(R) Architectural Enclave Service Manager
   Loaded: loaded (/lib/systemd/system/aesmd.service; enabled; vendor preset: 
enabled)
   Active: active (running) since Wed 2020-07-01 13:48:14 CDT; 14min ago
  .....
``` 
https://github.com/apache/incubator-teaclave/blob/7b15990b56b701a9771b45b8ac754d1d83791ec9/common/protected_fs_rs/protected_fs_c/inc/sgx_error.h#L65
Any suggestions how to debug further?


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/apache/incubator-teaclave/issues/377

Reply via email to