-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Error: nippy jar error: 拒绝访问。 (os error 5) #9747
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
Comments
This is an access denied error, please check that the user running the node has R/W access to your node's data directory. |
I am double checked that the user running the node has R/W access to your node's data directory. |
I confirm that there are no issues with read and write permissions. If you have Windows, you can run it and see what problem I'm referring to. |
I'm facing the same issue: Error: nippy jar error: Acceso denegado. (os error 5). This is with the tutorial hello_world of exex |
@lucyzhang314 I solved it by running reth in WSL (Ubuntu 20.04), seems that for windows it's not fully prepared |
I ran into this problem and troubleshooted it. The bug is caused by this line of code in ./crates/storage/nippy-jar/src/lib.rs: This is trying to open a directory. However on Windows this only works for files. Fixed this by filtering out the code in case of Windows: This is what the complete fixed code looks like:
And of course the use clause...
With this change the node is starting just fine. Should I create a PR? |
Actually here is the correct solution after checking how to do Modify ./crates/storage/nippy-jar/src/lib.rs: Add:
Replace:
...with
|
that makes sense |
yes assign to me. |
Co-authored-by: joshieDo <[email protected]>
Uh oh!
There was an error while loading. Please reload this page.
Describe the bug
Error: nippy jar error: 拒绝访问。 (os error 5)

Steps to reproduce
1 run reth on windows 2 see the bug

Node logs
Platform(s)
Windows (x86)
What version/commit are you on?
reth Version: 1.0.3
Commit SHA: 6ce7c9e
Build Timestamp: 2024-07-23T23:07:46.325152100Z
Build Features: jemalloc
Build Profile: debug
What database version are you on?
2024-07-23T23:20:16.474702Z INFO Initialized tracing, debug log directory: C:\Users\10200\AppData\Local\reth\logs\mainnet
Current database version: 2
Local database version: 2
Which chain / network are you on?
mainnet
What type of node are you running?
Archive (default)
What prune config do you use, if any?
[stages.prune]
commit_threshold = 1000000
If you've built Reth from source, provide the full command you used
cargo build
Code of Conduct
The text was updated successfully, but these errors were encountered: