-
Notifications
You must be signed in to change notification settings - Fork 38
Getting "Sync unreachable" for existing self-hosted install (with Android app) #89
Comments
I am having a similar issue, and just came here to make an issue. If this is a separate problem I will make my own issue thread. I am unable to use the app, or self-hosted web app on android to connect to my server (over VPN) using the local domain or IP address (using http) on android. The windows client works fine (but also not the web app from windows). |
If you do mean HTTP as opposed to HTTPS, I think I remember the app refusing to connect over unencrypted HTTP, so it has to be HTTPS. (And if you're trying to use a local domain name or IP address, that may break things since the TLS certificate probably won't match.) |
I set When I open the (broken) Android app and try to sync / log in, I don't see any such log entries, so it seems like it's not even getting to the server. When I moved the server the IP address changed, so I had updated the DNS, but the changes should have propagated by now. As evidence they have, even aside from the fact the iPhone app works, when I visit my SN domain from a web browser on the same Android device, I correctly see the "Welcome to Standard Notes..." page, so it must be able to reach the server. Would there be some reason that the Android app would be stuck on the old DNS result? I even tried completely deleting and reinstalling the app, but even that didn't help. |
@501st-alpha1 Thanks, got it fixed.
I am having this same issue. Nothing is showing up in the logs when attempting to authenticate with an android device. Tested using: Error: "Unknown error." displayed in App and Browsers. Setup: Steps: Phone connected via Wifi to Access Point Logs: TCPdump shows TCP and TLS handshake between remote host and client when using the android application Observation: Example 1: Example 2 Intended Result: |
I'm having some trouble syncing with my self-hosted Standard Notes install for some reason; when I run the Android app and make a change it spins for a second trying to save but then says "Sync unreachable". It was working for me previously, but then I needed to move the server, so it was down for a few weeks before I got around to plugging it back in (and I may have updated the app in the meantime). I updated the server to the latest version, but that didn't help either.
The instance that I'm having trouble with is an Android install of SN, v3.45.4 (3002288). I also have an older version of the iPhone app, v3.35.12 (169), as well as a fresh install on Linux, v3.23.280.
What works:
What doesn't work:
In either case I don't see any errors come in while watching the server logs (
./server.sh logs
).Output of
./server.sh version
:Is there a way to enable more verbose logging, either for the Android app or server-side? Or is there anything else I can try (short of deleting my data and starting over)?
The text was updated successfully, but these errors were encountered: