Huppert96 created an issue (apache/incubator-teaclave#731)

I have deploy the docker in my server. server OS is ubuntu 22.04. i have git 
clone the project from github master branch. then create docker by `docker run 
-it   -v $(pwd):/teaclave -w /teaclave --device /dev/sgx_enclave   --device 
/dev/sgx_provision  --device /dev/sgx/enclave --device /dev/sgx/provision -v 
/var/run/aesmd:/var/run/aesmd  -v /etc/localtime:/etc/localtime:ro  -v 
/etc/timezone:/etc/timezone:ro  -e SGX_AESM_ADDR=1 
teaclave/teaclave-build-ubuntu-2004-sgx-2.17.1:0.2.0`.

Then i go to the docker, and run these commands.

```
bash -c ". /root/.cargo/env && \
     . /opt/sgxsdk/environment && \
     mkdir -p build && cd build && \
     cmake -DTEST_MODE=ON .. && \
     make -j"
```

Then i go to my server, and run "incubator-teaclave/docker$ sudo 
./run-teaclave-services.sh". everything is okay.

![Image](https://github.com/user-attachments/assets/9a472067-ed69-4bfb-8823-9df4eb23e210)

Also run "/teaclave/release/dcap# ./teaclave_dcap_ref_as" in the docker.

Finally i run "./teaclave_sgx_tool attestation --url 
https://localhost:8080--algorithm sgx_ecdsa" in docker and my server. both were 
wrong. just "Error: ServiceError"

Here is the error info in teaclave_dcap_ref_as.

![Image](https://github.com/user-attachments/assets/5c5b73db-28c4-4a6e-a91d-dea9e9aabdc2)

I have tried many methods, but  no change.

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

Message ID: <apache/incubator-teaclave/issues/7...@github.com>

Reply via email to