You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@teaclave.apache.org by digitalinformation <no...@github.com.INVALID> on 2023/07/19 03:42:22 UTC

[apache/incubator-teaclave] An error was encountered while Launch Teaclave Services (Issue #709)

When the following error occurs when executing the following command, how can I solve it?Thank you.
![QQ图片20230719113626](https://github.com/apache/incubator-teaclave/assets/94784449/4c475dbe-bd30-46f8-b591-f315bcfca8be)


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

Message ID: <ap...@github.com>

Re: [apache/incubator-teaclave] An error was encountered while Launch Teaclave Services (Issue #709)

Posted by digitalinformation <no...@github.com.INVALID>.
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 allowed`
`teaclave-access-control-service  | [2023-07-20T07:35:04Z ERROR teaclave_binder::ipc::app] ecall_ipc_entry_point, app sgx_error:InvalidEcnalveId
teaclave-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 allowed`
`teaclave-authentication-service  | [2023-07-20T07:35:05Z ERROR teaclave_binder::ipc::app] ecall_ipc_entry_point, app sgx_error:InvalidEcnalveId
teaclave-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 allowed`
`teaclave-scheduler-service       | [2023-07-20T07:35:09Z ERROR teaclave_binder::ipc::app] ecall_ipc_entry_point, app sgx_error:InvalidEcnalveId
teaclave-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 allowed`
`teaclave-storage-service         | [ERROR teaclave_storage_service_enclave] Failed to run service: Kind(UnexpectedEof) is not allowed`
`teaclave-storage-service         | [2023-07-20T07:35:13Z ERROR teaclave_binder::ipc::app] ecall_ipc_entry_point, app sgx_error:InvalidEcnalveId
teaclave-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 allowed`
`teaclave-frontend-service        | [2023-07-20T07:35:15Z ERROR teaclave_binder::ipc::app] ecall_ipc_entry_point, app sgx_error:InvalidEcnalveId
teaclave-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
`

[错误日志.odt](https://github.com/apache/incubator-teaclave/files/12103524/default.odt)



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

Message ID: <ap...@github.com>

Re: [apache/incubator-teaclave] An error was encountered while Launch Teaclave Services (Issue #709)

Posted by digitalinformation <no...@github.com.INVALID>.
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`
![QQ图片20230720121125](https://github.com/apache/incubator-teaclave/assets/94784449/38b3c132-ba15-4251-9b5a-f15ea5d5e3f9)



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

Message ID: <ap...@github.com>

Re: [apache/incubator-teaclave] An error was encountered while Launch Teaclave Services (Issue #709)

Posted by "Hiroki (Haobin) Chen" <no...@github.com.INVALID>.
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.

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

Message ID: <ap...@github.com>

Re: [apache/incubator-teaclave] An error was encountered while Launch Teaclave Services (Issue #709)

Posted by "Hiroki (Haobin) Chen" <no...@github.com.INVALID>.
You should modify line 206 in `./run-teaclave-services.sh`:

```sh
DOCKER_COMPOSE_FILE="docker-compose-ubuntu-1804.yml"
```

to `DOCKER_COMPOSE_FILE="docker-compose-ubuntu-2004.yml"` to match your OS version.

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

Message ID: <ap...@github.com>

Re: [apache/incubator-teaclave] An error was encountered while Launch Teaclave Services (Issue #709)

Posted by "Hiroki (Haobin) Chen" <no...@github.com.INVALID>.
Try to add `-b` when invoking the command to rebuild the docker, i.e.,

```sh
./run-teaclave-services.sh -b
```

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

Message ID: <ap...@github.com>

Re: [apache/incubator-teaclave] An error was encountered while Launch Teaclave Services (Issue #709)

Posted by digitalinformation <no...@github.com.INVALID>.
Hello, thank you for your help, but after I changed the configuration in  `./run-teaclave-services.sh` , the same error is still displayed, please do I have any other errors not corrected? Thank you for your  @hiroki-chen [hiroki-chen](https://github.com/hiroki-chen)

`$ (cd docker && ./run-teaclave-services.sh)`
![QQ图片20230719185833](https://github.com/apache/incubator-teaclave/assets/94784449/c1039eab-77af-4c37-a295-42dc80c52112)
![QQ图片20230719185825](https://github.com/apache/incubator-teaclave/assets/94784449/27ac5750-b6e9-49b0-8712-3b8bb8bd4544)


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

Message ID: <ap...@github.com>