streetwriters / notesnook

A fully open source & end-to-end encrypted note taking alternative to Evernote.
https://notesnook.com/
GNU General Public License v3.0
8.86k stars 532 forks source link

Sync only works on VPN connection #5930

Open m3thm4th opened 2 weeks ago

m3thm4th commented 2 weeks ago

What happened?

On my Android phone, when connected to my router via WiFi, sync doesn't work, neither does force sync. My router acts as a VPN server, if I connect to my router's VPN, while being connected to the same WiFi access point, thus tunneling all traffic from the router to the router itself, meaning IP address and all the rules (firewall, DNS, etc.) stay the same, sync works correctly.

This is true for any WiFi connection and any VPN server, I described the fact that this behavior is consistent even when the VPN server is the same router as the untunneled connection to emphasize the absurdity of this behavior.

Steps to reproduce the problem

Android -> WiFi AP -> Router -> Internet => sync doesn't work

Android -> WiFi AP -> Router -> Internet -> Back to the same router via VPN -> Internet again => sync works | --------------------------- VPN tunnel --------------------------- |

Version

3.0.9 (the latest available at the time of writing)

Platform/OS

Android

Relevant log output

No response

stevesbrain commented 2 weeks ago

As in, if you connect to someone else's router and do the same VPN behaviour, it produces the same behaviour?

m3thm4th commented 2 weeks ago

Yes Steve

stevesbrain commented 2 weeks ago

Does this only happen on your Android phone? To me, it does sound more specific to your device, if it is reproducible across unrelated infrastructure.