-
Notifications
You must be signed in to change notification settings - Fork 93
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
I Made A Hot Storage Deal And I Still Can't Access The Content on IPFS #858
Comments
it sounds like you are running this in a way where your IPFS node isn't accessible to the IPFS network. here is a good discussion w/ different checks & solutions https://discuss.ipfs.io/t/added-a-file-but-its-not-accessible-on-gateway/4667/5 |
Awesome thanks for the info I'm spinning up my Powergate node now to troubleshoot. |
Now I can't access my install anymore. I had to move my install to another computer and now the lotus node just says this:
Every time I try to fix a problem with this I just get more problems lol. Does anyone know what this error means? |
The Lotus node can be somewhat complex to operate and I've deal (and still do) with some errors like that one. To be clear, that's not particularly related to Powergate but is more like a Lotus question. For that error you can:
|
Okay I did what you said. I went to the docker directory of the repo then Now I get the following error:
I restarted the node and now I got this more complete error
|
That's just a warning which is pretty common. Like, does: |
Oh nice, yeah It looks like it's working. This is the result.
|
Wtf... now the messages are making no sense
the diff is higher but Todo is 0???? |
Now the number is going up
|
Diff should be going down. Considering your 4k TODO you definitely want to sync from a snapshot again. After the import you'll be ~300 blocks await from the tip. |
Nope, still not working. I re-sunk the lotus node following your link. It still won't sync. The diff just keeps growing and not syncing a single block. Here it is at 10:47PM EST And here it is at 10:57PM EST I did the re-sync exactly as your link said.
And it's still not syncing. the Diff just keeps getting bigger... wtf... ????!!!! |
I tried the 10 steps again and now I get this error at step 4: |
Most probably some step above wasn't executed correctly. (e.g: yesterday I pruned some nodes doing exactly that).
|
Now it liturally won't even let me start the node. I get this now... "lotus_1 | ERROR: initializing node: starting node: could not build arguments for function "github.com/filecoin-project/lotus/node/modules/lp2p".StartListening.func1 (/lotus/node/modules/lp2p/addrs.go:98): failed to build host.Host: could not build arguments for function "reflect".makeFuncStub (/usr/local/go/src/reflect/asm_amd64.s:12): failed to build lp2p.BaseIpfsRouting: could not build arguments for function "reflect".makeFuncStub (/usr/local/go/src/reflect/asm_amd64.s:12): failed to build dtypes.NetworkName: could not build arguments for function "reflect".makeFuncStub (/usr/local/go/src/reflect/asm_amd64.s:12): failed to build dtypes.AfterGenesisSet: received non-nil error from function "reflect".makeFuncStub (/usr/local/go/src/reflect/asm_amd64.s:12): getting genesis block failed: blockstore: block not found" This is beyond frustrating... |
I'm sorry to hear that. I hope solving this Lotus problem can be easier, but usually deleting the state and spinning again from a snapshot usually solves all the problems. |
It's not your fault and I'm really sorry to be such a pain with this. I just really want to incorporate Filecoin as the backend of my storage app and for some reason that's proving to be impossible. I will file a bug request with Lotus to see what they say. Again I really appreciate your help and I love all that you guys do. Please keep following this issue thread as I continue to post updates and ask for help regarding this situation. I really appreciate that you guys have been helping me along the way. |
We're working on a new and easier solution to allow people like you use Filecoin for your products. |
Oh wow that would be amazing! Please keep me posted on that. You can reach me through Github or contact me on Reddit as "u/warpanomaly" or Twitter as "OConnorROCKS" Thanks again! |
I made a hot storage deal and I still can't access the content on IPFS. The content that I put into this deal is the directory of a static website. When I double click the
index.html
file in Windows Explorer, it opens perfectly in Firefox so I know the website works. I tried to access it withhttps://ipfs.io/ipfs/<CID>
andhttps://<CID>.ipfs.dweb.link
but they both failed. I did the deal perfectly. I did it exactly to spec for a hot storage deal which I believe is the way to get your content on IPFS. Here's what I did to make my storage deal.My config file aka
config-new.json
looks like this.git clone https://github.com/textileio/powergate.git
cd powergate/
cd docker/
nano docker-compose.yaml
where I added "["lotus", "daemon", "--import-snapshot", "https://fil-chain-snapshots-fallback.s3.amazonaws.com/mainnet/minimal_finality_stateroots_latest.car"]" between lines 32 and 33.make up
^C
thenmake down
then deleted the line "["lotus", "daemon", "--import-snapshot", "https://fil-chain-snapshots-fallback.s3.amazonaws.com/mainnet/minimal_finality_stateroots_latest.car"]" from docker-compose.yamlmake up
cd ..
so I was in the repo's root directory, thenmake install-pow
pow
command in my GOPATH I typedpow
to make sure pow was linked fine topowd
. It was.pow admin users create
export POW_TOKEN=<token copied to here>
pow wallet addrs
and funded the addresspow data stage <my-static-site-folder>
pow config apply --watch <CID> -c custom-080121-hot-config.json
waited a long time and it worked! I had a Filecoin deal that was duplicated across 2 miners.So I now have a storage deal but the directory still isn't on IPFS. Why won't it work?
The text was updated successfully, but these errors were encountered: