Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error Adding my own XFTP server #811

Open
rmsalinas opened this issue Jul 23, 2023 · 6 comments
Open

Error Adding my own XFTP server #811

rmsalinas opened this issue Jul 23, 2023 · 6 comments

Comments

@rmsalinas
Copy link

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!

@egreek
Copy link

egreek commented Sep 2, 2023

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.

@spaced4ndy
Copy link
Collaborator

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.

@egreek
Copy link

egreek commented Sep 4, 2023

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.

@epoberezkin
Copy link
Member

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

@nicfab
Copy link

nicfab commented Sep 20, 2023

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

@davilico05
Copy link

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>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants