[WONTFIX] SFOS 4.6.0.15 timing out when going through a Wireguard connection

REPRODUCIBILITY: Always
OS VERSION: 4.6.0.15
HARDWARE: Xperia 10iii and Xperia 10 (others not tested)
UI LANGUAGE: English
REGRESSION: I have no idea, never tested this scenario before

DESCRIPTION:

When sending an email with attachments of ~2MB through an external Wireguard connection (basically, SFOS connects to a host in my LAN that has a Wireguard interface that then connects to another host), SFOS times out.
Seeing tcpdump, you can tell how the external host acknowledges a number of packets but SFOS stops responding. SFOS logs display a “Socket error” eventually in the logs, and a timeout error in the UI.
The same test going to the same host but outside the LAN, through the cellular connection (and thus without Wireguard in the middle), works fine.
Other applications in the LAN work perfectly fine under the exact same scenario. SFOS works fine in this scenario when sending a plain text email.

PRECONDITIONS:

  • Have an outbound mail server set up that’s accessible via a Wireguard connection in the local LAN.
  • Set up an email account in SFOS

STEPS TO REPRODUCE:

Send an email with ~2MB attachments.

EXPECTED RESULT:

e-mail sent successfully after enough time is allowed to upload the 2MB.

ACTUAL RESULT:

See description - timeout, socket error, SFOS stops doing networking.

MODIFICATIONS:

None.

ADDITIONAL INFORMATION:

There is a concern that if we use SFOS in a WLAN that’s somehow leveraging Wireguard, we might experience a very strange and erratic behaviour.

OK - I did some research/testing and it seems like this problem is not only on SFOS, which is great.
…and upon further testing, I’m suspecting that the whole problem was a slightly faulty network cable.
Now, why does this fail only on WG connections and not others is beyond me; I also suspect that a lot of people on the internet reporting such problems have a network cable issue - I just hope that they also like SFOS so that they can find a potential solution :wink: