net-ipfs-engine icon indicating copy to clipboard operation
net-ipfs-engine copied to clipboard

Text uploaded from a sample doesn't show up on ipfs.io

Open betsegaw opened this issue 4 years ago • 3 comments

After running the below code, block shows up in the .csipfs folder but using the ipfs.io link does not have it show up. What am I missing?

https://ipfs.io/ipfs/QmW6kQdgmoJcm2zhSa5m99PGQFTdLSQ6jS6KyH2wxSkE9f

Also, I have tested this from a docker container in the same box with ipfs installed and that has strings showing up near instantly on the page.

Note: If you are testing out the below code, please do replace "Prime Minister Aubsh" with something else so that you don't accidentally not reproduce the issue. Edit: It now shows up from the link above so you will need to switch out the string with some other random string to demo the issue.

Thanks for your help!

       static void Main(string[] args)
        {
            AnAsyncThread().Wait();
        }

        static async Task AnAsyncThread()
        {
            var ipfs = new IpfsEngine("test".ToCharArray());
            await ipfs.StartAsync();

            await ipfs.FileSystem.AddTextAsync("Prime Minister Aubsh");
 
            while(true)
            {
                Thread.Sleep(90000);
            }
        }

betsegaw avatar Mar 12 '20 07:03 betsegaw

Also, its worth mentioning that I am doing this on .NET Core 3.1

betsegaw avatar Mar 12 '20 07:03 betsegaw

Hello! Just wanted to see if I could get any traction in this issue.

betsegaw avatar Apr 08 '20 17:04 betsegaw

Same issue here, and here : https://github.com/richardschneider/net-ipfs-engine/issues/158 Basically i believe it's either a NAT type of barrier between you and your peers, or just having not enough peers to know you (and possibly work as a relay because of you being behind a NAT) - hoping richard would come clear on this :/

xAlexShadowx avatar Apr 09 '20 11:04 xAlexShadowx