I am having a weird issue with torrents on ubuntu 20.04. Whenever I try torrenting the torrent gets stuck at "loading metadata from 0 peers". I tried adding more trackers, forwarded the port set in my torrent client through my router (checked and the ports where open), changed network adapter and messed with proxy settings (Including no proxy), used multiple different clients including Transmission and QBitTorrent and nothing works. Anyone having any similar issues? Any solutions? Thanks!
Two things you can check here that I came across while configuring qbittorent on Ubuntu 20.04.
Is UFW enabled? You can check with sudo ufw status verbose If so, you can quickly test if this is preventing progress by temporarily disabling: sudo ufw disable If it works after this, check the docs for your particular application and see what firewall rules need added. Don't forget to re-enable after validating this isn't the issue, or getting the proper rules in place.
Does the application account have permission for the directory it's saving the file to? Say you are saving to /mnt/data/torrents. The user account the torrent software is running as needs to be able to read and write there. In my case, I make the qbittorent user the owner of the download directory. Using the example directory above, you can change the owner/group with sudo chown user_in_question:user_in_question /mnt/data/torrents
Otherwise, the problem lies in your network config. If this is simply a home server/workstation then there is no need for a proxy to be configured unless you are attempting to circumvent geographical limitations. If you are not on a home network, but a corporate one or public one then there is a good chance that p2p file-sharing is blocked somewhere upstream.
I have the same issue. I use VPN and do not have a proxy configured in the application. The only way I have found to get the torrents to start is to stop the torrent, change the port in the settings and then start the torrent again. I am still looking for a solution to this. There does seem to be a known issue with regards to using a Proxy but in my case that is not relevant.
Same here, after I updated to Ubuntu 20.04 Transmission stucks at medatadata. I installed qBittorrent and it is working for me. I know you said you tried it already; but this is how I did it, it might help someone:
How to install qBittorrent:
Set the number of connections to something like 20, and set both incoming and outgoing TCP port to 1194 (VPN). Then set the encryption to enforced. This way, you'll slip over your ISP's radar.