-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
running gramine-direct /geth fails, geth runs without gramine #15
Comments
I can confirm the problem:
Perhaps the patched version of flashbots'
Probably because of high memory usage...
UpdateI've just realized that I compiled the project with:
as suggested in
More details from
Also, I needed to replace |
I believe the above error may be due to the PCCS misconfiguration as the
(similar issue here?) Any help would be appreciated! |
I've just followed this Intel's tutorial on how to set up Intel DCAP and
On the other hand
Anyway, that sounds like progress! |
@pbeza Great that you could figure out the attestation part on your own!
Yes, the way the
For Sepolia you will need 64GB, the whole DB will be kept in Memory, and geth will OOM during sync with only 16GB. You can add a sufficiently large swap file to prevent OOM issues. Are you running on an SGX1 or SGX2 machine?
Should be fixed in latest commit. |
SGX2 (
Great, thank you for fixing that @lead4good! Now, after recompiling the project and running
Relevant patch causing this? (just blindly guessing) |
Just for sake of completeness – the above problem affects Docker-based environment too. You can easily reproduce by running:
(however, I'm not sure if this is the "canonical" way to build and run this project – README doesn't explain this) Note that I am using |
@pbeza I can't reproduce the issue you are having. My guess is that this is a file permission error and gramine isn't forwarding the error properly. E.g. look at this:
Why is the endpoint closed immediately? So please:
|
If it was a permissions issue, I think running
(but it doesn't) @lead4good I forgot to mention that I had to comment out this line of geth-sgx-gramine/docker-compose.yml Lines 11 to 12 in f2c77c0
Perhaps this is the root cause of the problem? Can you clarify if I need the builder.env file and where it comes from? Do I need to manually create it and define some environment variables in there to be able to run sgx-geth successfully? I see that there are some environment variables listed in the README , but I (wrongly?) assumed that they were assigned with some default values that allow sgx-geth to run.
|
@pbeza do you still need help resolving this issue? |
Nope, we can close it. Thanks for asking. |
[GETH_INIT] User requested RA-TLS attestation but cannot read SGX-specific file /dev/attestation/attestation_type
[GETH_INIT] creating RA-TLS attestation certificate failed. Aborting...
The text was updated successfully, but these errors were encountered: