-
-
Notifications
You must be signed in to change notification settings - Fork 1
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
Migration never finishes, stalls on ipfs.cat call #7
Comments
I haven't found a solution for this yet, but I did add an extra message about what it's doing. Which is creating a UCAN based on your root proof, which is retrieved via IPFS (IPFS is the slow part). Message is present in |
I added some extra debugging to my local clone of the script. In the second part of the process, the script stalls in the `` function here: I split out the inline calls in this statement - the call to ipfs.cat seems to return something with this type |
@icidasset / @matheus23 Is there a way to make the ipfs connection provide verbose logging? |
That's really hard unfortunately. It taking more than... instant, means that for whatever reason what you're requesting isn't on your machine. But it should be! I'm not sure why it can't find it. So what exactly is happening is this: You locally have a UCAN that authenticates you against your account's root DID. I've talked to Brooke about this a while ago, we agreed that it would be better to store that UCAN somewhere else: https://talk.fission.codes/t/webnative-on-nodejs/2240/5 What I'm saying is that we've been planning to do something that would've mitigated this issue for you! |
I have performed some local testings based on the information on this comment and found that the CID never resolves and the DHT search revealed that no peer is providing it. I have established the connection manually to all the address i believe to be the Fission IPFS Cluster inside the
Besides the local daemon, I have tried to access it through the CID directly through the |
Yeah thanks for confirming that @ngeojiajun.
|
I'm thinking the root cause of this issue was switching from re-using the fission CLI's This causes this issue, because then js-ipfs doesn't use the same blockstore that We can fix this by specifically calling go-ipfs for resolving the |
In my situation, the fission-ipfs also do not resolves it. Is it pinned by default during the |
Yeah exactly, that's what should've happened @ngeojiajun 🤔 |
@ngeojiajun can you please try out |
@matheus23 In progress.... and the |
@matheus23 Update: the UCAN is created and the actual request is seems sent. just my network is bottlenecking the actual upload.
|
@ngeojiajun Okay, this process can time out. However, it makes progress even if it's interrupted, so I've uploaded a new version which re-tries to update the data root in case it timed out. Please try it with the updated branch 🙏 |
Ok, will try it if it is timed out later on |
@matheus23 can i know how long it should times out because the updating process tooks over an hour and it do not finish and the iftop shows that there are no network activity. However the query with the url
|
@therealjeffg can you make sure this issue is resolved? |
@matheus23 @walkah AFAICT this is not resolved or at least the migration does not complete. See #14 |
I ran the migration script from a git checkout and the process was initially very slow but seems to have completely stalled at the last step:
After agreeing to overwrite, the terminal sits for a very long time ( 1+ hour and still going ) with no feedback.
The text was updated successfully, but these errors were encountered: