Giter Club home page Giter Club logo

Comments (5)

llly avatar llly commented on August 20, 2024

SGX_QL_ERROR_UNEXPECTED = SGX_QL_MK_ERROR(0x0001), ///< Unexpected error

It's unexpected error, comes from unhanded error code. Cnould you please build debug binary with DEBUG=1 and install then run again? More detailed log will be printed.

from sgxdatacenterattestationprimitives.

chao-novovivo avatar chao-novovivo commented on August 20, 2024

Also, get the same error of Oxe001.
------------ error ---------------
This step is optional: the default enclave load policy is persistent:
set the enclave load policy as persistent:succeed!
Step1: Call sgx_qe_get_target_info:Error in sgx_qe_get_target_info. 0xe001
------------- Solutions -----------------
Solution1: Make with DEBUG = 1, no information output.
Solustion2: Changing the function defined in /quote_wrapper/ql/sgx_dcap_ql_wrapper.cpp. Could not cout anything.
Any advice for debugging.Thanks

from sgxdatacenterattestationprimitives.

jdbeaney avatar jdbeaney commented on August 20, 2024

Typically, this error can occur if you have not installed the DCAP driver. In DCAP 1.2, I believe you will get a more descriptive error in this case. Are you running with DCAP 1.1 or DCAP 1.2? Can you attach the trace log you got when you built and ran with DEBUG=1?

from sgxdatacenterattestationprimitives.

chao-novovivo avatar chao-novovivo commented on August 20, 2024

Hi,
Thanks for your prompt response. I am using DCAP 1.1. By the way, where could I find the trace log file or should I set the file path in any file? Thanks for your time.
Best,

from sgxdatacenterattestationprimitives.

jdbeaney avatar jdbeaney commented on August 20, 2024

The tracing (when building with DEBUG=1) is implemented in the https://github.com/intel/SGXDataCenterAttestationPrimitives/blob/master/QuoteGeneration/common/src/se_trace.c and the output will be in stdout or stderr based on the traces debug level.

from sgxdatacenterattestationprimitives.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.