Skip to content

ErrorCode: A0001 , ErrorMessage: creating enclave failed. DetailErrorMessage: create tee sdk enclave by native calling failed #30

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

Open
hanson-opus opened this issue Jun 1, 2023 · 14 comments

Comments

@hanson-opus
Copy link

hanson-opus commented Jun 1, 2023

instance type: aliyun compute enhance
operation system version: Linux version 5.4.0-106-generic (buildd@lcy02-amd64-093) (gcc version 9.4.0 (Ubuntu 9.4.0-1ubuntu1~20.04))
sgx driver have been installed,version:https://download.01.org/intel-sgx/latest/dcap-latest/linux/distro/ubuntu20.04-server/sgx_linux_x64_driver_1.41.bin
image

according to the readme.md ,I run helloworld by the docker image falied ,show the error message below
image

and if I run helloworld ./run.sh,it show the following eorr:
image
I think maybe there is no file named " private final static String TEE_SDK_SIGNED_PACKAGE_PATH = "lib_tee_sdk_svm_load.signed";
"

@superajun-wsj
Copy link
Contributor

Maybe it's a bug in teaclave java tee sdk. If adopt a aliyun ecs with anolis os, it's ok. We will continue debug and fix it.
image

@zeroRains
Copy link

Have it solved now? I also have the same problem.

@superajun-wsj
Copy link
Contributor

did you enable rdfsbase kernal module please?
image

@zeroRains
Copy link

I see Linux Kernel before 5.9 need to install it, but my Linux Kernel is 5.15.0. Therefore, I have ignored it.
image

@superajun-wsj
Copy link
Contributor

you'd better try to enable it again. If it still exist, could you please change the os as Alibaba Cloud Linux?

@zeroRains
Copy link

oh, It solved. May be I use a docker container of the lab's server. It lacked rdfsbase kernel module. Thanks for your help!

@zeroRains
Copy link

oh, It solved. May be I use a docker container of the lab's server. It lacked rdfsbase kernel module. Thanks for your help!

Hi! I meet a strange problem. I install the enable rdfsbase kernal module, and it exactly solve this problem. But I exit the docker teaclave/teaclave-java-tee-sdk:v0.1.0-ubuntu18.04 and re-enter it. This problem happened again.

@superajun-wsj
Copy link
Contributor

have you ever rebooted your machine, please? maybe you should enable rdfsbase kernal module again if you did that.

@zeroRains
Copy link

I didn't rebooted the machine. enable rdfsabse kernel module again means re-install it ?

@superajun-wsj
Copy link
Contributor

does it report the same error info?

@zeroRains
Copy link

yes, It is strange

@zeroRains
Copy link

oh, It solved. May be I use a docker container of the lab's server. It lacked rdfsbase kernel module. Thanks for your help!

Hi! I meet a strange problem. I install the enable rdfsbase kernal module, and it exactly solve this problem. But I exit the docker teaclave/teaclave-java-tee-sdk:v0.1.0-ubuntu18.04 and re-enter it. This problem happened again.

I used the other server to re-install and rerun, which solved this problem. I wonder whether incubator-teaclave-java-tee-sdk only can be used in the docker container? If not, how should I generate a new project outside the docker container?

@zeroRains
Copy link

oh, It solved. May be I use a docker container of the lab's server. It lacked rdfsbase kernel module. Thanks for your help!

Hi! I meet a strange problem. I install the enable rdfsbase kernal module, and it exactly solve this problem. But I exit the docker teaclave/teaclave-java-tee-sdk:v0.1.0-ubuntu18.04 and re-enter it. This problem happened again.

I used the other server to re-install and rerun, which solved this problem. I wonder whether incubator-teaclave-java-tee-sdk only can be used in the docker container? If not, how should I generate a new project outside the docker container?

oh! I solved it. Because my jdk version is too old, the archetype can not find.

@superajun-wsj
Copy link
Contributor

That's very good!!!

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

No branches or pull requests

3 participants