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

An error was encountered while Launch Teaclave Services #709

Open
digitalinformation opened this issue Jul 19, 2023 · 6 comments
Open

An error was encountered while Launch Teaclave Services #709

digitalinformation opened this issue Jul 19, 2023 · 6 comments
Labels
question Further information is requested

Comments

@digitalinformation
Copy link

digitalinformation commented Jul 19, 2023

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)
QQ图片20230719113626

@digitalinformation digitalinformation added the question Further information is requested label Jul 19, 2023
@hiroki-chen
Copy link
Contributor

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.

@digitalinformation
Copy link
Author

digitalinformation commented Jul 19, 2023

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)
QQ图片20230719185833
QQ图片20230719185825

@hiroki-chen
Copy link
Contributor

Try to add -b when invoking the command to rebuild the docker, i.e.,

./run-teaclave-services.sh -b

@digitalinformation
Copy link
Author

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

@hiroki-chen
Copy link
Contributor

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.

@digitalinformation
Copy link
Author

digitalinformation commented Jul 20, 2023

Hello, thank you again for your help, I have listed some error messages as follows, please take a look, thank you. @hiroki-chen

  1. teaclave-access-control-service | [ERROR teaclave_access_control_service_enclave] Failed to run service: Kind(UnexpectedEof) is not allowed
  2. teaclave-access-control-service | [2023-07-20T07:35:04Z ERROR teaclave_binder::ipc::app] ecall_ipc_entry_point, app sgx_error:InvalidEcnalveId
  3. teaclave-access-control-service | [2023-07-20T07:35:04Z ERROR teaclave_binder::binder] IpcError(SgxError(InvalidEcnalveId))
  4. teaclave-authentication-service | [ERROR teaclave_authentication_service_enclave] Failed to run service: Kind(UnexpectedEof) is not allowed
  5. teaclave-authentication-service | [2023-07-20T07:35:05Z ERROR teaclave_binder::ipc::app] ecall_ipc_entry_point, app sgx_error:InvalidEcnalveId
  6. teaclave-authentication-service | [2023-07-20T07:35:05Z ERROR teaclave_binder::binder] IpcError(SgxError(InvalidEcnalveId))
  7. teaclave-scheduler-service | [ERROR teaclave_scheduler_service_enclave] Failed to run service: Kind(UnexpectedEof) is not allowed
  8. teaclave-scheduler-service | [2023-07-20T07:35:09Z ERROR teaclave_binder::ipc::app] ecall_ipc_entry_point, app sgx_error:InvalidEcnalveId
  9. teaclave-scheduler-service | [2023-07-20T07:35:09Z ERROR teaclave_binder::binder] IpcError(SgxError(InvalidEcnalveId))
  10. teaclave-management-service | [ERROR teaclave_management_service_enclave] Failed to run service: Kind(UnexpectedEof) is not allowed
  11. teaclave-storage-service | [ERROR teaclave_storage_service_enclave] Failed to run service: Kind(UnexpectedEof) is not allowed
  12. teaclave-storage-service | [2023-07-20T07:35:13Z ERROR teaclave_binder::ipc::app] ecall_ipc_entry_point, app sgx_error:InvalidEcnalveId
  13. teaclave-storage-service | [2023-07-20T07:35:13Z ERROR teaclave_binder::binder] IpcError(SgxError(InvalidEcnalveId))
  14. teaclave-frontend-service | [ERROR teaclave_frontend_service_enclave] Failed to run service: Kind(UnexpectedEof) is not allowed
  15. teaclave-frontend-service | [2023-07-20T07:35:15Z ERROR teaclave_binder::ipc::app] ecall_ipc_entry_point, app sgx_error:InvalidEcnalveId
  16. teaclave-frontend-service | [2023-07-20T07:35:15Z ERROR teaclave_binder::binder] IpcError(SgxError(InvalidEcnalveId))
  17. teaclave-execution-service | [ERROR teaclave_execution_service_enclave::ecall] Failed to run service: Kind(UnexpectedEof) is not allowed

错误日志.odt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants