使用模拟模式运行gbdt示例,出现报错
运行命令:$SGX_MODE=SW PYTHONPATH=../../sdk/python python3 builtin_gbdt_train.py
出现错误:
'result': {'result': {'Err': {'reason': 'ocall error = 1'
这是什么问题呢?
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
htt
请问你是如何启动 teaclave services 的?
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/apache/incubator-teaclave/issues/444#issuecomment-745693959
> 请问你是如何启动 teaclave services 的?
(cd docker && docker-compose -f docker-compose-ubuntu-1804-sgx-sim-mode.yml up
--build)
docker-compose启动的
builtin_face_detection.py
builtin_online_decrypt.py这些都能运行成功。看了以下差异好像是builtin_face_detection.py
builtin_online_decrypt.py直接输出结果,builtin_gbdt_train.py是往链接里写
明白了,这里应该是 execution service 的 docker 无法访问 localhost 这个文件系统才出现的错误。
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/apache/incubator-teaclave/issues/444#issuecomment-745704173
一个解决方法是修改 docker compose 文件:
```patch
diff --git a/docker/docker-compose-ubuntu-1804-sgx-sim-mode.yml
b/docker/docker-compose-ubuntu-1804-sgx-sim-mode.yml
index aa5388d..b0f25aa 100644
--- a/docker/docker-compose-ubuntu-1804-sgx-sim-mode.yml
+++ b/docker/docker-compose-ubuntu-1804-sgx-sim-mode.yml
> 一个解决方法是修改 docker compose 文件:
>
> ```diff
> diff --git a/docker/docker-compose-ubuntu-1804-sgx-sim-mode.yml
> b/docker/docker-compose-ubuntu-1804-sgx-sim-mode.yml
> index aa5388d..b0f25aa 100644
> --- a/docker/docker-compose-ubuntu-1804-sgx-sim-mode.yml
> +++ b/docker/docker-compose-ubuntu-1804-
> 一个解决方法是修改 docker compose 文件:
>
> ```diff
> diff --git a/docker/docker-compose-ubuntu-1804-sgx-sim-mode.yml
> b/docker/docker-compose-ubuntu-1804-sgx-sim-mode.yml
> index aa5388d..b0f25aa 100644
> --- a/docker/docker-compose-ubuntu-1804-sgx-sim-mode.yml
> +++ b/docker/docker-compose-ubuntu-1804-
> 一个解决方法是修改 docker compose 文件:
>
> ```diff
> diff --git a/docker/docker-compose-ubuntu-1804-sgx-sim-mode.yml
> b/docker/docker-compose-ubuntu-1804-sgx-sim-mode.yml
> index aa5388d..b0f25aa 100644
> --- a/docker/docker-compose-ubuntu-1804-sgx-sim-mode.yml
> +++ b/docker/docker-compose-ubuntu-1804-
> wget http://docker_teaclave-file-service_1:6789
--2020-12-16 10:22:58-- http://docker_teaclave-file-service_1:6789/
Resolving docker_teaclave-file-service_1 (docker_teaclave-file-service_1)...
failed: Temporary failure in name resolution.
wget: unable to resolve host address ‘docker_teaclave-fil
> > wget http://docker_teaclave-file-service_1:6789
> > --2020-12-16 10:22:58-- http://docker_teaclave-file-service_1:6789/
> > Resolving docker_teaclave-file-service_1
> > (docker_teaclave-file-service_1)... failed: Temporary failure in name
> > resolution.
> > wget: unable to resolve host addre
> > wget http://docker_teaclave-file-service_1:6789
> > --2020-12-16 10:22:58-- http://docker_teaclave-file-service_1:6789/
> > Resolving docker_teaclave-file-service_1
> > (docker_teaclave-file-service_1)... failed: Temporary failure in name
> > resolution.
> > wget: unable to resolve host addre
Closed #444.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/apache/incubator-teaclave/issues/444#event-4131565360
12 matches
Mail list logo