IPFS won't send out data

Hello, I have to ask here, because I’m out of ideas.

What I did: I set up a IPFS node on my win10 laptop, connected via VPN. I added some files and was able to view them via https://ipfs.io/ipfs/

So I installed a IPFS node onto my small Linux Server at home and cloned the files (via “ipfs get”) there. Worked like a charm.

On the Linux I can do “ipfs cat” and it works. However if I try to “cat” a file which is on the node nothing happens. Also the node does not seed files to the network. (so if I request them https://ipfs.io/ipfs/ nothing happens).

The Linux PC is inside a private network, but it’s placed inside the DMZ of the router. So every request from the outside is directly directed to the PC. I doubt thats it’s a network issue…

Any ideas how I can debug why it won’t seed data into the network?

You can check to see if you have any connections with ipfs swarm peers.

On the Linux I can do “ipfs cat” and it works. However if I try to “cat” a file which is on the node nothing happens. Also the node does not seed files to the network. (so if I request them https://ipfs.io/ipfs/ nothing happens).

On which node did you add the file, on which node did you try to cat it?

Oh … shit - I’m stupid

“ipfs get” just downloads the file and does not add it to the node. I noticed that the blocks directory is empty.

when I do “ipfs add” and then one of the downloaded hash-filename it adds the file to the node. Since the hash stays the same because the file did not change the node starts to seed the file…

Now I have the next issue. http://127.0.0.1:5001/webui opens a website, but I can’t see any information. It’s like the layout is there but not beeing filled :frowning:

Uh… it should have been added to your local repo (unless you ran a GC after downloading the file). Was the daemon running at the time? Are you sure you’re looking at the same machine, the right repo?

Now I have the next issue. http://127.0.0.1:5001/webui opens a website, but I can’t see any information. It’s like the layout is there but not beeing filled :frowning:

Which version? The webui is in serious need of some love. If possible, I recommend you try compiling go-ipfs from master (we’ve merged some fixes that make it work significantly better). Alternatively, you can try ipfs-desktop (a desktop-app) but its still a young project.

Hello,

yes it’s the right machine and the right directory. Actually after doing ipfs add the dir got bigger and blocks were added.
I’m using ipfs version 0.4.13.

Daemon was also running.

I also found out why the webui did not show anything. I mapped a local port via putty to my pc, because the ipfs pc does not have a KDE or XORG installed. If I do http://127.0.0.1:5001/webui it won’t be filled unless I change the allowed hosts in the ipfs config to “*”. It’s a bit odd because the service ip is 127.0.0.1, but I guess my FireFox sends my local (remote) ip and therefore it loads the template but not fills it with informations.

Well in basic it works now. I don’t care that it’s a young project, since I love open source and start to hate YouTube more and more due to their stupid changes of rules, strikes and now the ad-kill for <1k channels.

Therefore I want to contribute my part to d.tube even if I have to self host my videos on my own node :wink: