Comments (6)
@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.
@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.
@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.
@lacabra are you still experiencing this issue? I'm interested in making order in the KM issues. Thanks!
from enigma-core.
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.
@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)
- Core produces a delta when the function seems to not change the state
- System error if wrong contract address is passed to the secret contract computation
- The principal node returns Error when it's tried too many times HOT 3
- KeyManagement node randomly failed to start HOT 1
- In simulation mode, the quote is returned in ASCII instead of bytes
- KeyManagement: Cannot lock EpochState: WouldBlock HOT 2
- KM node panics if signature is bad length HOT 1
- Align `GetContract` IPC message to P2P HOT 1
- Move code output from verbosity level 2 to 3 HOT 4
- expected value, found struct variant `EnumVariation::Rust` HOT 2
- error: 'rustfmt' is not installed for the toolchain 'nightly-2019-05-20-x86_64-unknown-linux-gnu' HOT 1
- Remove km stack trace from EpochStateTransitionErr HOT 2
- Change the block_number type to u256 number in the KM JSON RPC
- Compilation Error `bytes32` type in Eth Contracts HOT 2
- Undocument Prefix After Decrypting Outputs of a computation
- Possible typo in array initialization in erc20 secret contract example HOT 8
- A couple of issues with crypto_wasm::encrypt
- cargo test -- --ignored failed HOT 2
- how to run enclave test?
- ENG:SCRT swap ratio HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from enigma-core.