Coder Social home page Coder Social logo

Comments (6)

lacabra avatar lacabra commented on June 22, 2024

@elichai: I have seen this error thrown by core as well. Upon retry, the request would succeed, but there are not retries built in.

from enigma-core.

fredfortier avatar fredfortier commented on June 22, 2024

@lacabra There principal node isn't explicitly retrying these requests. It is calling equote::get_report. You are correct that get_report does not implement any retry mechanism. Do you suggest that the ppal node should retry or including the retry logic in equote::get_report? The latter seems more appropriate to me unless we have reasons to do otherwise.

from enigma-core.

lacabra avatar lacabra commented on June 22, 2024

@fredfortier As I mentioned above both core and the KeyMgmt suffer from the same issue, so I would suggest to implement the retry in their common code, presumably in equote::get_report as you suggest

from enigma-core.

AvishaiW avatar AvishaiW commented on June 22, 2024

@lacabra are you still experiencing this issue? I'm interested in making order in the KM issues. Thanks!

from enigma-core.

lacabra avatar lacabra commented on June 22, 2024

I have not experienced this particular issue recently, but I don't think this has been addressed either, and in my opinion is worth improving: adding retrials for both core and the km to get the report from our IAS proxy. We are trying to avoid that if for any reason the first attempt fails, either piece of code would crash and bring down the node.

from enigma-core.

lacabra avatar lacabra commented on June 22, 2024

@AvishaiW (Cc: @moriaab): I have experienced this issue twice right now, once with core and once with the km on different runs. Then it went away. It appears that the Remote Attestation proxy was momentarily unreachable. Can you implement a retry (ideally with an exponential backoff like we have in other parts of contract and p2p for other requests that depend on fetching requests across the network)?

As far as I can tell it is hard to reproduce because it depends on sgx.enigma.co being temporarily down.

from enigma-core.

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.