simplexmq icon indicating copy to clipboard operation
simplexmq copied to clipboard

Error Adding my own XFTP server

Open rmsalinas opened this issue 2 years ago • 6 comments

I have succesfully configured my own SMP and XFTP server in Ubuntu. In the android app, I am able to add the SMP server. However, when I try to add the XFTP server I have the following problem.

I am able to add it, and test it. But at the moment of saving them I get the message (translate from spanish)

Error saving SMP servers: Make sure the addresses of the XFTP server have the correct format, and separated by commas and are not duplicated.

I believe this is a bug in the program at the moment of saving them. Thanks for your excellent work!

rmsalinas avatar Jul 23 '23 12:07 rmsalinas

I faced with the same problem and found that SimpleX doesn't save your XFTP server config if it's IP address equals to IP address in the SMP config. I don't really know is it a bug or feature, but you can try to solve it by using additional IP address.

egreek avatar Sep 02 '23 17:09 egreek

If servers are hosted on the same IP address, try explicitly specifying ports in server addresses you're configuring in your client. It's <smp/xftp>://<fingerprint>@<hostname>:<port> - so you'd add :<port> to the end of the addresses. It should be 5223 for smp and 443 for xftp by default, but you can double check in /etc/opt/simplex/smp-server.ini and /etc/opt/simplex-xftp/file-server.ini.

spaced4ndy avatar Sep 04 '23 09:09 spaced4ndy

If servers are hosted on the same IP address, try explicitly specifying ports in server addresses you're configuring in your client. It's <smp/xftp>://<fingerprint>@<hostname>:<port> - so you'd add :<port> to the end of the addresses. It should be 5223 for smp and 443 for xftp by default, but you can double check in /etc/opt/simplex/smp-server.ini and /etc/opt/simplex-xftp/file-server.ini.

I also found it's working yesterday. This solution is correct.

egreek avatar Sep 04 '23 09:09 egreek

yes, we still didn't address the restriction that these two servers cannot be on the same host without explicitly specifying the port.

epoberezkin avatar Sep 04 '23 14:09 epoberezkin

I have the same issue, although I set data correctly in /etc/opt/simplex-xftp/file-server.ini.

nicfab avatar Sep 20 '23 13:09 nicfab

try explicitly specifying ports in server addresses you're configuring in your client. It's <smp/xftp>://<fingerprint>@<hostname>:<port> - so you'd add :<port> to the end of the addresses.

Same issue with the app solved adding the :<port>

davilico05 avatar Mar 27 '24 15:03 davilico05