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] Can't check API status on Android after manually adding API in the plugin options #177

Open
GrimmDrippah opened this issue Feb 26, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@GrimmDrippah
Copy link

Describe the bug
After manually typing the API in the plugin options, an error comes up: "unexpected token: '<', "<a href = "h"... is not valid JSON"

To Reproduce

  1. In android, go into the Obsidian settings.
  2. Scroll down until the separate settings for each community plugin is seen.
  3. Go into "Syncthing Integration" settings.
  4. Manually type in API key from other device (in my case, Linux Mint laptop).
  5. Click on "Check API Status".
  6. Error is shown.

Expected behavior
I expected to see a "pong" message received from the API check, just like how it does on my Linux system.

Screenshot
Screenshot_20240227-000603_Obsidian

Desktop:

  • OS: Linux Mint
  • Browser: Firefox
  • Version: 21.3 Cinnamon

Smartphone:

  • Device: Poco F5
  • OS: Android
  • Browser: Firefox
  • Version: 14
@GrimmDrippah GrimmDrippah added the bug Something isn't working label Feb 26, 2024
@LBF38
Copy link
Owner

LBF38 commented Feb 27, 2024

Hi, thanks for the report !
I think that this should be resolved thanks to #102 . However, I haven't used it in a while on Android..
The plugin is more intended on desktop than mobile and development has been slowing down lately due to other projects/constraints.

I will take a closer look to this issue when I have more free time. Please expect some delay.
Thanks for your understanding

@GrimmDrippah
Copy link
Author

Of course! Take your time.

@GottZ
Copy link

GottZ commented Mar 25, 2024

can confirm the exact same error also exists when using http rather than https

@lone-faerie
Copy link

I got it to work by going into the Syncthing GUI and disabling TLS, and then setting the plugin to use http

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

4 participants