simplexmq icon indicating copy to clipboard operation
simplexmq copied to clipboard

Impossible to add SMP or XFT address with the onion address if ports are not those by default

Open nicfab opened this issue 2 years ago • 1 comments

I had to set SMP/XFTP different ports from those by default because other services already took them. I also set TOR and have an address for SMP and XFTP. So I have the SMP/XFTP addresses like smp/xftp://<fingerprint>@<public_hostname:port>. When I go into the settings of the SimpleX Chat app to create a new SM/XFTP server, I add the address smp/xftp://<fingerprint>@<public_hostname:port>[,<onion_hostname>] but unfortunately the field "Test server" is not active. I had to delete the TOR address to become active in the feature "Test server", and only in this way, it works. I suggest reviewing this configuration because it limits who cannot use the default ports.

nicfab avatar Sep 20 '23 13:09 nicfab

I was able to add my XFTP server (running on non-default port, with a Tor address) with the syntax xftp://<fingerprint>[:<password>]@<public_hostname>[,<onion_hostname>][:<port>] (i.e., specify the port after the onion address, and it should apply to both hostnames). I assume the same works for SMP.

This should be better documented in the hosting guides.

vecna13 avatar Oct 22 '23 05:10 vecna13