simplex-chat / simplexmq

⚙️ SimpleXMQ - A reference implementation of the SimpleX Messaging Protocol for simplex queues over public networks.
https://simplex.chat
GNU Affero General Public License v3.0
535 stars 62 forks source link

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

Open nicfab opened 1 year ago

nicfab commented 1 year ago

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.

vecna13 commented 1 year ago

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.