Giter Site home page Giter Site logo

cordacon-conclave-tutorial's People

Contributors

shamsasari avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

cordacon-conclave-tutorial's Issues

Fatal error: dlopen failed: /usr/lib/x86_64-linux-gnu/libsgx_dcap_ql.so.1

I am using Standard DC1s_v2 (1 vcpus, 4 GiB memory) VM on AZURE with Linux (ubuntu 20.04) Gen 2 (pro-20_04-lts-gen2) image.
Following steps were performed in order:

Commands


git clone https://github.com/R3Conclave/cordacon-conclave-tutorial.git

./gradlew clean
./gradlew host:shadowJar

cp host/build/libs/host-all.jar /opt
chmod 777 -R host-all.jar

java -jar host-all.jar 8080

Following error was received after last command (java -jar):

dlopen failed: /usr/lib/x86_64-linux-gnu/libsgx_dcap_ql.so.1
dlopen failed: /usr/lib/x86_64-linux-gnu/libdcap_quoteprov.so.1

A fatal error has been detected by the Java Runtime Environment:

SIGSEGV (0xb) at pc=0x00007fa650f8f300, pid=27865, tid=27866

JRE version: OpenJDK Runtime Environment (11.0.10+9) (build 11.0.10+9-Ubuntu-0ubuntu1.20.04)
Java VM: OpenJDK 64-Bit Server VM (11.0.10+9-Ubuntu-0ubuntu1.20.04, mixed mode, sharing, tiered, compressed oops, serial gc, linux-amd64)
Problematic frame:
C [libjvm_host.so+0x25300] r3::conclave::dcap::QuotingAPI::~QuotingAPI()+0x26

Core dump will be written. Default location: Core dumps may be processed with "/usr/share/apport/apport %p %s %c %d %P %E" (or dumping to /home/blockadmin/core.27865)

An error report file with more information is saved as:
/home/blockadmin/hs_err_pid27865.log

If you would like to submit a bug report, please visit:
https://bugs.launchpad.net/ubuntu/+source/openjdk-lts
The crash happened outside the Java Virtual Machine in native code.
See problematic frame for where to report the bug.

Aborted (core dumped)


@shamsasari : Does the SGX VM need any further configuration before we can use it? Like SGX build or installation etc?

Request your help with the same.

Task :conclave-grpc:compileKotlin FAILED

Build failed while trying to setup the project over Ubuntu 18.04.

Java Version:
openjdk version "1.8.0_282"
OpenJDK Runtime Environment (build 1.8.0_282-8u282-b08-0ubuntu1~18.04-b08)
OpenJDK 64-Bit Server VM (build 25.282-b08, mixed mode)

Kotlin version 1.4.30-release-302 (JRE 1.8.0_282-8u282-b08-0ubuntu1~18.04-b08)
(failed with 1.4.10 as well)

Following error was received:

root@cloudvm:/opt/cordacon-conclave-tutorial# gradle host:shadowJar

Task :conclave-grpc:compileKotlin
e: /opt/cordacon-conclave-tutorial/conclave-grpc/src/main/kotlin/com/r3/conclave/grpc/ConclaveGRPCMethods.kt: (28, 54): Unresolved reference: readAllBytes
e: /opt/cordacon-conclave-tutorial/conclave-grpc/src/main/kotlin/com/r3/conclave/grpc/ConclaveGRPCMethods.kt: (33, 86): Unresolved reference: readAllBytes
e: /opt/cordacon-conclave-tutorial/conclave-grpc/src/main/kotlin/com/r3/conclave/grpc/ConclaveGRPCMethods.kt: (37, 65): Unresolved reference: nullInputStream

Task :conclave-grpc:compileKotlin FAILED

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':conclave-grpc:compileKotlin'.

Compilation error. See log for more details

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

  • Get more help at https://help.gradle.org

BUILD FAILED in 24s
1 actionable task: 1 executed
root@ticketing:/opt/cordacon-con

Any help appreciated.

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.