Flatpak bundle can't interact with the DHT

I’m working on Bittorrent-based app, that implements some DHT features (for the network data exchange)

It is accessible, work in browser, loading the data but warns me about DHT network is unreachable. I suppose it could be related with some sandbox permissions as this feature works well without Flatpak container.

Not sure yet; it might be a bug in the app related to the environment I’m using. Please let me know if I forgot to set any permissions that are typically required for BitTorrent apps running inside the sandbox container. Or the ports forwarding (like some VM requires)…

Also, if you have an example of any working BT app manifest, that could be helpful!

If you suspect that it is related to sandbox permissions, you can take a look at the manifests of similar pieces of software such as qBittorrent. I’m guessing share=ipc is somehow necessary for connecting to DHT?

1 Like

Thanks for your suggestion, but unfortunately, there are no results with share=ipc

I recently opened the app again and found that it is now connectable. So, this issue was not related to the Flatpak permissions but rather to internal P2P network connectivity issues.

By the way, the share=ipc option is not required in my case.