incubator-teaclave
incubator-teaclave copied to clipboard
An error was encountered while Launch Teaclave Services
Sorry very much,the following error occurs when executing the following command, how can I solve it?Thank you.
$ (cd docker && ./run-teaclave-services.sh)
You should modify line 206 in ./run-teaclave-services.sh:
DOCKER_COMPOSE_FILE="docker-compose-ubuntu-1804.yml"
to DOCKER_COMPOSE_FILE="docker-compose-ubuntu-2004.yml" to match your OS version.
Hello, thanks for your help, but after I changed the configuration in ./run-teaclave-services.sh , the same error is still displayed, do I have any other errors not corrected? Thanks for your help. @hiroki-chen hiroki-chen
$ (cd docker && ./run-teaclave-services.sh)
Try to add -b when invoking the command to rebuild the docker, i.e.,
./run-teaclave-services.sh -b
Hello, I am sorry to disturb you again.when I follow the following command execution, the program keeps showing that it is running, there is no sign of stopping, what else can I do? Looking forward to your reply, thank you. @hiroki-chen
./run-teaclave-services.sh -b
It seems that you need to set the environment variable TEACLAVE_LOG to debug (you can do it via export TEACLAVE_LOG="debug") and re-run the docker to see the log output. Only then we can know what was going on inside Teaclave's services.
Hello, thank you again for your help, I have listed some error messages as follows, please take a look, thank you. @hiroki-chen
teaclave-access-control-service | [ERROR teaclave_access_control_service_enclave] Failed to run service: Kind(UnexpectedEof) is not allowedteaclave-access-control-service | [2023-07-20T07:35:04Z ERROR teaclave_binder::ipc::app] ecall_ipc_entry_point, app sgx_error:InvalidEcnalveIdteaclave-access-control-service | [2023-07-20T07:35:04Z ERROR teaclave_binder::binder] IpcError(SgxError(InvalidEcnalveId))teaclave-authentication-service | [ERROR teaclave_authentication_service_enclave] Failed to run service: Kind(UnexpectedEof) is not allowedteaclave-authentication-service | [2023-07-20T07:35:05Z ERROR teaclave_binder::ipc::app] ecall_ipc_entry_point, app sgx_error:InvalidEcnalveIdteaclave-authentication-service | [2023-07-20T07:35:05Z ERROR teaclave_binder::binder] IpcError(SgxError(InvalidEcnalveId))teaclave-scheduler-service | [ERROR teaclave_scheduler_service_enclave] Failed to run service: Kind(UnexpectedEof) is not allowedteaclave-scheduler-service | [2023-07-20T07:35:09Z ERROR teaclave_binder::ipc::app] ecall_ipc_entry_point, app sgx_error:InvalidEcnalveIdteaclave-scheduler-service | [2023-07-20T07:35:09Z ERROR teaclave_binder::binder] IpcError(SgxError(InvalidEcnalveId))teaclave-management-service | [ERROR teaclave_management_service_enclave] Failed to run service: Kind(UnexpectedEof) is not allowedteaclave-storage-service | [ERROR teaclave_storage_service_enclave] Failed to run service: Kind(UnexpectedEof) is not allowedteaclave-storage-service | [2023-07-20T07:35:13Z ERROR teaclave_binder::ipc::app] ecall_ipc_entry_point, app sgx_error:InvalidEcnalveIdteaclave-storage-service | [2023-07-20T07:35:13Z ERROR teaclave_binder::binder] IpcError(SgxError(InvalidEcnalveId))teaclave-frontend-service | [ERROR teaclave_frontend_service_enclave] Failed to run service: Kind(UnexpectedEof) is not allowedteaclave-frontend-service | [2023-07-20T07:35:15Z ERROR teaclave_binder::ipc::app] ecall_ipc_entry_point, app sgx_error:InvalidEcnalveIdteaclave-frontend-service | [2023-07-20T07:35:15Z ERROR teaclave_binder::binder] IpcError(SgxError(InvalidEcnalveId))teaclave-execution-service | [ERROR teaclave_execution_service_enclave::ecall] Failed to run service: Kind(UnexpectedEof) is not allowed