Replies: 2 comments
-
May I know which version of Gramine you're running? Also, have you tested the RA-TLS example? |
Beta Was this translation helpful? Give feedback.
0 replies
-
Since there haven't been any updates, let's convert this issue to a discussion. We can continue there if any further questions arise. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When I run gramine-sgx ./client in CI-Examples/ra-tls-secret-prov/secret_prov_minimal , I encountered the following error message:
secret_provision_common_read: Secret Provisioning failed during read with mbedTLS error -29056
secret_provision_common_close: Secret Provisioning failed during connection close with mbedTLS error -80
[root@localhost secret_prov_minimal]# gramine-sgx ./client
Gramine is starting. Parsing TOML manifest file, this may take some time...
(host_main.c:964:load_enclave) debug: Gramine parsed TOML manifest file successfully
(host_framework.c:237:create_enclave) debug: Enclave created:
(host_framework.c:238:create_enclave) debug: base: 0x0000000000000000
(host_framework.c:239:create_enclave) debug: size: 0x0000000020000000
(host_framework.c:240:create_enclave) debug: misc_select: 0x00000000
(host_framework.c:241:create_enclave) debug: attr.flags: 0x0000000000000007
(host_framework.c:242:create_enclave) debug: attr.xfrm: 0x00000000000000e7
(host_framework.c:243:create_enclave) debug: ssa_frame_size: 4
(host_main.c:494:initialize_enclave) debug: Adding pages to SGX enclave, this may take some time...
.........
secret_provision_common_read: Secret Provisioning failed during read with mbedTLS error -29056
(libos_parser.c:1701:buf_write_all) [P1:T1:client] trace: ---- return from write(...) = 0x5f
(libos_parser.c:1701:buf_write_all) [P1:T1:client] trace: ---- write(3, 0x118d26f8, 0x25) ...
(libos_parser.c:1701:buf_write_all) [P1:T1:client] trace: ---- return from write(...) = -32
(libos_parser.c:1701:buf_write_all) [P1:T1:client] trace: ---- fcntl(3, F_GETFL, 0xffffffffffffff88) = 0x2
(libos_parser.c:1701:buf_write_all) [P1:T1:client] trace: ---- write(2, 0x10eee5dc, 0x69) ...
secret_provision_common_close: Secret Provisioning failed during connection close with mbedTLS error -80
(libos_parser.c:1701:buf_write_all) [P1:T1:client] trace: ---- return from write(...) = 0x69
(libos_parser.c:1701:buf_write_all) [P1:T1:client] trace: ---- shutdown(3, 2) = 0x0
(libos_parser.c:1701:buf_write_all) [P1:T1:client] trace: ---- close(3) = 0x0
(libos_parser.c:1701:buf_write_all) [P1:T1:client] trace: ---- write(2, 0x10eee63c, 0x3f) ...
WARNING: Closing the secret-prov context failed with error -1.
(libos_parser.c:1701:buf_write_all) [P1:T1:client] trace: ---- return from write(...) = 0x3f
(libos_parser.c:1701:buf_write_all) [P1:T1:client] trace: ---- write(2, 0x10eef31c, 0x58) ...
secret_provision_constructor: Secret provisioning failed, terminating the whole process
(libos_parser.c:1701:buf_write_all) [P1:T1:client] trace: ---- return from write(...) = 0x58
(libos_exit.c:205:libos_syscall_exit_group) [P1:T1:client] debug: ---- exit_group (returning 1)
(libos_fs_lock.c:785:file_lock_clear_pid) [P1:T1:client] debug: clearing file (POSIX) locks for pid 1
(libos_sync_client.c:331:shutdown_sync_client) [P1:T1:client] debug: sync client shutdown: closing handles
(libos_sync_client.c:346:shutdown_sync_client) [P1:T1:client] debug: sync client shutdown: waiting for confirmation
(libos_sync_client.c:359:shutdown_sync_client) [P1:T1:client] debug: sync client shutdown: finished
(libos_async.c:293:libos_async_worker) [P1:libos] debug: Async worker thread terminated
(libos_ipc_worker.c:285:ipc_worker_main) [P1:libos] debug: IPC worker: exiting worker thread
(libos_exit.c:51:libos_clean_and_exit) [P1:T1:client] debug: process 1 exited with status 1
(pal_process.c:248:_PalProcessExit) debug: PalProcessExit: Returning exit code 1
Beta Was this translation helpful? Give feedback.
All reactions