【问题】我在操作 sudo phala sgx-test 指令 返回error while doing remote attestation: SGX_ERROR_SERVICE_TIMEOUT’, src/lib.rs:448:132
【操作复盘】我当时进行了 sudo phala sgx-test 操作
【报错信息】Sleep 6s
aesm_service[15]: The server sock is 0x556e3f3a5340
Detecting SGX, this may take a minute…
aesm_service[15]: Malformed request received (May be forged for attack)
aesm_service[15]: InKernel LE loaded
aesm_service[15]: InKernel LE loaded
aesm_service[15]: InKernel LE loaded
aesm_service[15]: InKernel LE loaded
aesm_service[15]: InKernel LE loaded
aesm_service[15]: InKernel LE loaded
aesm_service[15]: InKernel LE loaded
aesm_service[15]: InKernel LE loaded
SGX instruction set
CPU support
CPU configuration
Enclave attributes
Enclave Page Cache
SGX features
✘ SGX2 ✘ EXINFO ✘ ENCLV ✘ OVERSUB ✘ KSS
Total EPC size: 94.0MiB
Flexible launch control
CPU support
? CPU configuration
Able to launch production mode enclave
SGX system software
SGX kernel device (/dev/sgx/enclave)
libsgx_enclave_common
AESM service
Able to launch enclaves
Debug mode
Production mode
Production mode (Intel whitelisted)
You’re all set to start running SGX programs!
Generated machine id:
[83, 196, 134, 254, 138, 44, 16, 204, 29, 126, 242, 62, 34, 145, 231, 6]
CPU Cores:
8
Encoded runtime info:
[1, 0, 0, 0, 83, 196, 134, 254, 138, 44, 16, 204, 29, 126, 242, 62, 34, 145, 231, 6, 2, 107, 164, 141, 224, 30, 4, 107, 142, 82, 120, 14, 99, 90, 27, 216, 190, 60, 169, 184, 117, 176, 67, 185, 138, 179, 86, 9, 163, 200, 18, 87, 170, 8, 8, 0, 0, 0, 1, 0, 0, 0]
Testing RA…
aesm_service[15]: [ADMIN]EPID Provisioning initiated
aesm_service[15]: The Request ID is acb69595fb8c4ad598281f11793fb4ec
aesm_service[15]: The Request ID is 4cf1e9a26bb64b6ab846fbc95a8ababb
thread ‘’ panicked at ‘error while doing remote attestation: SGX_ERROR_SERVICE_TIMEOUT’, src/lib.rs:448:132
note: Call backtrace::enable_backtrace with ‘PrintFormat::Short/Full’ for a backtrace.
fatal runtime error: failed to initiate panic, error 5
./start_sgx_detect.sh: line 20: 41 Illegal instruction (core dumped) ./app
【补充说明】SGX_ERROR_SERVICE_TIMEOUT