incubator-teaclave-java-tee-sdk icon indicating copy to clipboard operation
incubator-teaclave-java-tee-sdk copied to clipboard

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

Open hanson-opus opened this issue 2 years ago • 14 comments

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"; "

hanson-opus avatar Jun 01 '23 03:06 hanson-opus

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

superajun-wsj avatar Jun 05 '23 02:06 superajun-wsj

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

zeroRains avatar Nov 22 '23 01:11 zeroRains

did you enable rdfsbase kernal module please? image

superajun-wsj avatar Nov 22 '23 01:11 superajun-wsj

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

zeroRains avatar Nov 22 '23 01:11 zeroRains

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

superajun-wsj avatar Nov 22 '23 01:11 superajun-wsj

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 avatar Nov 22 '23 02:11 zeroRains

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.

zeroRains avatar Nov 22 '23 07:11 zeroRains

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

superajun-wsj avatar Nov 22 '23 08:11 superajun-wsj

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

zeroRains avatar Nov 22 '23 08:11 zeroRains

does it report the same error info?

superajun-wsj avatar Nov 22 '23 08:11 superajun-wsj

yes, It is strange

zeroRains avatar Nov 22 '23 08:11 zeroRains

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 avatar Nov 22 '23 12:11 zeroRains

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.

zeroRains avatar Nov 23 '23 02:11 zeroRains

That's very good!!!

superajun-wsj avatar Nov 23 '23 02:11 superajun-wsj