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

[BUG] Mobile support - not recognizing Syncthing installation #63

Open
LBF38 opened this issue Jun 26, 2023 · 6 comments
Open

[BUG] Mobile support - not recognizing Syncthing installation #63

LBF38 opened this issue Jun 26, 2023 · 6 comments
Assignees
Labels
bug Something isn't working

Comments

@LBF38
Copy link
Owner

LBF38 commented Jun 26, 2023

Describe the bug
The plugin seems to not be able to detect the Syncthing installation on mobile. Need to be worked on.

To Reproduce
Steps to reproduce the behavior:

  1. Install the plugin on mobile
  2. Enable it
  3. Go to the settings tab
  4. See error - Syncthing installation is not detected.

Expected behavior
The settings page should be able to be displayed normally, with Syncthing configuration available.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: Smartphone
  • OS: Android
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

@LBF38
Copy link
Owner Author

LBF38 commented Aug 28, 2023

The main issue on mobile is to make an HTTPS request without validating the certificate or finding a way to make the Syncthing self-signed certificate trusted by the device.

It seems that there is no API for making such calls within Obsidian. So, the second idea is to make the certificate trusted by the Syncthing app itself.
Link to Android documentation : https://developer.android.com/training/articles/security-config

@LBF38
Copy link
Owner Author

LBF38 commented Aug 28, 2023

This issue is strongly related to #102

@tobiasb
Copy link

tobiasb commented Oct 17, 2023

I'm seeing the same on iOS, before digging in further, is there even a chance that this would work on iOS?

Love that this plugin exists btw, would be really cool if we could make it work on iOS since there isn't another way to sync with Syncthing it seems.

@LBF38
Copy link
Owner Author

LBF38 commented Oct 17, 2023

@tobiasb the plugin should work as fine as on Android if you have a Syncthing iOS app exposing the Syncthing REST API.
This issue is evolving to more the HTTPS certificate issue (#102) on mobile as it is harder to trust a certificate than on desktop.

I don't have any Apple device so I can't test the plugin on these platforms.
Please test it and provide feedback by opening an issue specific for iOS.
Thx !

PS: link to related discussion (#133)

@tobiasb
Copy link

tobiasb commented Oct 17, 2023

Gotcha, thanks for the link to #133, I'll continue the discussion there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: 📋 Backlog
Development

No branches or pull requests

2 participants